Hi All,
I am using asp.net,C#,VS 2005,and sql server 2005
I have created a setup file for my web project...
I have also installed IIS in my PC..
my database (.mdf) file is in App_Data folder
I have installed my project now ...
my web.config contains the following connection string:
<connectionStrings>
<add name="conStr" connectionString="Trusted_Connection=true;pwd=;Initial Catalog=CLINICAL;Data Source=(local)" providerName="System.Data.SqlClient"/>
</connectionStrings>
But when i type http://localhost/WebSetup1/Firstpage.aspx
It will display a page..
But when i click on page that contains connection with the database it is not shown or executed..
It will give error message like Login Failed to KARAN\ASPNET..
but if i run from Visual studio no problem at all..Its working properly..
I have installed sql server in my pC.
In short : database connection is not established.. or data is not fetched from the database..
Please help me ....
Thanks in Advance.
regards
karan