I made my initial attempt to host an ASP.NET 2.0 application under IIS 5.1 on my development machine. The Application was the SubSonic 2.0 Beta 3 SubSonicCentral demonstration site. Normally I use the ASP.NET Development Server for this sort of thing, but I got tired of loading up the SubSonic solution in VS 2005 just to view this site - VS 2005 is a resource hog like no other. Anyhow, I ran into issues, and found solutions. Posting them here so I can reference them later if need be.
Issue the First: App-Domain could not be created. Error: 0x80131902
This error shows up in the Application Event Log under Administrative Tools -- Event Log. The actual message given to you in your browser tells you the "Site is Unavailable" and tells the administrator to look at the Event log. Solved this by following these instructions (Jonathon's Blog) - note: I got some error messages during the "aspnet_regiss.exe" steps, but they didn't seem to affect the outcome.
Issue the Second: Could not access database "Northwind" with user login ADAM-IMS\ASPNET
In VS 2005 ASP.NET Development Server, the .NET process tries to access the SQL Server Express instance using my login account (ADAM-IMS\Owner). IIS uses the ASPNET account. One simply needs to add a Login in the SQL Server Management Studio, and then give the user permissions on the Database.
Technorati Tags: asp.net, iis, microsoft
Issue the First: App-Domain could not be created. Error: 0x80131902
This error shows up in the Application Event Log under Administrative Tools -- Event Log. The actual message given to you in your browser tells you the "Site is Unavailable" and tells the administrator to look at the Event log. Solved this by following these instructions (Jonathon's Blog) - note: I got some error messages during the "aspnet_regiss.exe" steps, but they didn't seem to affect the outcome.
Issue the Second: Could not access database "Northwind" with user login ADAM-IMS\ASPNET
In VS 2005 ASP.NET Development Server, the .NET process tries to access the SQL Server Express instance using my login account (ADAM-IMS\Owner). IIS uses the ASPNET account. One simply needs to add a Login in the SQL Server Management Studio, and then give the user permissions on the Database.
Technorati Tags: asp.net, iis, microsoft
1 comment:
Great idea! I'm always trying to remember what to replace _AFXDLL with when I switch to dynamic linkage... and a dozen other things like that. I just need a blog I can search!
Post a Comment