PC Review


Reply
Thread Tools Rate Thread

Any change I make to web.config gives server application unavailable error!

 
 
Andy
Guest
Posts: n/a
 
      8th Jun 2007
If I open, edit and save the web.config file directly on the
webserver, the
web server becomes unavailable. When I reset IIS, I get the 'Server
Application Unavailable' message appear for that web site. The change
being
made was minor, and worked locally.

Restarting IIS or the server has no affect.
Deleting the Temporary ASP.NET files has no effect.

The only way to resolve it is to create an identical web site in IIS,
pointing to exactly the same code, with the revised web.config.

This has happened to me twice now.

I am using Windows Server 2003 Web Edition and asp.net 1.1.

Any ideas? Thanks!

 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      8th Jun 2007
On Jun 8, 10:14 am, Andy <servie...@gmail.com> wrote:
> If I open, edit and save the web.config file directly on the
> webserver, the
> web server becomes unavailable. When I reset IIS, I get the 'Server
> Application Unavailable' message appear for that web site. The change
> being
> made was minor, and worked locally.
>
> Restarting IIS or the server has no affect.
> Deleting the Temporary ASP.NET files has no effect.
>
> The only way to resolve it is to create an identical web site in IIS,
> pointing to exactly the same code, with the revised web.config.
>
> This has happened to me twice now.
>
> I am using Windows Server 2003 Web Edition and asp.net 1.1.
>
> Any ideas? Thanks!


maybe something with permissions on the web.config file?

 
Reply With Quote
 
Shane Bauer
Guest
Posts: n/a
 
      8th Jun 2007
Hello andy,

Do you have access to the Event Viewer? If so, there should be a message
detailing the problem.

Shane

> If I open, edit and save the web.config file directly on the
> webserver, the
> web server becomes unavailable. When I reset IIS, I get the 'Server
> Application Unavailable' message appear for that web site. The change
> being
> made was minor, and worked locally.
> Restarting IIS or the server has no affect.
> Deleting the Temporary ASP.NET files has no effect.
> The only way to resolve it is to create an identical web site in IIS,
> pointing to exactly the same code, with the revised web.config.
>
> This has happened to me twice now.
>
> I am using Windows Server 2003 Web Edition and asp.net 1.1.
>
> Any ideas? Thanks!
>



 
Reply With Quote
 
bruce barker
Guest
Posts: n/a
 
      8th Jun 2007
most likely you have pages that reference each other without explicit
reference directive on the page. during the local compile, if they are
compiled in the same batch ok, else fail. this is because asp.net
compiles several pages into the same dll (a batch), so pages that end up
in the same batch can reference each other. if they end up in different
dlls they can not unless an explicit reference is specified.

you should check the application log to see the actual error.

-- bruce (sqlwork.com)

Andy wrote:
> If I open, edit and save the web.config file directly on the
> webserver, the
> web server becomes unavailable. When I reset IIS, I get the 'Server
> Application Unavailable' message appear for that web site. The change
> being
> made was minor, and worked locally.
>
> Restarting IIS or the server has no affect.
> Deleting the Temporary ASP.NET files has no effect.
>
> The only way to resolve it is to create an identical web site in IIS,
> pointing to exactly the same code, with the revised web.config.
>
> This has happened to me twice now.
>
> I am using Windows Server 2003 Web Edition and asp.net 1.1.
>
> Any ideas? Thanks!
>

 
Reply With Quote
 
Andy
Guest
Posts: n/a
 
      12th Jun 2007
Thanks everyone.

There is nothing in the Application Log at all unfortunately

I do have 2 aspx pages that reference the same code behind page -
would that have an effect?

Bruce could you elaborate on your suggestion, it sounds like a
possibility..

I have inherited this site, and although it is substantially better
than it was, there is still some unusual stuff going on!

On 8 Jun, 16:03, bruce barker <nos...@nospam.com> wrote:
> most likely you have pages that reference each other without explicit
> reference directive on the page. during the local compile, if they are
> compiled in the same batch ok, else fail. this is because asp.net
> compiles several pages into the same dll (a batch), so pages that end up
> in the same batch can reference each other. if they end up in different
> dlls they can not unless an explicit reference is specified.
>
> you should check the application log to see the actual error.
>
> -- bruce (sqlwork.com)
>
> Andy wrote:
> > If I open, edit and save the web.config file directly on the
> > webserver, the
> > web server becomes unavailable. When I reset IIS, I get the 'Server
> > Application Unavailable' message appear for that web site. The change
> > being
> > made was minor, and worked locally.

>
> > Restarting IIS or the server has no affect.
> > Deleting the Temporary ASP.NET files has no effect.

>
> > The only way to resolve it is to create an identical web site in IIS,
> > pointing to exactly the same code, with the revised web.config.

>
> > This has happened to me twice now.

>
> > I am using Windows Server 2003 Web Edition and asp.net 1.1.

>
> > Any ideas? Thanks!



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Application Unavailable Error ? Luqman Microsoft ASP .NET 2 20th Feb 2006 09:35 AM
HELP: Server Application Unavailable Error Nobody Microsoft ASP .NET 1 23rd Aug 2004 07:34 PM
Error: Server Application Unavailable Nobody Microsoft ASP .NET 5 20th Aug 2004 03:46 PM
Server Application Unavailable error - HELP! Bob H Microsoft ASP .NET 4 17th Mar 2004 02:58 AM
Server Application Unavailable Error Kaveri Microsoft Dot NET 0 8th Sep 2003 12:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:22 PM.