I am trying to deploy an ASP.NET web application locally, for testing purposes. I can view the site through a web browser; however, when I try to use the user login, I get the following errors:
- Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.
I have gotten this error before, but for a different reason. I got it when initially trying to deploy the application, and used this,
…to solve my problem, which worked. It does not work in this case, and I’m not sure why. My first thought was that I was targeting the wrong database, but I don’t think that was the issue.
- The other error that I’m getting has something to do with “NETWORK SERVICE” permissions, although I can’t replicate that at the moment. I have modified permissions for both the “App_Data” folder and its parent under the application directory in wwwroot.
I believe this to be a SQL Server issue. I am using:
- SQL Server 2008 Express
- IIS7
- Visual Studio 2010 Professional
I may be deploying to earlier version of IIS upon project completion.
The application from wwwroot:
http://dl.dropbox.com/u/5989060/MSM.zip
Any suggestions would be appreciated. Thank you!
- Ryan Jackson
P.S. I am also creating a web application setup project, to make it easy for the end-user to set up the application on her PC. I am having some problems with that also. If anyone has any suggestions on that, or deploying a web application in general, please message me or post links to helpful articles.