Group:  English: Windows Server ยป microsoft.public.windows.server.sbs
Thread: Remote Web Access ASP.NET Error

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Remote Web Access ASP.NET Error
"SMC" <mmcelrath[ at ]earthlink.net> 22.06.2007 13:39:05
I'm getting the following error on my SBS 2003 Prem. Server when I attempt
to log in from the outside using RWA:

Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event Category: None
Event ID: 1062
Date: 6/22/2007
Time: 5:47:25 AM
User: N/A
Computer: SERVER
Description:
It is not possible to run two different versions of ASP.NET in the same IIS
process. Please use the IIS Administration Tool to reconfigure your server
to run the application in a separate process.

In the browser I see the following error:

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.

VPN and Outlook access to the SBS Exchange/Server works ok.

Changing the 'companyweb' in IIS to ASP.NET 1.1.4322.0 from ASP.NET 2.0
restores RWA but then I loose access to my internal company web site
(http://companyweb/default.aspx).

What to I need to do to get this working correctly again?

Thanks, Mike


Re: Remote Web Access ASP.NET Error
"Costas" <cpstechgroup[ at ]gmail.com> 22.06.2007 14:23:50
Check the Application Pool entry under 'Home Directory' to be set to
'DefaultAppPool' in 'companyweb'. There must be a mix up with the
application pools that is causing this error

Costas


"SMC" <mmcelrath[ at ]earthlink.net> wrote in message
news:%23XmY$KNtHHA.1208[ at ]TK2MSFTNGP05.phx.gbl...
[Quoted Text]
> I'm getting the following error on my SBS 2003 Prem. Server when I attempt
> to log in from the outside using RWA:
>
> Event Type: Error
> Event Source: ASP.NET 1.1.4322.0
> Event Category: None
> Event ID: 1062
> Date: 6/22/2007
> Time: 5:47:25 AM
> User: N/A
> Computer: SERVER
> Description:
> It is not possible to run two different versions of ASP.NET in the same
> IIS process. Please use the IIS Administration Tool to reconfigure your
> server to run the application in a separate process.
>
> In the browser I see the following error:
>
> 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.
>
> VPN and Outlook access to the SBS Exchange/Server works ok.
>
> Changing the 'companyweb' in IIS to ASP.NET 1.1.4322.0 from ASP.NET 2.0
> restores RWA but then I loose access to my internal company web site
> (http://companyweb/default.aspx).
>
> What to I need to do to get this working correctly again?
>
> Thanks, Mike
>

Re: Remote Web Access ASP.NET Error
"Brian Cryer" <brianc[ at ]127.0.0.1.activesol.co.uk> 22.06.2007 14:28:44
"SMC" <mmcelrath[ at ]earthlink.net> wrote in message
news:%23XmY$KNtHHA.1208[ at ]TK2MSFTNGP05.phx.gbl...
[Quoted Text]
> I'm getting the following error on my SBS 2003 Prem. Server when I attempt
> to log in from the outside using RWA:
>
> Event Type: Error
> Event Source: ASP.NET 1.1.4322.0
> Event Category: None
> Event ID: 1062
> Date: 6/22/2007
> Time: 5:47:25 AM
> User: N/A
> Computer: SERVER
> Description:
> It is not possible to run two different versions of ASP.NET in the same
> IIS process. Please use the IIS Administration Tool to reconfigure your
> server to run the application in a separate process.
>
> In the browser I see the following error:
>
> 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.
<snip>

1. Open up Internet Information Services (IIS) Manager
2. Expand the server
3. Expand Application Pools.
4. You probably only have one appliaction pool - "DefaultAppPool". You will
need to create a second applciation pool for .NET2. Right click "Application
Pools", select "New", I'd suggest calling it "AppPool for .NET 2". Default
settings is probably fine.
5. Under "Web Sites" visit each of your websites (and applications in those
websites) in turn and those that use .NET 2 open up the properties and on
the "Home" (or "Home Directory") and change the Application pool to your
newly created application pool - "AppPool for .NET 2".

That should be it. Basically whilst mixing ASP.NET 2 and 1.1 (and 1.0)
applications isn't a problem on a workstation, you get this error on a
server. I think Microsoft call it progress ... and I'm sure there is some
benefit, but the bottom line is that .NET 2 applications need to run in a
separate pool.

That should solve the error. I think (but not entirely sure here so could be
wrong) that all the default websites listed in IIS when first installed on
SBS all use ASP.NET 1.1.4322. Its likley that someone has installed another
application on your server which uses .NET 2. Its that application you need
to find to set it to use a different pool.

Hope this helps.
--
Brian Cryer
www.cryer.co.uk/brian


Re: Remote Web Access ASP.NET Error
"SMC" <mmcelrath[ at ]earthlink.net> 22.06.2007 15:27:09
It worked!

I had tried this before, but I did not reboot the server so it did not
'take'. I now know all the 'ins' and 'outs' on getting the Autodesk 2008
Vault to work on a SBS2003 Perm. Server.

Thanks, Mike

"Brian Cryer" <brianc[ at ]127.0.0.1.activesol.co.uk> wrote in message
news:eaFEnmNtHHA.1208[ at ]TK2MSFTNGP05.phx.gbl...
[Quoted Text]
> "SMC" <mmcelrath[ at ]earthlink.net> wrote in message
> news:%23XmY$KNtHHA.1208[ at ]TK2MSFTNGP05.phx.gbl...
>> I'm getting the following error on my SBS 2003 Prem. Server when I
>> attempt to log in from the outside using RWA:
>>
>> Event Type: Error
>> Event Source: ASP.NET 1.1.4322.0
>> Event Category: None
>> Event ID: 1062
>> Date: 6/22/2007
>> Time: 5:47:25 AM
>> User: N/A
>> Computer: SERVER
>> Description:
>> It is not possible to run two different versions of ASP.NET in the same
>> IIS process. Please use the IIS Administration Tool to reconfigure your
>> server to run the application in a separate process.
>>
>> In the browser I see the following error:
>>
>> 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.
> <snip>
>
> 1. Open up Internet Information Services (IIS) Manager
> 2. Expand the server
> 3. Expand Application Pools.
> 4. You probably only have one appliaction pool - "DefaultAppPool". You
> will need to create a second applciation pool for .NET2. Right click
> "Application Pools", select "New", I'd suggest calling it "AppPool for
> .NET 2". Default settings is probably fine.
> 5. Under "Web Sites" visit each of your websites (and applications in
> those websites) in turn and those that use .NET 2 open up the properties
> and on the "Home" (or "Home Directory") and change the Application pool to
> your newly created application pool - "AppPool for .NET 2".
>
> That should be it. Basically whilst mixing ASP.NET 2 and 1.1 (and 1.0)
> applications isn't a problem on a workstation, you get this error on a
> server. I think Microsoft call it progress ... and I'm sure there is some
> benefit, but the bottom line is that .NET 2 applications need to run in a
> separate pool.
>
> That should solve the error. I think (but not entirely sure here so could
> be wrong) that all the default websites listed in IIS when first installed
> on SBS all use ASP.NET 1.1.4322. Its likley that someone has installed
> another application on your server which uses .NET 2. Its that application
> you need to find to set it to use a different pool.
>
> Hope this helps.
> --
> Brian Cryer
> www.cryer.co.uk/brian
>
>


Re: Remote Web Access ASP.NET Error
GeraldF <me[ at ]somewhere.com> 29.06.2007 04:35:49
In article <eaFEnmNtHHA.1208[ at ]TK2MSFTNGP05.phx.gbl>,
brianc[ at ]127.0.0.1.activesol.co.uk says...

[Quoted Text]
> > 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.
> <snip>

When I create the new application pool and apply it to
the company web I replace the above error with:
"You are not authorized to view this page" HTTP error
403.

Any suggestions?
Re: Remote Web Access ASP.NET Error
"Brian Cryer" <brianc[ at ]127.0.0.1.activesol.co.uk> 29.06.2007 09:07:34

"GeraldF" <me[ at ]somewhere.com> wrote in message
news:MPG.20ee2bdc592620a79896bc[ at ]news.microsoft.com...
[Quoted Text]
> In article <eaFEnmNtHHA.1208[ at ]TK2MSFTNGP05.phx.gbl>,
> brianc[ at ]127.0.0.1.activesol.co.uk says...
>
>> > 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.
>> <snip>
>
> When I create the new application pool and apply it to
> the company web I replace the above error with:
> "You are not authorized to view this page" HTTP error
> 403.
>
> Any suggestions?

On my SBS server companyweb is set to use the "DefaultAppPool". I suggest
you leave it set to that and identify which web site is using .NET 2 and
change that one instead.

If you need a list of the default settings for each of the standard
web-sites that come with SBS then post back. I don't think I've changed any
of them on my SBS box so could list them off - if it helps.
--
Brian Cryer
www.cryer.co.uk/brian


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net