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..
I have installed my project ...
my web.config contains the following connection string:
<appSettings/>
<connectionStrings>
<add name="conStr" connectionString="DATABASE=CLINICAL;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|CLINICAL.mdf;User Instance=true"
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.. when i do click on insert button...
I have installed sql server in my pC.
In short : database connection is not established..
Please help me in this regard.
Thanks in Advance.
regards
karan