I'm using Windows 7 Home Premium with VWD 2010 Express and Visual Studio 2010 Express SP1 and SQL Server 2008 R2 Express. I have developed a small
VB application following the steps outlined in the book which is truly excellent.
I proceeded successfully to Chapter 19 Deploying Your Web Site and was able to use IIS 7.5 having set the correct file permissions outlined in the book. This included logging in to the site using the standard Login facilities with the aspnetdb database. I then decided to install Management Studio to enable me to inspect table data but having done this I found that I could no longer access SQL SERVER Express. The error was:
"System.Data.SqlClient.SqlException: Failed to generate a user instance of SQL Server due to a failure in impersonating the client."
I checked the Microsoft documentation and found that the message is associated with Error Number 15369 with a Severity Code of 16 which apparently means the error can be corrected by the user. However there is no further explanation on the reason for the error or what needs to be done.
Today I have recreated the Website on a different physical path and following Chapter 19 to the letter. (I have deliberately not employed Management Studio as this seems to have provoked the error.) The aspx pages are again displayed correctly but login fails with the same error. The Web.config file is the one I have used throughout development with both the internal Web Server and IIS 7.5 Express, both of which continue to function without problem with SQL Server Express.
I have searched High and Low for a possible explanation but have failed to find one. I would be most grateful for any advice on how to proceed as I'm stuck!