Last post Sep 09, 2010 08:55 PM by mystical_potato
Aug 27, 2010 09:22 PM|mystical_potato|LINK
From Windows Server 2003 Std Ed SP, 32 bit VMWare Virtual Server
.Net Framework v1.1.4322
When attempting to run a hello world aspx page it fails to load returning the message "Server Application Unavailable". The application even viewer logged the following:
Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event Category: None
Event ID: 1088
Failed to execute request because the App-Domain could not be created.
Error: 0x80070002 The system cannot find the file specified.
I tried to run aspnet_regiis.exe -i, rebooted but this did not work.
I tried to uninstall, reboot, reinstall .net from the Windows component section of Add/Remove Programs.
Does anybody have any ideas?
Sep 03, 2010 04:44 AM|kctt|LINK
"Server Application Unavailable" means IIS application is not running.
Make sure you allocate read permission for Network Service / IIS Guest user to website folder.
Sep 03, 2010 07:33 PM|mystical_potato|LINK
I gave IUSR, IWAM AND Everyone full control on the web site's root folder and replaced all permissions on child objects (in this case my hello world site only has one file (default.aspx)). This did not work. A posting from
www.iis.net recommended running Process Monitor. After trying to pull the page up again the following errors were found.
Do any of these errors seem like they would prevent .net pages from displaying?
I ran PerfMon and didn't see anything that stuck out (in my mind). The following were "Name Not Found" and "Path Not Found" errors that were recorded when I attempted to pull default.aspx up from another machine.
Name Not Found:
aspnet_wp.exe QueryOpen D:\WebSites\test\web.manifest
aspnet_wp.exe RegQueryValue HKU\S-1-5-21-487817427-2246950528-3607342751-1007\Software\Microsoft\.NETFramework
aspnet_wp.exe RegQueryValue HKLM\SOFTWARE\Microsoft\.NETFramework\IgnoreSerializationBit
aspnet_wp.exe RegOpenKey HKU\S-1-5-21-487817427-2246950528-3607342751-1007\Software\Microsoft\.NETFramework
aspnet_wp.exe RegQueryValue HKLM\SOFTWARE\Microsoft\.NETFramework\LogNonSerializable
aspnet_wp.exe RegQueryValue HKLM\SOFTWARE\Microsoft\Fusion\LogPath
aspnet_wp.exe QueryOpen D:\WebSites\test\web.config
aspnet_wp.exe CreateFile C:\WINDOWS\assembly\GAC\PublisherPolicy.tme
aspnet_wp.exe QueryOpen C:\Documents and Settings\CSCDICHECK04\ASPNET\Local Settings\Application Data\ApplicationHistory\d6907287.bf16b455.ini
aspnet_wp.exe CreateFile C:\Documents and Settings\CSCDICHECK04\ASPNET\Local Settings\Application Data\ApplicationHistory\d6907287.bf16b455.ini
aspnet_wp.exe QueryOpen C:\WINDOWS\assembly\GAC\policy.1.0.System.Web
aspnet_wp.exe QueryOpen C:\WINDOWS\assembly\GAC\System.Web\1.0.5000.0__b03f5f7f11d50a3a
aspnet_wp.exe RegOpenKey HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-21-487817427-2246950528-3607342751-1007\Installer\Assemblies\C:|WINDOWS|Microsoft.NET|Framework|v1.1.4322|aspnet_wp.exe
aspnet_wp.exe RegOpenKey HKU\S-1-5-21-487817427-2246950528-3607342751-1007\Software\Microsoft\Installer\Assemblies\C:|WINDOWS|Microsoft.NET|Framework|v1.1.4322|aspnet_wp.exe
aspnet_wp.exe RegOpenKey HKCR\Installer\Assemblies\C:|WINDOWS|Microsoft.NET|Framework|v1.1.4322|aspnet_wp.exe
aspnet_wp.exe RegOpenKey HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-21-487817427-2246950528-3607342751-1007\Installer\Assemblies\Global
aspnet_wp.exe RegOpenKey HKU\S-1-5-21-487817427-2246950528-3607342751-1007\Software\Microsoft\Installer\Assemblies\Global
aspnet_wp.exe RegOpenKey HKCR\Installer\Assemblies\Global
Path Not Found:
aspnet_wp.exe QueryOpen C:\Documents and Settings\CSCDICHECK04\ASPNET\Local Settings\Application Data\assembly\dl2\VZ4KXM8V.O0L\JBK48XG1.OZM
aspnet_wp.exe QueryOpen D:\WebSites\test\bin\System.Web.DLL
aspnet_wp.exe QueryOpen D:\WebSites\test\bin\System.Web\System.Web.DLL
aspnet_wp.exe QueryOpen D:\WebSites\test\bin\System.Web.EXE
aspnet_wp.exe QueryOpen D:\WebSites\test\bin\System.Web\System.Web.EXE
Sep 04, 2010 01:16 PM|kctt|LINK
Website home folder is located at "D:\WebSites\test\" ?
Have you checked existence of the files listed in Path Not Found error.
Sep 07, 2010 04:25 PM|mystical_potato|LINK
Sorry, I should have provided more details. I was trying to get out for the holiday weekend!
The root folder of the website is correct.
For files like \web.manifest, \web.config and \bin\*.* which do not extist, I can get a test site up and running on other servers without these files. So simply having one file (default.aspx) should work fine.
For files in C:\Documents and Settings\CSCDICHECK04\ASPNET\Local Settings\Application Data\ApplicationHistory I verified that the aspnet account has full control over the folder so it should not be permissions related. As for the files aspnet_wp.exe is
looking for (d6907287.bf16b455.ini) I don't see it there but other files do exists.
For the errors located in C:\WINDOWS\assembly\GAC\*.* I checked for the existence of the files but I don't have a GAC folder let alone any of the files. I checked two other servers in my environment that can server up asp.net pages and they don't have
a GAC folder either.
The only thing unusual about my IIS configuration is that I'm running is IIS 5.0 isolation mode for a legacy classic asp web site (at the request of the vendor). However, I do have the same configuration up and running on another box.
I'm at a loss.
Sep 07, 2010 09:39 PM|gabriel.lozano-moran|LINK
Run Process Monitor to see what file is actually missing:
Sep 08, 2010 01:26 PM|mystical_potato|LINK
I ran Process Monitor and listed the results above in a previous post (09-03-2010, 2:33 PM). In a subsuquent post I broke down what I found on the server (09-07-2010). I didn't see any files that would be required. Files like <site root>\web.manifest,
\web.config and \bin\*.* which Process Monitor listed as Name Not Found should not be required to display a hello world site.
Sep 08, 2010 01:38 PM|gabriel.lozano-moran|LINK
Are you sure that the .NET Framework 1.1 installation is not just corrupted? Have you tried to repair it? And do you always get this error or just once in a while?
Sep 08, 2010 01:46 PM|mystical_potato|LINK
I tried to uninstall, reboot, reinstall .net from the Windows component section of Add/Remove Programs but that didn't work either.
Sep 08, 2010 01:56 PM|gabriel.lozano-moran|LINK
Can you try one more thing, enable Assembly Binding Log Viewer to see if there is an assembly missing or not:
Have you tried completely removing IIS and reinstalling it?
Sep 09, 2010 08:55 PM|mystical_potato|LINK
Thanks for suggesting running fuslogvw.exe I've never used/heard of this tool before. The following is what was logged after running pulling up the default page of the site. I don't see anything weird except for aspnet_wp.exe was looking for files in
file:///D:/WebSites/test/bin/*.*. It makes sense that it fails because I don't have a bin directory. I'm just not sure why it is looking for those files there. I've never had system.web files located in the bin
dir. Any thougths?
*** Assembly Binder Log Entry (9/9/2010 @ 3:35:55 PM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_wp.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Appbase = file:///D:/WebSites/test
LOG: Initial PrivatePath = bin
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = d6907287
Calling assembly : (Unknown).
LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Attempting application configuration file download.
LOG: Download of application configuration file was attempted from file:///D:/WebSites/test/web.config.
LOG: Application configuration file does not exist.
LOG: Publisher policy file is not found.
LOG: Using host configuration file: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config
LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Cache Lookup was unsuccessful.
LOG: Attempting download of new URL file:///D:/WebSites/test/bin/System.Web.DLL.
LOG: Attempting download of new URL file:///D:/WebSites/test/bin/System.Web/System.Web.DLL.
LOG: Attempting download of new URL file:///D:/WebSites/test/bin/System.Web.EXE.
LOG: Attempting download of new URL file:///D:/WebSites/test/bin/System.Web/System.Web.EXE.
LOG: All probing URLs attempted and failed.