954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Problem in deploying asp.net application in windows 2003

Dear Friends,

I devloped a web application in ASP.NET/ Sql Server 2008 and tested in development pc. It is working fine. But when it is deployed in Server running windows 2003/ IIS 6/ Sql Server 2005 and 2008, it is giving access error. "Error 26. Cannot access the database".

I am forms authentication.
Hence need aspnetdb.mdf file and is stored in app_data/ aspnetdb.mdf.

My connection string is attached:

<add name="ASPNET_Connection" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"
      providerName="System.Data.SqlClient" />


Please help me in this issue.
Thanking you in advance.

nebyas
Newbie Poster
18 posts since May 2010
Reputation Points: 8
Solved Threads: 4
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You