Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Only ASPX (HTML) file run through virtual directory but when connect to database it doesn't find web.config connection.
<appsettings>
<add key="xxxx" value="data source=xxx.xxx.x.xxx\SQLEXPRESS; Persist Security Info=True; initial catalog=database_name; integrated security=true;">

I am using this connection
XML
Collapse | Copy Code
<appSettings>
     <add key="xxxxx" value="data source=xxx.xxx.x.xxx\SQLEXPRESS; Persist Security Info=True; initial catalog=database_name; integrated security=true;" />
<add key="CrystalImageCleaner-AutoStart" value="true" />
    <add key="CrystalImageCleaner-Sleep" value="60000" />
    <add key="CrystalImageCleaner-Age" value="120000" />
</appSettings>
Posted
Updated 11-Apr-12 19:37pm
v5
Comments
member60 12-Apr-12 1:32am    
use improve question question tag for modifying or adding details instead of adding another post
Mas11 12-Apr-12 1:37am    
Ok..

1 solution

Hi,

use following links to deploy web application in virtual directory
http://www.advancedinstaller.com/user-guide/tutorial-iis.html[^]
Best Luck
 
Share this answer
 
Comments
Mas11 12-Apr-12 1:19am    
Dear Nilesh i have created a virtual directory & it run, but when i fire a event of page it dont find a database connection. I write a code below..
<appsettings>
<add key="xxxx" ;="" value="data source=xxx.xxx.x.xxx\SQLEXPRESS; Persist Security Info=True; initial catalog=database_name; integrated security=true;" &lt;="" pre="">

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900