Wrox Programmer Forums
|
BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 25th, 2009, 11:23 PM
Registered User
 
Join Date: Aug 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Server Application Unavailable - CHp12

I have created a virtual directory PaidTimeOff which looks at the Projects directory under VS2008 projects.

When I try to run the application I get the 'Server Application Unavailable' message.

Is there anything I am missing here.

thanks in advance
 
Old August 30th, 2009, 12:51 AM
Registered User
 
Join Date: Aug 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Even I got the same problem. I tried changing the settings of the virtual directory associated with IIS. But, the problem persists.

The event log has recorded the error as:
aspnet_wp.exe could not be started. The error code for the failure is 80004005. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that the ACLs on the installation directory allow access to the configured account.


I understand that permissions need to be set for the working project. But, I'm unable to figure this out.
 
Old August 30th, 2009, 02:10 AM
Registered User
 
Join Date: Aug 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I also got the same error message in the event log but there was another one before it about the aspnet account not being able to access the GAC. My fix was to right click on the virtual directory in IIS >Tasks>permission wizard and allow all permissions. This got it working for me.
 
Old August 31st, 2009, 03:58 PM
Registered User
 
Join Date: Aug 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried changing the permissions on the virtual directory in IIS V5.1, in the permission wizard, by doing the following:

1.Select new security settings from a template.
2.Select Public web-site scenario.
3.Replace all directory and file permissions.
4.Security settings are included.

But, this doesn't seem to work. It would be great if you could tell me if this is incorrect.
 
Old August 31st, 2009, 06:02 PM
Registered User
 
Join Date: Aug 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did the same but selected for a secure web site not a public website. That worked for me.
 
Old September 1st, 2009, 03:57 PM
Registered User
 
Join Date: Aug 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, I tried even this. But, in vain
Also, I realized that I installed IIS V5.1, after installing Visual Studio .NET 2008. So, I am trying to fix this issue.
If you have any suggestions, please let me know.
 
Old September 1st, 2009, 10:49 PM
Registered User
 
Join Date: Aug 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I could get this problem solved by repairing the Visual Studio 2008. Thanks MickB.

However, I get an unhandled exception during the execution of the current web request, with the following details:

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error: (in Globals.cs)

Line 61: {
Line 62: ENTUserAccountEOList users = new ENTUserAccountEOList();
Line 63: users.Load();
Line 64:
Line 65: cache.Remove(CACHE_KEY_USERS);

Is there a possibility of getting rid of this, if I start with the next chapter, i.e. Exception Handling?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Application Unavailable td_ma ASP.NET 1.0 and 1.1 Basics 0 October 27th, 2008 03:15 AM
Online Diary - Server Application Unavailable LF BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 6 January 28th, 2008 05:29 AM
SERVER APPLICATION IS UNAVAILABLE msathyaprasad90 ASP.NET 1.0 and 1.1 Professional 4 June 24th, 2006 02:16 AM
Server Application Unavailable CraigJones ASP.NET 1.0 and 1.1 Basics 6 December 18th, 2003 11:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.