Question

Running ASP2.0 pages on Windows 2000 server

Asked by: ernartey

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.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2006-10-24 at 08:23:45ID22035748
Tags

application

,

error

Topic

Microsoft IIS Web Server

Participating Experts
4
Points
500
Comments
19

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Server Application Unavailable
    I'm running the .Net framework on my local machine, on Windows XP. It's been running without a hitch until this morning, when Windows ran an update. Since then, on launch, I get: Server Application Unavailable The web application you are attempting to access on this web s...
  2. Server Unavailable
    I have an asp.net application running on my local machine (WIN XP Pro). I attempted to access my pages this morning using localhost and received this error: Server Application Unavailable The web application you are attempting to access on this web server is currently unav...
  3. Server Unavailable
    Hello, Couple of sites running from my machine(windows XP2003 server) are not working suddenly I am getting the below mentioned error Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit t...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: carl_tawnPosted on 2006-10-24 at 09:08:22ID: 17797010

Sounds like either you don't have the 2.0 framework installed, or IIS is not configured to use it.

Browse to C:\Windows\Microsoft.NET\Framework and look for a folder named something like "v2.0.50727". If you find this then .Net 2.0 is installed, in which case you will need to run "aspnet_regiis -i" from that folder to register it with IIS.

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.

 

by: ernarteyPosted on 2006-10-24 at 09:23:18ID: 17797093

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.

 

by: carl_tawnPosted on 2006-10-24 at 09:37:07ID: 17797189

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.

 

by: ernarteyPosted on 2006-10-24 at 10:18:35ID: 17797517

Hi Carl:
           I run it  and aspnet  is intalled  however  I get  that  same  error. Regards .

                                                                         Ernest.

 

by: Dave_DietzPosted on 2006-10-24 at 10:26:48ID: 17797563

"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

 

by: ernarteyPosted on 2006-10-24 at 15:17:04ID: 17799849


Hi Guys :
             Can i be able to overcome  this problem  if  I install   windows2003 server  ? Regards .


                                                                                                        Ernest.

 

by: Dave_DietzPosted on 2006-10-24 at 16:05:08ID: 17800061

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

 

by: ernarteyPosted on 2006-10-24 at 17:27:34ID: 17800449

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.

 

by: Dave_DietzPosted on 2006-10-24 at 17:47:17ID: 17800530

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

 

by: ernarteyPosted on 2006-10-24 at 17:53:47ID: 17800554

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.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Access is denied.
StackTrace:    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(String assemblyName, String typeName)
   at System.AppDomain.CreateInstance(String assemblyName, String typeName)
   at System.AppDomain.CreateInstance(String assemblyName, String typeName)
   at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
   at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)

 

by: ernarteyPosted on 2006-10-24 at 17:55:30ID: 17800559

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.  

 

by: SimonBlakePosted on 2006-10-26 at 05:38:10ID: 17811185


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.

 

by: ernarteyPosted on 2006-10-26 at 07:36:20ID: 17812171


 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.

 

by: SimonBlakePosted on 2006-10-26 at 08:57:33ID: 17812854


Ok, if you are make sure you do it in the following order to save you potential hassle.

Install OS
Install Services (Application/Media and whatever else you might need)
Install .Net framework(s)
Then install service packs
Finally patches...

S.

 

by: ernarteyPosted on 2006-10-26 at 15:20:22ID: 17815774

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.

 

by: ernarteyPosted on 2006-11-01 at 09:10:22ID: 17851191

Hi Simon:
              Thanks  for  your help. Everything  working  good .Regards .

 

by: jalvarezcaPosted on 2008-09-11 at 08:52:23ID: 22451236

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

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...