ernartey
asked on
Running ASP2.0 pages on Windows 2000 server
Hi Guys :
I have finished an asp2.net project and i am trying to run it on IIS on windows 2000 server howver I get following error .Any help ?
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
I have finished an asp2.net project and i am trying to run it on IIS on windows 2000 server howver I get following error .Any help ?
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
ASKER
Hi Carl:
I did not find " aspnet_regiis -i".I found "aspnet_regiis.exe" and executed it however I still cant get it work.Regards .
Ernest.
I did not find " aspnet_regiis -i".I found "aspnet_regiis.exe" and executed it however I still cant get it work.Regards .
Ernest.
Sorry, obviously wasn't clear enough :o)
You need to run aspnet_regiis from a command prompt, the "-i" part is a command line switch for the exe. So you would need to open a command prompt, navigate to the 2.0 framework folder and then run:
"aspnet_regiis -i"
The "-i" is the switch that tells aspnet_regiis to install.
You need to run aspnet_regiis from a command prompt, the "-i" part is a command line switch for the exe. So you would need to open a command prompt, navigate to the 2.0 framework folder and then run:
"aspnet_regiis -i"
The "-i" is the switch that tells aspnet_regiis to install.
ASKER
Hi Carl:
I run it and aspnet is intalled however I get that same error. Regards .
Ernest.
I run it and aspnet is intalled however I get that same error. Regards .
Ernest.
"Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur."
May be a silly question, but what entries are shown in the Application event log?
Dave Dietz
May be a silly question, but what entries are shown in the Application event log?
Dave Dietz
ASKER
Hi Guys :
Can i be able to overcome this problem if I install windows2003 server ? Regards .
Ernest.
Maybe, maybe not - what entries are shown in the Application event log?
May very well be able to get it working if we can tell what error is being generated.....
Dave Dietz
May very well be able to get it working if we can tell what error is being generated.....
Dave Dietz
ASKER
Hi Dave :
The following is the error i get and where is the application log ? Regards.
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
The following is the error i get and where is the application log ? Regards.
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
Well, to get get to the event logs you can right-click on the "My Computer" icon and then select "Manage"
The event logs can be found there. Under System Tools there should be an entry for 'Event Viewer'. Expand this and click on 'Application'
Chances are that you will see some red stop-sign type icons in the listing. We are looking for one or more of these around the same time you experienced the error and will probably have 'w3wp', 'Application Error' or something like that.
Dave Dietz
The event logs can be found there. Under System Tools there should be an entry for 'Event Viewer'. Expand this and click on 'Application'
Chances are that you will see some red stop-sign type icons in the listing. We are looking for one or more of these around the same time you experienced the error and will probably have 'w3wp', 'Application Error' or something like that.
Dave Dietz
ASKER
Hi Dave :
This is of the most close error in the log
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1073
Date: 10/24/2006
Time: 11:47:00 AM
User: N/A
Computer: ERNEST
Description:
Failed to initialize the AppDomain:/LM/W3SVC/3/Root
Exception: System.IO.FileLoadExceptio n
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d 50a3a' or one of its dependencies. Access is denied.
StackTrace: at System.Reflection.Assembly .nLoad(Ass emblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly .InternalL oad(Assemb lyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly .InternalL oad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Activator.CreateIns tance(Stri ng assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateIns tance(Stri ng assemblyName, String typeName)
at System.AppDomain.CreateIns tance(Stri ng assemblyName, String typeName)
at System.AppDomain.CreateIns tance(Stri ng assemblyName, String typeName)
at System.Web.Hosting.Applica tionManage r.CreateAp pDomainWit hHostingEn vironment( String appId, IApplicationHost appHost, HostingEnvironmentParamete rs hostingParameters)
at System.Web.Hosting.Applica tionManage r.CreateAp pDomainWit hHostingEn vironmentA ndReportEr rors(Strin g appId, IApplicationHost appHost, HostingEnvironmentParamete rs hostingParameters)
This is of the most close error in the log
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1073
Date: 10/24/2006
Time: 11:47:00 AM
User: N/A
Computer: ERNEST
Description:
Failed to initialize the AppDomain:/LM/W3SVC/3/Root
Exception: System.IO.FileLoadExceptio
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d
StackTrace: at System.Reflection.Assembly
at System.Reflection.Assembly
at System.Reflection.Assembly
at System.Activator.CreateIns
at System.Activator.CreateIns
at System.AppDomain.CreateIns
at System.AppDomain.CreateIns
at System.Web.Hosting.Applica
at System.Web.Hosting.Applica
ASKER
Hi Dave :
This another one :
Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0x80070005 Access is denied.
This another one :
Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0x80070005 Access is denied.
Seen this before - your installation of .Net has gone squrily... Basically the IIS ASP.NET worker processes doesn't have access to the ".net global compiled program store" to use a simpler understandable phrase than "GAC".
For some reason this is stored inside the winnt insrtall directory and IIS accounts are by default prevented from accessing anything in there. I've seen this many times where .Net was installed before IIS was setup, or when a service pack has been installed on the system causing the permissions to either not get set correctly or have them removed.
You can prove this if you have access to the console and use filemon tool from http://www.sysinternals.com/FileAndDiskUtilities.html
If you run it and make a web request, you should see the path to the global assembly cache - it's path is made up from long strings of random chars known as guid's.
You can then go and add back the asp.net worker process to the read/write permissions on the folder.
An alternative if you don't have access or don't feel comfortable with this would be to get the 2.0 framework re-installed (after a uninstall) which should sort out the permissions.
S.
ASKER
Hi SimonBlake :
Thanks a lot .I am changing OS to window2003 server and 2.0 framework as well.I dont know why Microsoft can not make some these things very simple . Regards .
Ernie.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Simon:
Kindly clarify this thing for me . Is IIS5.0 compatible with web applications developed with Visual Studio 2005 ? Thus is i can run web services and etc on IIS5.0 . Regards .
Ernest.
Kindly clarify this thing for me . Is IIS5.0 compatible with web applications developed with Visual Studio 2005 ? Thus is i can run web services and etc on IIS5.0 . Regards .
Ernest.
ASKER
Hi Simon:
Thanks for your help. Everything working good .Regards .
Thanks for your help. Everything working good .Regards .
Hi, after almost 2 years I need help with this situation, because my client uses Windows 2000 server SP4 and IIS 6.0.
I told then to install the framework 2.0 and Ajax extencions.
Then created a new virtual directory and copy the web app to the directory in the server.
But when someone attemp to acces this new virtual directory from a browser they see the same message :
"Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur."
Checkin the event log of the web server, found his message:
"Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0x80070005 Access is denied. "
I know is something related with the ASPNET account, but this server uses an active directory and there is no Local Accounts.
Please Help Me
I told then to install the framework 2.0 and Ajax extencions.
Then created a new virtual directory and copy the web app to the directory in the server.
But when someone attemp to acces this new virtual directory from a browser they see the same message :
"Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur."
Checkin the event log of the web server, found his message:
"Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0x80070005 Access is denied. "
I know is something related with the ASPNET account, but this server uses an active directory and there is no Local Accounts.
Please Help Me
Browse to C:\Windows\Microsoft.NET\F
Finally you will need to go to the ASP.NET tab under the Virtual Directories properties and make sure that framework 2.0 is selected in the dropdown.