Showing posts with label machine. Show all posts
Showing posts with label machine. Show all posts

Saturday, March 31, 2012

Server side controls not visible!

I have an ASP.Net application. I first tested it by using my machine as a local host and it was working fine. My problems started the moment I posted my application on a web server.

1. Firstly all the controls (like buttons, labels) do not show up when I run the application on the web server

2. Secondly, I was wondering if I had to change something in the web.config file to make my application run.

Any help would be appreciated.

ThanksTry running

aspnet_regiis -i

From the start|Run on your server machine.

This should fix the problem.
you got that memorized too scostell? :p
sure do...when something as simple as that can fix a problem that drove me nuts for 3 days...you don't forget it! hahaha:D

Monday, March 26, 2012

Server side-error occurred on sending debug HTTP request.

I got a new machine this week. Prior to that, I backed up my WWWROOT folder.

Now I have the new machine, moved my files back.

I have one projet, though, that refuses to debug/launch:

================================================
Error while trying to run project: Unable to start debugging on the web
server. Server side-error occurred on sending debug HTTP request.

Make sure the server is operating correctly. Verify there are no syntax
errors in web.config by doing a Debug.Start Without Debugging. You may also
want to refer to the ASP.NET and ATL Server debugging topic in the online
documentation.
================================================

According to MS, the likely cause is a bad web.config file. However, this is
the same file that worked on my last machine, and it's the exact same file
currently running on our live server just fine.

So, could there be another culprit here? Anything else I should look at?

-DarrelIs your IIS configured right... You have to config your folder as a
application folder in the IIS
"darrel" <notreal@.nowhere.com> escreveu na mensagem
news:eVOxrZb1FHA.3256@.TK2MSFTNGP09.phx.gbl...
>I got a new machine this week. Prior to that, I backed up my WWWROOT
>folder.
> Now I have the new machine, moved my files back.
> I have one projet, though, that refuses to debug/launch:
> ================================================
> Error while trying to run project: Unable to start debugging on the web
> server. Server side-error occurred on sending debug HTTP request.
> Make sure the server is operating correctly. Verify there are no syntax
> errors in web.config by doing a Debug.Start Without Debugging. You may
> also want to refer to the ASP.NET and ATL Server debugging topic in the
> online documentation.
> ================================================
> According to MS, the likely cause is a bad web.config file. However, this
> is the same file that worked on my last machine, and it's the exact same
> file currently running on our live server just fine.
> So, could there be another culprit here? Anything else I should look at?
> -Darrel
Is it possible that you had the Web declared as an Application in IIS but
you have done that on the new machine?

Ken

Microsoft MVP [ASP.NET]

"darrel" <notreal@.nowhere.com> wrote in message
news:eVOxrZb1FHA.3256@.TK2MSFTNGP09.phx.gbl...
>I got a new machine this week. Prior to that, I backed up my WWWROOT
>folder.
> Now I have the new machine, moved my files back.
> I have one projet, though, that refuses to debug/launch:
> ================================================
> Error while trying to run project: Unable to start debugging on the web
> server. Server side-error occurred on sending debug HTTP request.
> Make sure the server is operating correctly. Verify there are no syntax
> errors in web.config by doing a Debug.Start Without Debugging. You may
> also want to refer to the ASP.NET and ATL Server debugging topic in the
> online documentation.
> ================================================
> According to MS, the likely cause is a bad web.config file. However, this
> is the same file that worked on my last machine, and it's the exact same
> file currently running on our live server just fine.
> So, could there be another culprit here? Anything else I should look at?
> -Darrel
> Is your IIS configured right... You have to config your folder as a
> application folder in the IIS

Yea. I dunno what happened. I destroyed all my project files, made a new
project, reimported all the files (including the web.config) and things were
back to normal.

Must have been a VS.net bug.

Surprise. ;o)

-Darrel

Server side-error occurred on sending debug HTTP request.

I got a new machine this w. Prior to that, I backed up my WWWROOT folder.
Now I have the new machine, moved my files back.
I have one projet, though, that refuses to debug/launch:
========================================
========
Error while trying to run project: Unable to start debugging on the web
server. Server side-error occurred on sending debug HTTP request.
Make sure the server is operating correctly. Verify there are no syntax
errors in web.config by doing a Debug.Start Without Debugging. You may also
want to refer to the ASP.NET and ATL Server debugging topic in the online
documentation.
========================================
========
According to MS, the likely cause is a bad web.config file. However, this is
the same file that worked on my last machine, and it's the exact same file
currently running on our live server just fine.
So, could there be another culprit here? Anything else I should look at?
-DarrelIs your IIS configured right... You have to config your folder as a
application folder in the IIS
"darrel" <notreal@.nowhere.com> escreveu na mensagem
news:eVOxrZb1FHA.3256@.TK2MSFTNGP09.phx.gbl...
>I got a new machine this w. Prior to that, I backed up my WWWROOT
>folder.
> Now I have the new machine, moved my files back.
> I have one projet, though, that refuses to debug/launch:
> ========================================
========
> Error while trying to run project: Unable to start debugging on the web
> server. Server side-error occurred on sending debug HTTP request.
> Make sure the server is operating correctly. Verify there are no syntax
> errors in web.config by doing a Debug.Start Without Debugging. You may
> also want to refer to the ASP.NET and ATL Server debugging topic in the
> online documentation.
> ========================================
========
> According to MS, the likely cause is a bad web.config file. However, this
> is the same file that worked on my last machine, and it's the exact same
> file currently running on our live server just fine.
> So, could there be another culprit here? Anything else I should look at?
> -Darrel
>
Is it possible that you had the Web declared as an Application in IIS but
you have done that on the new machine?
Ken
Microsoft MVP [ASP.NET]
"darrel" <notreal@.nowhere.com> wrote in message
news:eVOxrZb1FHA.3256@.TK2MSFTNGP09.phx.gbl...
>I got a new machine this w. Prior to that, I backed up my WWWROOT
>folder.
> Now I have the new machine, moved my files back.
> I have one projet, though, that refuses to debug/launch:
> ========================================
========
> Error while trying to run project: Unable to start debugging on the web
> server. Server side-error occurred on sending debug HTTP request.
> Make sure the server is operating correctly. Verify there are no syntax
> errors in web.config by doing a Debug.Start Without Debugging. You may
> also want to refer to the ASP.NET and ATL Server debugging topic in the
> online documentation.
> ========================================
========
> According to MS, the likely cause is a bad web.config file. However, this
> is the same file that worked on my last machine, and it's the exact same
> file currently running on our live server just fine.
> So, could there be another culprit here? Anything else I should look at?
> -Darrel
>
> Is your IIS configured right... You have to config your folder as a
> application folder in the IIS
Yea. I dunno what happened. I destroyed all my project files, made a new
project, reimported all the files (including the web.config) and things were
back to normal.
Must have been a VS.net bug.
Surprise. ;o)
-Darrel

Server Unavailable

Hi, I've encountered a problem when installing the .Net framework
version 1.0 on a Windows 2000 Server machine in a clustered
environment. After I install the framework and try to run a simple
ASP.Net web page I receive the following message in my web browser:

"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 system event log of the
web server. Please review this log entry to discover what caused this
error to occur."

When I check the event log it shows the following system error:

"Access denied attempting to launch a DCOM Server. The server is:
{000C101C-0000-0000-C000-000000000046}
The user is ASPNET/AGSESDWEB1,
SID=S-1-5-21-1060284298-1563985344-725345543-1011. "

I've looked around in the newsgroups and on the web and although
others have encountered the same error, no one seems to have a
straight answer or explanation except for it has to do with
permissions. Unfortunately the MSDN web site has little information on
this problem. It does have a fix for Windows XP, but not for Windows
2000 Server.

Can someone please explain what is causing this problem and exactly
how to rectify it. Any help is appreciated.

Also, please don't tell me to install version 1.1 of the .Net
framework as it has to be version 1.0

Thanks in Advance,
David Walker
EDS Canada

dwalke01@dotnet.itags.org.eds.comHi David,

Are you accessing any COM components from your code? Does a simple
HelloWorld.aspx page work?

If not the problem is most likely that one of the ASP.Net components doesn't
have rights although unless you've mucked iwth permissions or renamed
accounts this should nto be an issue.

The DCOM issue means that whatever server this ID points to needs to have
Launch and Access rights for the ASP.Net account. You can search the
registry for the class id to find out what the server is (don't you love how
useful those messages are - it would surely help to have a progid).

+++ Rick --

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/wwHelp
-----------
Making waves on the Web

"David Walker" <walkerdavidscott@.hotmail.com> wrote in message
news:bf54bff8.0312071029.3f330666@.posting.google.c om...
> Hi, I've encountered a problem when installing the .Net framework
> version 1.0 on a Windows 2000 Server machine in a clustered
> environment. After I install the framework and try to run a simple
> ASP.Net web page I receive the following message in my web browser:
> "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 system event log of the
> web server. Please review this log entry to discover what caused this
> error to occur."
> When I check the event log it shows the following system error:
> "Access denied attempting to launch a DCOM Server. The server is:
> {000C101C-0000-0000-C000-000000000046}
> The user is ASPNET/AGSESDWEB1,
> SID=S-1-5-21-1060284298-1563985344-725345543-1011. "
> I've looked around in the newsgroups and on the web and although
> others have encountered the same error, no one seems to have a
> straight answer or explanation except for it has to do with
> permissions. Unfortunately the MSDN web site has little information on
> this problem. It does have a fix for Windows XP, but not for Windows
> 2000 Server.
> Can someone please explain what is causing this problem and exactly
> how to rectify it. Any help is appreciated.
> Also, please don't tell me to install version 1.1 of the .Net
> framework as it has to be version 1.0
> Thanks in Advance,
> David Walker
> EDS Canada
> dwalke01@.eds.com
Rick, I searched the registry and it appears the offending server is
called the MSIServer (Microsoft Installer?). I'm not quite sure what
to do next to give this server Launch and Access rights to the ASP.Net
account. Can you help?

David

"Rick Strahl [MVP]" <rickstrahl@.hotmail.com> wrote in message news:<#DjXV5PvDHA.684@.TK2MSFTNGP09.phx.gbl>...
> Hi David,
> Are you accessing any COM components from your code? Does a simple
> HelloWorld.aspx page work?
> If not the problem is most likely that one of the ASP.Net components doesn't
> have rights although unless you've mucked iwth permissions or renamed
> accounts this should nto be an issue.
> The DCOM issue means that whatever server this ID points to needs to have
> Launch and Access rights for the ASP.Net account. You can search the
> registry for the class id to find out what the server is (don't you love how
> useful those messages are - it would surely help to have a progid).
>
> +++ Rick --
> --
> Rick Strahl
> West Wind Technologies
> http://www.west-wind.com/
> http://www.west-wind.com/wwHelp
> -----------
> Making waves on the Web
>
> "David Walker" <walkerdavidscott@.hotmail.com> wrote in message
> news:bf54bff8.0312071029.3f330666@.posting.google.c om...
> > Hi, I've encountered a problem when installing the .Net framework
> > version 1.0 on a Windows 2000 Server machine in a clustered
> > environment. After I install the framework and try to run a simple
> > ASP.Net web page I receive the following message in my web browser:
> > "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 system event log of the
> > web server. Please review this log entry to discover what caused this
> > error to occur."
> > When I check the event log it shows the following system error:
> > "Access denied attempting to launch a DCOM Server. The server is:
> > {000C101C-0000-0000-C000-000000000046}
> > The user is ASPNET/AGSESDWEB1,
> > SID=S-1-5-21-1060284298-1563985344-725345543-1011. "
> > I've looked around in the newsgroups and on the web and although
> > others have encountered the same error, no one seems to have a
> > straight answer or explanation except for it has to do with
> > permissions. Unfortunately the MSDN web site has little information on
> > this problem. It does have a fix for Windows XP, but not for Windows
> > 2000 Server.
> > Can someone please explain what is causing this problem and exactly
> > how to rectify it. Any help is appreciated.
> > Also, please don't tell me to install version 1.1 of the .Net
> > framework as it has to be version 1.0
> > Thanks in Advance,
> > David Walker
> > EDS Canada
> > dwalke01@.eds.com
Sounds like the system is trying to install something. Does this happen on a
simple ASPX page or only on one that you're doing something with custom
components?

I would try reinstalling the .Net framework or run fix from the Add Programs
option if it happens on a simple page.

+++ Rick --

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/wwHelp
-----------
Making waves on the Web

"David Walker" <walkerdavidscott@.hotmail.com> wrote in message
news:bf54bff8.0312081144.6587fe4b@.posting.google.c om...
> Rick, I searched the registry and it appears the offending server is
> called the MSIServer (Microsoft Installer?). I'm not quite sure what
> to do next to give this server Launch and Access rights to the ASP.Net
> account. Can you help?
> David
> "Rick Strahl [MVP]" <rickstrahl@.hotmail.com> wrote in message
news:<#DjXV5PvDHA.684@.TK2MSFTNGP09.phx.gbl>...
> > Hi David,
> > Are you accessing any COM components from your code? Does a simple
> > HelloWorld.aspx page work?
> > If not the problem is most likely that one of the ASP.Net components
doesn't
> > have rights although unless you've mucked iwth permissions or renamed
> > accounts this should nto be an issue.
> > The DCOM issue means that whatever server this ID points to needs to
have
> > Launch and Access rights for the ASP.Net account. You can search the
> > registry for the class id to find out what the server is (don't you love
how
> > useful those messages are - it would surely help to have a progid).
> > +++ Rick --
> > --
> > Rick Strahl
> > West Wind Technologies
> > http://www.west-wind.com/
> > http://www.west-wind.com/wwHelp
> > -----------
> > Making waves on the Web
> > "David Walker" <walkerdavidscott@.hotmail.com> wrote in message
> > news:bf54bff8.0312071029.3f330666@.posting.google.c om...
> > > Hi, I've encountered a problem when installing the .Net framework
> > > version 1.0 on a Windows 2000 Server machine in a clustered
> > > environment. After I install the framework and try to run a simple
> > > ASP.Net web page I receive the following message in my web browser:
> > > > "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 system event log of the
> > > web server. Please review this log entry to discover what caused this
> > > error to occur."
> > > > When I check the event log it shows the following system error:
> > > > "Access denied attempting to launch a DCOM Server. The server is:
> > > {000C101C-0000-0000-C000-000000000046}
> > > The user is ASPNET/AGSESDWEB1,
> > > SID=S-1-5-21-1060284298-1563985344-725345543-1011. "
> > > > I've looked around in the newsgroups and on the web and although
> > > others have encountered the same error, no one seems to have a
> > > straight answer or explanation except for it has to do with
> > > permissions. Unfortunately the MSDN web site has little information on
> > > this problem. It does have a fix for Windows XP, but not for Windows
> > > 2000 Server.
> > > > Can someone please explain what is causing this problem and exactly
> > > how to rectify it. Any help is appreciated.
> > > > Also, please don't tell me to install version 1.1 of the .Net
> > > framework as it has to be version 1.0
> > > > Thanks in Advance,
> > > David Walker
> > > EDS Canada
> > > > dwalke01@.eds.com

Server Unavailable - ASP.NET 2.0 on Windows XP

Hi All!

I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However,
when I tried to view this site on my local Windows XP machine, I get "Server
Unavailable". If I switch the Windows XP IIS back to ASP.NET 1.1 then I get
the Configuration Error (which is understandable because I'm trying to run
an ASP.NET 2 site with 1.1 framework).

I can however view other ASP.NET 1.1 sites on my local Windows XP machine.
It's only the problem with

I've also tried the aspnet_regiis thing as well as setting permissions on
folders as described in this article:
http://support.microsoft.com/default.aspx?kbid=811320
but no solution.

In the event log, I see these three errors every I tried to view my ASP.NET
2.0 site on my local machine...

<errors
1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly

2.) Failed to execute the request because the ASP.NET process identity does
not have read permissions to the global assembly cache. Error: 0x80131902

3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root

Exception: System.Configuration.ConfigurationErrorsException

Message: Exception of type
'System.Configuration.ConfigurationErrorsException ' was thrown.

</errors
What could be the problem?!?!?!? Plz, any solutions or pointers to solutions
are much appreciated!!!

Thank you all in advance!!!

JonIf you're running on Windows XP, the account which needs permissions is
MACHINENAME\ASPNET...even if you're allowing anonymous access.

Try granting access permissions to the appropiate account, as outlined above.

If you are still having problems after that, and you're impersonating some account,
save this code as "identity.aspx" and run it :

identity.aspx
========

<%@. Page Language="VB" %>
<%@. Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim tmp As String = WindowsIdentity.GetCurrent.Name()
Label1.Text = tmp
End Sub
</script>
<html>
<head>
<title>WindowsIdentity.GetCurrent.Name()</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
======

Running that file will tell you which account ASP.NET is running as.
Then, assign the appropiate permissions to that account.

Also, download and run Denis Bauer's ASP.NET Version Switcher,
and make sure that you're actually running 1.1 apps against the
1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.

http://www.denisbauer.com/NETTools/...onSwitcher.aspx

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Jon B" <noemail@.sorry.sorry> wrote in message news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
> Hi All!
> I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view
> this site on my local Windows XP machine, I get "Server Unavailable". If I switch the Windows XP
> IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable because I'm
> trying to run an ASP.NET 2 site with 1.1 framework).
> I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only the problem
> with
> I've also tried the aspnet_regiis thing as well as setting permissions on folders as described in
> this article:
> http://support.microsoft.com/default.aspx?kbid=811320
> but no solution.
> In the event log, I see these three errors every I tried to view my ASP.NET 2.0 site on my local
> machine...
> <errors>
> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
> 2.) Failed to execute the request because the ASP.NET process identity does not have read
> permissions to the global assembly cache. Error: 0x80131902
> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
> Exception: System.Configuration.ConfigurationErrorsException
> Message: Exception of type 'System.Configuration.ConfigurationErrorsException ' was thrown.
> </errors>
> What could be the problem?!?!?!? Plz, any solutions or pointers to solutions are much
> appreciated!!!
> Thank you all in advance!!!
> Jon
Hi Juan,

Thanks for the reply. I've set permission to all the folders and everything
but still it doesn't work.

I've also tried the "Denis Bauer's ASP.NET Version Switcher" but that
doesn't help either.

Any other ideas?

Cheers,
Jon B

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
> If you're running on Windows XP, the account which needs permissions is
> MACHINENAME\ASPNET...even if you're allowing anonymous access.
> Try granting access permissions to the appropiate account, as outlined
> above.
> If you are still having problems after that, and you're impersonating some
> account,
> save this code as "identity.aspx" and run it :
> identity.aspx
> ========
> <%@. Page Language="VB" %>
> <%@. Import NameSpace = System.Security.Principal %>
> <script runat="server">
> Sub Page_Load()
> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
> Label1.Text = tmp
> End Sub
> </script>
> <html>
> <head>
> <title>WindowsIdentity.GetCurrent.Name()</title>
> </head>
> <body>
> <form id="form1" runat="server">
> <div>
> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
> </div>
> </form>
> </body>
> </html>
> ======
> Running that file will tell you which account ASP.NET is running as.
> Then, assign the appropiate permissions to that account.
> Also, download and run Denis Bauer's ASP.NET Version Switcher,
> and make sure that you're actually running 1.1 apps against the
> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaol : http://asp.net.do/foros/
> ===================================
> "Jon B" <noemail@.sorry.sorry> wrote in message
> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>> Hi All!
>>
>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However,
>> when I tried to view this site on my local Windows XP machine, I get
>> "Server Unavailable". If I switch the Windows XP IIS back to ASP.NET 1.1
>> then I get the Configuration Error (which is understandable because I'm
>> trying to run an ASP.NET 2 site with 1.1 framework).
>>
>> I can however view other ASP.NET 1.1 sites on my local Windows XP
>> machine. It's only the problem with
>>
>> I've also tried the aspnet_regiis thing as well as setting permissions on
>> folders as described in this article:
>> http://support.microsoft.com/default.aspx?kbid=811320
>> but no solution.
>>
>> In the event log, I see these three errors every I tried to view my
>> ASP.NET 2.0 site on my local machine...
>>
>> <errors>
>>
>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>
>> 2.) Failed to execute the request because the ASP.NET process identity
>> does not have read permissions to the global assembly cache. Error:
>> 0x80131902
>>
>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>
>> Exception: System.Configuration.ConfigurationErrorsException
>>
>> Message: Exception of type
>> 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>
>> </errors>
>>
>> What could be the problem?!?!?!? Plz, any solutions or pointers to
>> solutions are much appreciated!!!
>>
>> Thank you all in advance!!!
>>
>> Jon
>>
Are you still getting this error ?

>> 2.) Failed to execute the request because the ASP.NET process identity does not have read
>> permissions to the global assembly cache. Error: 0x80131902

Did you run "identity.aspx", which I provided for you ?
Which user account was returned by it ?

How did you run the example command provided by the KB ?

cacls %windir%\assembly /e /t /p domain\useraccount:R

?

Have you read this article :
http://msdn.microsoft.com/library/d...paght000009.asp

?

Please review the steps in it, for creating a service account for an ASP.NET 2.0 application,
and make sure that the account retrned by "identity.aspx" has all the permissions
listed in that article.

In particular, make sure you run the following aspnet_regiis command :

aspnet_regiis -ga MachineName\AccountName

where "MachineName\AccountName" is the account returned by "identity.aspx".

Then post back your results.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Jon B" <noemail@.sorry.sorry> wrote in message news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
> Hi Juan,
> Thanks for the reply. I've set permission to all the folders and everything but still it doesn't
> work.
> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but that doesn't help either.
> Any other ideas?
> Cheers,
> Jon B
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>> If you're running on Windows XP, the account which needs permissions is
>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>
>> Try granting access permissions to the appropiate account, as outlined above.
>>
>> If you are still having problems after that, and you're impersonating some account,
>> save this code as "identity.aspx" and run it :
>>
>> identity.aspx
>> ========
>>
>> <%@. Page Language="VB" %>
>> <%@. Import NameSpace = System.Security.Principal %>
>> <script runat="server">
>> Sub Page_Load()
>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>> Label1.Text = tmp
>> End Sub
>> </script>
>> <html>
>> <head>
>> <title>WindowsIdentity.GetCurrent.Name()</title>
>> </head>
>> <body>
>> <form id="form1" runat="server">
>> <div>
>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>> </div>
>> </form>
>> </body>
>> </html>
>> ======
>>
>> Running that file will tell you which account ASP.NET is running as.
>> Then, assign the appropiate permissions to that account.
>>
>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>> and make sure that you're actually running 1.1 apps against the
>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>
>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> aspnetfaq.com : http://www.aspnetfaq.com/
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaol : http://asp.net.do/foros/
>> ===================================
>> "Jon B" <noemail@.sorry.sorry> wrote in message news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>> Hi All!
>>>
>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view
>>> this site on my local Windows XP machine, I get "Server Unavailable". If I switch the Windows XP
>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable because I'm
>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>
>>> I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only the problem
>>> with
>>>
>>> I've also tried the aspnet_regiis thing as well as setting permissions on folders as described
>>> in this article:
>>> http://support.microsoft.com/default.aspx?kbid=811320
>>> but no solution.
>>>
>>> In the event log, I see these three errors every I tried to view my ASP.NET 2.0 site on my local
>>> machine...
>>>
>>> <errors>
>>>
>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>
>>> 2.) Failed to execute the request because the ASP.NET process identity does not have read
>>> permissions to the global assembly cache. Error: 0x80131902
>>>
>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>
>>> Exception: System.Configuration.ConfigurationErrorsException
>>>
>>> Message: Exception of type 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>>
>>> </errors>
>>>
>>> What could be the problem?!?!?!? Plz, any solutions or pointers to solutions are much
>>> appreciated!!!
>>>
>>> Thank you all in advance!!!
>>>
>>> Jon
Hi Juan,

The thing is, I cannot execute any ASP.NET pages. Even your Identity.aspx
page. I keep on getting the "Server Unavailable" error. That is of course,
in ASP.NET 2. However, when I tried with ASP.NET 1.1, I get...

HOME-WKSTATION\ASPNET

I ran the examples in KBs ***exactly*** the way it presented (with the
substitue of the variables of course).

And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the
article you've provided me was about ASP.NET 2.0 with IIS6).

Another interesting thing is when I tried to do aspnet_regiis -ga
HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the article),
I get "Invalid Command" and a list of switches that aspnet_regiis accepts,
which does not contains a 'ga' switch.

Plz help...

Henry

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
> Are you still getting this error ?
>>> 2.) Failed to execute the request because the ASP.NET process identity
>>> does not have read
>>> permissions to the global assembly cache. Error: 0x80131902
> Did you run "identity.aspx", which I provided for you ?
> Which user account was returned by it ?
> How did you run the example command provided by the KB ?
> cacls %windir%\assembly /e /t /p domain\useraccount:R
> ?
> Have you read this article :
> http://msdn.microsoft.com/library/d...paght000009.asp
> ?
> Please review the steps in it, for creating a service account for an
> ASP.NET 2.0 application,
> and make sure that the account retrned by "identity.aspx" has all the
> permissions
> listed in that article.
> In particular, make sure you run the following aspnet_regiis command :
> aspnet_regiis -ga MachineName\AccountName
> where "MachineName\AccountName" is the account returned by
> "identity.aspx".
> Then post back your results.
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaol : http://asp.net.do/foros/
> ===================================
> "Jon B" <noemail@.sorry.sorry> wrote in message
> news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>> Hi Juan,
>>
>> Thanks for the reply. I've set permission to all the folders and
>> everything but still it doesn't
>> work.
>>
>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but that
>> doesn't help either.
>>
>> Any other ideas?
>>
>> Cheers,
>> Jon B
>>
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>> If you're running on Windows XP, the account which needs permissions is
>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>
>>> Try granting access permissions to the appropiate account, as outlined
>>> above.
>>>
>>> If you are still having problems after that, and you're impersonating
>>> some account,
>>> save this code as "identity.aspx" and run it :
>>>
>>> identity.aspx
>>> ========
>>>
>>> <%@. Page Language="VB" %>
>>> <%@. Import NameSpace = System.Security.Principal %>
>>> <script runat="server">
>>> Sub Page_Load()
>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>> Label1.Text = tmp
>>> End Sub
>>> </script>
>>> <html>
>>> <head>
>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>> </head>
>>> <body>
>>> <form id="form1" runat="server">
>>> <div>
>>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>>> </div>
>>> </form>
>>> </body>
>>> </html>
>>> ======
>>>
>>> Running that file will tell you which account ASP.NET is running as.
>>> Then, assign the appropiate permissions to that account.
>>>
>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>> and make sure that you're actually running 1.1 apps against the
>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>
>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>> ===================================
>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>> Hi All!
>>>>
>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server.
>>>> However, when I tried to view
>>>> this site on my local Windows XP machine, I get "Server Unavailable".
>>>> If I switch the Windows XP
>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which is
>>>> understandable because I'm
>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>
>>>> I can however view other ASP.NET 1.1 sites on my local Windows XP
>>>> machine. It's only the problem
>>>> with
>>>>
>>>> I've also tried the aspnet_regiis thing as well as setting permissions
>>>> on folders as described
>>>> in this article:
>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>> but no solution.
>>>>
>>>> In the event log, I see these three errors every I tried to view my
>>>> ASP.NET 2.0 site on my local
>>>> machine...
>>>>
>>>> <errors>
>>>>
>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>
>>>> 2.) Failed to execute the request because the ASP.NET process identity
>>>> does not have read
>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>
>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>
>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>
>>>> Message: Exception of type
>>>> 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>>>
>>>> </errors>
>>>>
>>>> What could be the problem?!?!?!? Plz, any solutions or pointers to
>>>> solutions are much
>>>> appreciated!!!
>>>>
>>>> Thank you all in advance!!!
>>>>
>>>> Jon
Hi, Jon.

re:
> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET under
> v2.0.50215 folder (as described in the article), I get "Invalid Command"

...there's your problem.

v2.0.50215 is the beta 2 version of the .Net Framework...which has many bugs.
The -ga command isn't a part of that beta version.

The released version of the .Net Framework is v2.0.50727.42

Uninstall that beta version and download/install -at least- the 2.0 redistributable :
http://www.microsoft.com/downloads/...&displaylang=en

You might want to -instead- download/install the full SDK from :
http://www.microsoft.com/downloads/...&displaylang=en

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Jon B" <noemail@.sorry.sorry> wrote in message news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
> Hi Juan,
> The thing is, I cannot execute any ASP.NET pages. Even your Identity.aspx page. I keep on getting
> the "Server Unavailable" error. That is of course, in ASP.NET 2. However, when I tried with
> ASP.NET 1.1, I get...
> HOME-WKSTATION\ASPNET
> I ran the examples in KBs ***exactly*** the way it presented (with the substitue of the variables
> of course).
> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the article you've provided
> me was about ASP.NET 2.0 with IIS6).
> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET under
> v2.0.50215 folder (as described in the article), I get "Invalid Command" and a list of switches
> that aspnet_regiis accepts, which does not contains a 'ga' switch.
> Plz help...
> Henry

> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>> Are you still getting this error ?
>>
>>>> 2.) Failed to execute the request because the ASP.NET process identity does not have read
>>>> permissions to the global assembly cache. Error: 0x80131902
>>
>> Did you run "identity.aspx", which I provided for you ?
>> Which user account was returned by it ?
>>
>> How did you run the example command provided by the KB ?
>>
>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>
>> ?
>>
>> Have you read this article :
>> http://msdn.microsoft.com/library/d...paght000009.asp
>>
>> ?
>>
>> Please review the steps in it, for creating a service account for an ASP.NET 2.0 application,
>> and make sure that the account retrned by "identity.aspx" has all the permissions
>> listed in that article.
>>
>> In particular, make sure you run the following aspnet_regiis command :
>>
>> aspnet_regiis -ga MachineName\AccountName
>>
>> where "MachineName\AccountName" is the account returned by "identity.aspx".
>>
>> Then post back your results.
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> aspnetfaq.com : http://www.aspnetfaq.com/
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaol : http://asp.net.do/foros/
>> ===================================
>> "Jon B" <noemail@.sorry.sorry> wrote in message news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>> Hi Juan,
>>>
>>> Thanks for the reply. I've set permission to all the folders and everything but still it doesn't
>>> work.
>>>
>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but that doesn't help either.
>>>
>>> Any other ideas?
>>>
>>> Cheers,
>>> Jon B
>>>
>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>> If you're running on Windows XP, the account which needs permissions is
>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>
>>>> Try granting access permissions to the appropiate account, as outlined above.
>>>>
>>>> If you are still having problems after that, and you're impersonating some account,
>>>> save this code as "identity.aspx" and run it :
>>>>
>>>> identity.aspx
>>>> ========
>>>>
>>>> <%@. Page Language="VB" %>
>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>> <script runat="server">
>>>> Sub Page_Load()
>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>> Label1.Text = tmp
>>>> End Sub
>>>> </script>
>>>> <html>
>>>> <head>
>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>> </head>
>>>> <body>
>>>> <form id="form1" runat="server">
>>>> <div>
>>>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>>>> </div>
>>>> </form>
>>>> </body>
>>>> </html>
>>>> ======
>>>>
>>>> Running that file will tell you which account ASP.NET is running as.
>>>> Then, assign the appropiate permissions to that account.
>>>>
>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>> and make sure that you're actually running 1.1 apps against the
>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>
>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, asp.net MVP
>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>> asp.net faq : http://asp.net.do/faq/
>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>> ===================================
>>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>> Hi All!
>>>>>
>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view
>>>>> this site on my local Windows XP machine, I get "Server Unavailable". If I switch the Windows
>>>>> XP
>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable because
>>>>> I'm
>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>
>>>>> I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only the
>>>>> problem
>>>>> with
>>>>>
>>>>> I've also tried the aspnet_regiis thing as well as setting permissions on folders as described
>>>>> in this article:
>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>> but no solution.
>>>>>
>>>>> In the event log, I see these three errors every I tried to view my ASP.NET 2.0 site on my
>>>>> local
>>>>> machine...
>>>>>
>>>>> <errors>
>>>>>
>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>
>>>>> 2.) Failed to execute the request because the ASP.NET process identity does not have read
>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>
>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>
>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>
>>>>> Message: Exception of type 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>>>>
>>>>> </errors>
>>>>>
>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers to solutions are much
>>>>> appreciated!!!
>>>>>
>>>>> Thank you all in advance!!!
>>>>>
>>>>> Jon
>>
>>
>>
Hi Juan,

Thanks for the reply. I have the latest version in following folder...

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

So I switched to that directory in Command Prompt and tried the following...

aspnet_regiis -ga HOME-WKSTATION\ASPNET

Command worked. However, I'm still getting the "Server Unavailable" error...

Thanks again.

Jon

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
> Hi, Jon.
> re:
>> Another interesting thing is when I tried to do aspnet_regiis -ga
>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>> article), I get "Invalid Command"
> ...there's your problem.
> v2.0.50215 is the beta 2 version of the .Net Framework...which has many
> bugs.
> The -ga command isn't a part of that beta version.
> The released version of the .Net Framework is v2.0.50727.42
> Uninstall that beta version and download/install -at least- the 2.0
> redistributable :
> http://www.microsoft.com/downloads/...&displaylang=en
> You might want to -instead- download/install the full SDK from :
> http://www.microsoft.com/downloads/...&displaylang=en
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaol : http://asp.net.do/foros/
> ===================================
> "Jon B" <noemail@.sorry.sorry> wrote in message
> news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>> Hi Juan,
>>
>> The thing is, I cannot execute any ASP.NET pages. Even your Identity.aspx
>> page. I keep on getting the "Server Unavailable" error. That is of
>> course, in ASP.NET 2. However, when I tried with ASP.NET 1.1, I get...
>>
>> HOME-WKSTATION\ASPNET
>>
>> I ran the examples in KBs ***exactly*** the way it presented (with the
>> substitue of the variables of course).
>>
>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the
>> article you've provided me was about ASP.NET 2.0 with IIS6).
>>
>> Another interesting thing is when I tried to do aspnet_regiis -ga
>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>> article), I get "Invalid Command" and a list of switches that
>> aspnet_regiis accepts, which does not contains a 'ga' switch.
>>
>> Plz help...
>>
>> Henry
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>> Are you still getting this error ?
>>>
>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>> identity does not have read
>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>
>>> Did you run "identity.aspx", which I provided for you ?
>>> Which user account was returned by it ?
>>>
>>> How did you run the example command provided by the KB ?
>>>
>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>
>>> ?
>>>
>>> Have you read this article :
>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>
>>> ?
>>>
>>> Please review the steps in it, for creating a service account for an
>>> ASP.NET 2.0 application,
>>> and make sure that the account retrned by "identity.aspx" has all the
>>> permissions
>>> listed in that article.
>>>
>>> In particular, make sure you run the following aspnet_regiis command :
>>>
>>> aspnet_regiis -ga MachineName\AccountName
>>>
>>> where "MachineName\AccountName" is the account returned by
>>> "identity.aspx".
>>>
>>> Then post back your results.
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>> ===================================
>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>> news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>> Hi Juan,
>>>>
>>>> Thanks for the reply. I've set permission to all the folders and
>>>> everything but still it doesn't
>>>> work.
>>>>
>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but that
>>>> doesn't help either.
>>>>
>>>> Any other ideas?
>>>>
>>>> Cheers,
>>>> Jon B
>>>>
>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>> If you're running on Windows XP, the account which needs permissions
>>>>> is
>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>
>>>>> Try granting access permissions to the appropiate account, as outlined
>>>>> above.
>>>>>
>>>>> If you are still having problems after that, and you're impersonating
>>>>> some account,
>>>>> save this code as "identity.aspx" and run it :
>>>>>
>>>>> identity.aspx
>>>>> ========
>>>>>
>>>>> <%@. Page Language="VB" %>
>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>> <script runat="server">
>>>>> Sub Page_Load()
>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>> Label1.Text = tmp
>>>>> End Sub
>>>>> </script>
>>>>> <html>
>>>>> <head>
>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>> </head>
>>>>> <body>
>>>>> <form id="form1" runat="server">
>>>>> <div>
>>>>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>>>>> </div>
>>>>> </form>
>>>>> </body>
>>>>> </html>
>>>>> ======
>>>>>
>>>>> Running that file will tell you which account ASP.NET is running as.
>>>>> Then, assign the appropiate permissions to that account.
>>>>>
>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>> and make sure that you're actually running 1.1 apps against the
>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>
>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, asp.net MVP
>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>> asp.net faq : http://asp.net.do/faq/
>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>> ===================================
>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>> Hi All!
>>>>>>
>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server.
>>>>>> However, when I tried to view
>>>>>> this site on my local Windows XP machine, I get "Server Unavailable".
>>>>>> If I switch the Windows XP
>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which is
>>>>>> understandable because I'm
>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>
>>>>>> I can however view other ASP.NET 1.1 sites on my local Windows XP
>>>>>> machine. It's only the problem
>>>>>> with
>>>>>>
>>>>>> I've also tried the aspnet_regiis thing as well as setting
>>>>>> permissions on folders as described
>>>>>> in this article:
>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>> but no solution.
>>>>>>
>>>>>> In the event log, I see these three errors every I tried to view my
>>>>>> ASP.NET 2.0 site on my local
>>>>>> machine...
>>>>>>
>>>>>> <errors>
>>>>>>
>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>
>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>> identity does not have read
>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>
>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>
>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>
>>>>>> Message: Exception of type
>>>>>> 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>>>>>
>>>>>> </errors>
>>>>>>
>>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers to
>>>>>> solutions are much
>>>>>> appreciated!!!
>>>>>>
>>>>>> Thank you all in advance!!!
>>>>>>
>>>>>> Jon
>>>
>>>
>>>
>>
>>
re;
> Command worked. However, I'm still getting the "Server Unavailable" error...

OK...

re:
> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the article you've provided
> me was about ASP.NET 2.0 with IIS6).

Nevertheless, the article is valid for IIS 5.1 ( which is what you're running, not 5.0 )
and ASP.NET 2.0, as long as you disregard the Application Pool info.

Please review the permissions outlined in this article.
They were written for ASP.NET 1.1, but they are just as valid for ASP.NET 2.0:

http://msdn.microsoft.com/library/d.../secnetht01.asp

Make sure that the HOME-WKSTATION\ASPNET account has been assigned NTFS
permissions to all the directories listed in the chart, making sure, of course, that the proper
directory ( \WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) is checked.

Make sure you read the instructions in the "Comments" column.
*All* the directories listed in the left-most column need the correct NTFS permissions applied.

When you're done doing that, test and post your results.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Jon B" <noemail@.sorry.sorry> wrote in message news:ufmBEp4aGHA.3976@.TK2MSFTNGP02.phx.gbl...
> Hi Juan,
> Thanks for the reply. I have the latest version in following folder...
> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
> So I switched to that directory in Command Prompt and tried the following...
> aspnet_regiis -ga HOME-WKSTATION\ASPNET
> Command worked. However, I'm still getting the "Server Unavailable" error...
> Thanks again.
> Jon
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
>> Hi, Jon.
>>
>> re:
>>> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET under
>>> v2.0.50215 folder (as described in the article), I get "Invalid Command"
>>
>> ...there's your problem.
>>
>> v2.0.50215 is the beta 2 version of the .Net Framework...which has many bugs.
>> The -ga command isn't a part of that beta version.
>>
>> The released version of the .Net Framework is v2.0.50727.42
>>
>> Uninstall that beta version and download/install -at least- the 2.0 redistributable :
>> http://www.microsoft.com/downloads/...&displaylang=en
>>
>> You might want to -instead- download/install the full SDK from :
>> http://www.microsoft.com/downloads/...&displaylang=en
>>
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> aspnetfaq.com : http://www.aspnetfaq.com/
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaol : http://asp.net.do/foros/
>> ===================================
>> "Jon B" <noemail@.sorry.sorry> wrote in message news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>> Hi Juan,
>>>
>>> The thing is, I cannot execute any ASP.NET pages. Even your Identity.aspx page. I keep on
>>> getting the "Server Unavailable" error. That is of course, in ASP.NET 2. However, when I tried
>>> with ASP.NET 1.1, I get...
>>>
>>> HOME-WKSTATION\ASPNET
>>>
>>> I ran the examples in KBs ***exactly*** the way it presented (with the substitue of the
>>> variables of course).
>>>
>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the article you've provided
>>> me was about ASP.NET 2.0 with IIS6).
>>>
>>> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET under
>>> v2.0.50215 folder (as described in the article), I get "Invalid Command" and a list of switches
>>> that aspnet_regiis accepts, which does not contains a 'ga' switch.
>>>
>>> Plz help...
>>>
>>> Henry
>>
>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>>> Are you still getting this error ?
>>>>
>>>>>> 2.) Failed to execute the request because the ASP.NET process identity does not have read
>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>
>>>> Did you run "identity.aspx", which I provided for you ?
>>>> Which user account was returned by it ?
>>>>
>>>> How did you run the example command provided by the KB ?
>>>>
>>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>>
>>>> ?
>>>>
>>>> Have you read this article :
>>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>>
>>>> ?
>>>>
>>>> Please review the steps in it, for creating a service account for an ASP.NET 2.0 application,
>>>> and make sure that the account retrned by "identity.aspx" has all the permissions
>>>> listed in that article.
>>>>
>>>> In particular, make sure you run the following aspnet_regiis command :
>>>>
>>>> aspnet_regiis -ga MachineName\AccountName
>>>>
>>>> where "MachineName\AccountName" is the account returned by "identity.aspx".
>>>>
>>>> Then post back your results.
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, asp.net MVP
>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>> asp.net faq : http://asp.net.do/faq/
>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>> ===================================
>>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>>> Hi Juan,
>>>>>
>>>>> Thanks for the reply. I've set permission to all the folders and everything but still it
>>>>> doesn't
>>>>> work.
>>>>>
>>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but that doesn't help either.
>>>>>
>>>>> Any other ideas?
>>>>>
>>>>> Cheers,
>>>>> Jon B
>>>>>
>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>>> If you're running on Windows XP, the account which needs permissions is
>>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>>
>>>>>> Try granting access permissions to the appropiate account, as outlined above.
>>>>>>
>>>>>> If you are still having problems after that, and you're impersonating some account,
>>>>>> save this code as "identity.aspx" and run it :
>>>>>>
>>>>>> identity.aspx
>>>>>> ========
>>>>>>
>>>>>> <%@. Page Language="VB" %>
>>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>>> <script runat="server">
>>>>>> Sub Page_Load()
>>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>>> Label1.Text = tmp
>>>>>> End Sub
>>>>>> </script>
>>>>>> <html>
>>>>>> <head>
>>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>>> </head>
>>>>>> <body>
>>>>>> <form id="form1" runat="server">
>>>>>> <div>
>>>>>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>>>>>> </div>
>>>>>> </form>
>>>>>> </body>
>>>>>> </html>
>>>>>> ======
>>>>>>
>>>>>> Running that file will tell you which account ASP.NET is running as.
>>>>>> Then, assign the appropiate permissions to that account.
>>>>>>
>>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>>> and make sure that you're actually running 1.1 apps against the
>>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>>
>>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Juan T. Llibre, asp.net MVP
>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>> ===================================
>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>>> Hi All!
>>>>>>>
>>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to
>>>>>>> view
>>>>>>> this site on my local Windows XP machine, I get "Server Unavailable". If I switch the
>>>>>>> Windows XP
>>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable because
>>>>>>> I'm
>>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>>
>>>>>>> I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only the
>>>>>>> problem
>>>>>>> with
>>>>>>>
>>>>>>> I've also tried the aspnet_regiis thing as well as setting permissions on folders as
>>>>>>> described
>>>>>>> in this article:
>>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>>> but no solution.
>>>>>>>
>>>>>>> In the event log, I see these three errors every I tried to view my ASP.NET 2.0 site on my
>>>>>>> local
>>>>>>> machine...
>>>>>>>
>>>>>>> <errors>
>>>>>>>
>>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>>
>>>>>>> 2.) Failed to execute the request because the ASP.NET process identity does not have read
>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>
>>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>>
>>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>>
>>>>>>> Message: Exception of type 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>>>>>>
>>>>>>> </errors>
>>>>>>>
>>>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers to solutions are much
>>>>>>> appreciated!!!
>>>>>>>
>>>>>>> Thank you all in advance!!!
>>>>>>>
>>>>>>> Jon
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
One more thing...

Is the error message "Server Application Unavailable" or is it "Server Unavailable" ?

Could you look in the event log, and see what additional info is
there about your "Server Application Unavailable" error message ?

Look in "Start Menu", "Programs", "Administrative Tools", "Event Viewer".
You should be able to find the specific error in the Application log.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:%23KVlT34aGHA.1196@.TK2MSFTNGP03.phx.gbl...
> re;
>> Command worked. However, I'm still getting the "Server Unavailable" error...
> OK...
> re:
>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the article you've provided
>> me was about ASP.NET 2.0 with IIS6).
> Nevertheless, the article is valid for IIS 5.1 ( which is what you're running, not 5.0 )
> and ASP.NET 2.0, as long as you disregard the Application Pool info.
> Please review the permissions outlined in this article.
> They were written for ASP.NET 1.1, but they are just as valid for ASP.NET 2.0:
> http://msdn.microsoft.com/library/d.../secnetht01.asp
> Make sure that the HOME-WKSTATION\ASPNET account has been assigned NTFS
> permissions to all the directories listed in the chart, making sure, of course, that the proper
> directory ( \WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) is checked.
> Make sure you read the instructions in the "Comments" column.
> *All* the directories listed in the left-most column need the correct NTFS permissions applied.
> When you're done doing that, test and post your results.
>
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaol : http://asp.net.do/foros/
> ===================================
> "Jon B" <noemail@.sorry.sorry> wrote in message news:ufmBEp4aGHA.3976@.TK2MSFTNGP02.phx.gbl...
>> Hi Juan,
>>
>> Thanks for the reply. I have the latest version in following folder...
>>
>> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
>>
>> So I switched to that directory in Command Prompt and tried the following...
>>
>> aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>
>> Command worked. However, I'm still getting the "Server Unavailable" error...
>>
>> Thanks again.
>>
>> Jon
>>
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
>>> Hi, Jon.
>>>
>>> re:
>>>> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET under
>>>> v2.0.50215 folder (as described in the article), I get "Invalid Command"
>>>
>>> ...there's your problem.
>>>
>>> v2.0.50215 is the beta 2 version of the .Net Framework...which has many bugs.
>>> The -ga command isn't a part of that beta version.
>>>
>>> The released version of the .Net Framework is v2.0.50727.42
>>>
>>> Uninstall that beta version and download/install -at least- the 2.0 redistributable :
>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>
>>> You might want to -instead- download/install the full SDK from :
>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>> ===================================
>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>>> Hi Juan,
>>>>
>>>> The thing is, I cannot execute any ASP.NET pages. Even your Identity.aspx page. I keep on
>>>> getting the "Server Unavailable" error. That is of course, in ASP.NET 2. However, when I tried
>>>> with ASP.NET 1.1, I get...
>>>>
>>>> HOME-WKSTATION\ASPNET
>>>>
>>>> I ran the examples in KBs ***exactly*** the way it presented (with the substitue of the
>>>> variables of course).
>>>>
>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the article you've
>>>> provided me was about ASP.NET 2.0 with IIS6).
>>>>
>>>> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET under
>>>> v2.0.50215 folder (as described in the article), I get "Invalid Command" and a list of switches
>>>> that aspnet_regiis accepts, which does not contains a 'ga' switch.
>>>>
>>>> Plz help...
>>>>
>>>> Henry
>>>
>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>>>> Are you still getting this error ?
>>>>>
>>>>>>> 2.) Failed to execute the request because the ASP.NET process identity does not have read
>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>
>>>>> Did you run "identity.aspx", which I provided for you ?
>>>>> Which user account was returned by it ?
>>>>>
>>>>> How did you run the example command provided by the KB ?
>>>>>
>>>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>>>
>>>>> ?
>>>>>
>>>>> Have you read this article :
>>>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>>>
>>>>> ?
>>>>>
>>>>> Please review the steps in it, for creating a service account for an ASP.NET 2.0 application,
>>>>> and make sure that the account retrned by "identity.aspx" has all the permissions
>>>>> listed in that article.
>>>>>
>>>>> In particular, make sure you run the following aspnet_regiis command :
>>>>>
>>>>> aspnet_regiis -ga MachineName\AccountName
>>>>>
>>>>> where "MachineName\AccountName" is the account returned by "identity.aspx".
>>>>>
>>>>> Then post back your results.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, asp.net MVP
>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>> asp.net faq : http://asp.net.do/faq/
>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>> ===================================
>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>>>> Hi Juan,
>>>>>>
>>>>>> Thanks for the reply. I've set permission to all the folders and everything but still it
>>>>>> doesn't
>>>>>> work.
>>>>>>
>>>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but that doesn't help either.
>>>>>>
>>>>>> Any other ideas?
>>>>>>
>>>>>> Cheers,
>>>>>> Jon B
>>>>>>
>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>>>> If you're running on Windows XP, the account which needs permissions is
>>>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>>>
>>>>>>> Try granting access permissions to the appropiate account, as outlined above.
>>>>>>>
>>>>>>> If you are still having problems after that, and you're impersonating some account,
>>>>>>> save this code as "identity.aspx" and run it :
>>>>>>>
>>>>>>> identity.aspx
>>>>>>> ========
>>>>>>>
>>>>>>> <%@. Page Language="VB" %>
>>>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>>>> <script runat="server">
>>>>>>> Sub Page_Load()
>>>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>>>> Label1.Text = tmp
>>>>>>> End Sub
>>>>>>> </script>
>>>>>>> <html>
>>>>>>> <head>
>>>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>>>> </head>
>>>>>>> <body>
>>>>>>> <form id="form1" runat="server">
>>>>>>> <div>
>>>>>>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>>>>>>> </div>
>>>>>>> </form>
>>>>>>> </body>
>>>>>>> </html>
>>>>>>> ======
>>>>>>>
>>>>>>> Running that file will tell you which account ASP.NET is running as.
>>>>>>> Then, assign the appropiate permissions to that account.
>>>>>>>
>>>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>>>> and make sure that you're actually running 1.1 apps against the
>>>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>>>
>>>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>> ===================================
>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>>>> Hi All!
>>>>>>>>
>>>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to
>>>>>>>> view
>>>>>>>> this site on my local Windows XP machine, I get "Server Unavailable". If I switch the
>>>>>>>> Windows XP
>>>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable because
>>>>>>>> I'm
>>>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>>>
>>>>>>>> I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only the
>>>>>>>> problem
>>>>>>>> with
>>>>>>>>
>>>>>>>> I've also tried the aspnet_regiis thing as well as setting permissions on folders as
>>>>>>>> described
>>>>>>>> in this article:
>>>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>>>> but no solution.
>>>>>>>>
>>>>>>>> In the event log, I see these three errors every I tried to view my ASP.NET 2.0 site on my
>>>>>>>> local
>>>>>>>> machine...
>>>>>>>>
>>>>>>>> <errors>
>>>>>>>>
>>>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>>>
>>>>>>>> 2.) Failed to execute the request because the ASP.NET process identity does not have read
>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>
>>>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>>>
>>>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>>>
>>>>>>>> Message: Exception of type 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>>>>>>>
>>>>>>>> </errors>
>>>>>>>>
>>>>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers to solutions are much
>>>>>>>> appreciated!!!
>>>>>>>>
>>>>>>>> Thank you all in advance!!!
>>>>>>>>
>>>>>>>> Jon
Hi Juan,

The error message is "Server Application Unavailable". The user account I've
setup in "Directory Security" tab of IIS is "HOME-WKSTATION\ASPNET".

In the event viewer, I get one warning...

Quote:

Originally Posted by

The server was unable to logon the Windows NT account
'HOME-WKSTATION\ASPNET' due to the following error: Logon failure: unknown
user name or bad password.

followed by 6 errors of the same...

Quote:

Originally Posted by

The application-specific permission settings do not grant Local Activation
permission for the COM Server application with CLSID
{A9E69610-B80D-11D0-B9B9-00A0C922E750}
to the user HOME-WKSTATION\ASPNET SID
(S-1-5-21-515967899-413027322-839522115-1007). This security permission can
be modified using the Component Services administrative tool.

I tried setting the user to just "ASPNET" instead of "HOME-WKSTATION\ASPNET"
and I tried to refresh the page in browser and I get "The specified module
could not be found" error.

This time, in the event viewer, I only got one warning...

Quote:

Originally Posted by

The server was unable to logon the Windows NT account 'ASPNET' due to the
following error: The specified module could not be found. The data is the
error code.

Just for the record, all I doing was just executing a test ASP.NET page with
the "Hello World" code in it.

Thanks,
Jon

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:Ov7igK5aGHA.4564@.TK2MSFTNGP03.phx.gbl...
> One more thing...
> Is the error message "Server Application Unavailable" or is it "Server
> Unavailable" ?
> Could you look in the event log, and see what additional info is
> there about your "Server Application Unavailable" error message ?
> Look in "Start Menu", "Programs", "Administrative Tools", "Event Viewer".
> You should be able to find the specific error in the Application log.
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaol : http://asp.net.do/foros/
> ===================================
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:%23KVlT34aGHA.1196@.TK2MSFTNGP03.phx.gbl...
>> re;
>>> Command worked. However, I'm still getting the "Server Unavailable"
>>> error...
>>
>> OK...
>>
>> re:
>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the
>>> article you've provided me was about ASP.NET 2.0 with IIS6).
>>
>> Nevertheless, the article is valid for IIS 5.1 ( which is what you're
>> running, not 5.0 )
>> and ASP.NET 2.0, as long as you disregard the Application Pool info.
>>
>> Please review the permissions outlined in this article.
>> They were written for ASP.NET 1.1, but they are just as valid for ASP.NET
>> 2.0:
>>
>> http://msdn.microsoft.com/library/d.../secnetht01.asp
>>
>> Make sure that the HOME-WKSTATION\ASPNET account has been assigned NTFS
>> permissions to all the directories listed in the chart, making sure, of
>> course, that the proper
>> directory ( \WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) is checked.
>>
>> Make sure you read the instructions in the "Comments" column.
>> *All* the directories listed in the left-most column need the correct
>> NTFS permissions applied.
>>
>> When you're done doing that, test and post your results.
>>
>>
>>
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> aspnetfaq.com : http://www.aspnetfaq.com/
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaol : http://asp.net.do/foros/
>> ===================================
>> "Jon B" <noemail@.sorry.sorry> wrote in message
>> news:ufmBEp4aGHA.3976@.TK2MSFTNGP02.phx.gbl...
>>> Hi Juan,
>>>
>>> Thanks for the reply. I have the latest version in following folder...
>>>
>>> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
>>>
>>> So I switched to that directory in Command Prompt and tried the
>>> following...
>>>
>>> aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>
>>> Command worked. However, I'm still getting the "Server Unavailable"
>>> error...
>>>
>>> Thanks again.
>>>
>>> Jon
>>>
>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>> news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
>>>> Hi, Jon.
>>>>
>>>> re:
>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>>>>> article), I get "Invalid Command"
>>>>
>>>> ...there's your problem.
>>>>
>>>> v2.0.50215 is the beta 2 version of the .Net Framework...which has many
>>>> bugs.
>>>> The -ga command isn't a part of that beta version.
>>>>
>>>> The released version of the .Net Framework is v2.0.50727.42
>>>>
>>>> Uninstall that beta version and download/install -at least- the 2.0
>>>> redistributable :
>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>
>>>> You might want to -instead- download/install the full SDK from :
>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, asp.net MVP
>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>> asp.net faq : http://asp.net.do/faq/
>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>> ===================================
>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>> news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>>>> Hi Juan,
>>>>>
>>>>> The thing is, I cannot execute any ASP.NET pages. Even your
>>>>> Identity.aspx page. I keep on getting the "Server Unavailable" error.
>>>>> That is of course, in ASP.NET 2. However, when I tried with ASP.NET
>>>>> 1.1, I get...
>>>>>
>>>>> HOME-WKSTATION\ASPNET
>>>>>
>>>>> I ran the examples in KBs ***exactly*** the way it presented (with the
>>>>> substitue of the variables of course).
>>>>>
>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of
>>>>> the article you've provided me was about ASP.NET 2.0 with IIS6).
>>>>>
>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>>>>> article), I get "Invalid Command" and a list of switches that
>>>>> aspnet_regiis accepts, which does not contains a 'ga' switch.
>>>>>
>>>>> Plz help...
>>>>>
>>>>> Henry
>>>>
>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>>>>> Are you still getting this error ?
>>>>>>
>>>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>>>> identity does not have read
>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>
>>>>>> Did you run "identity.aspx", which I provided for you ?
>>>>>> Which user account was returned by it ?
>>>>>>
>>>>>> How did you run the example command provided by the KB ?
>>>>>>
>>>>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>>>>
>>>>>> ?
>>>>>>
>>>>>> Have you read this article :
>>>>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>>>>
>>>>>> ?
>>>>>>
>>>>>> Please review the steps in it, for creating a service account for an
>>>>>> ASP.NET 2.0 application,
>>>>>> and make sure that the account retrned by "identity.aspx" has all the
>>>>>> permissions
>>>>>> listed in that article.
>>>>>>
>>>>>> In particular, make sure you run the following aspnet_regiis command
>>>>>> :
>>>>>>
>>>>>> aspnet_regiis -ga MachineName\AccountName
>>>>>>
>>>>>> where "MachineName\AccountName" is the account returned by
>>>>>> "identity.aspx".
>>>>>>
>>>>>> Then post back your results.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Juan T. Llibre, asp.net MVP
>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>> ===================================
>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>> news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>>>>> Hi Juan,
>>>>>>>
>>>>>>> Thanks for the reply. I've set permission to all the folders and
>>>>>>> everything but still it doesn't
>>>>>>> work.
>>>>>>>
>>>>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but
>>>>>>> that doesn't help either.
>>>>>>>
>>>>>>> Any other ideas?
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Jon B
>>>>>>>
>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>>>>> If you're running on Windows XP, the account which needs
>>>>>>>> permissions is
>>>>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>>>>
>>>>>>>> Try granting access permissions to the appropiate account, as
>>>>>>>> outlined above.
>>>>>>>>
>>>>>>>> If you are still having problems after that, and you're
>>>>>>>> impersonating some account,
>>>>>>>> save this code as "identity.aspx" and run it :
>>>>>>>>
>>>>>>>> identity.aspx
>>>>>>>> ========
>>>>>>>>
>>>>>>>> <%@. Page Language="VB" %>
>>>>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>>>>> <script runat="server">
>>>>>>>> Sub Page_Load()
>>>>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>>>>> Label1.Text = tmp
>>>>>>>> End Sub
>>>>>>>> </script>
>>>>>>>> <html>
>>>>>>>> <head>
>>>>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>>>>> </head>
>>>>>>>> <body>
>>>>>>>> <form id="form1" runat="server">
>>>>>>>> <div>
>>>>>>>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>>>>>>>> </div>
>>>>>>>> </form>
>>>>>>>> </body>
>>>>>>>> </html>
>>>>>>>> ======
>>>>>>>>
>>>>>>>> Running that file will tell you which account ASP.NET is running
>>>>>>>> as.
>>>>>>>> Then, assign the appropiate permissions to that account.
>>>>>>>>
>>>>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>>>>> and make sure that you're actually running 1.1 apps against the
>>>>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>>>>
>>>>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>> ===================================
>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>>>>> Hi All!
>>>>>>>>>
>>>>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server.
>>>>>>>>> However, when I tried to view
>>>>>>>>> this site on my local Windows XP machine, I get "Server
>>>>>>>>> Unavailable". If I switch the Windows XP
>>>>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which
>>>>>>>>> is understandable because I'm
>>>>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>>>>
>>>>>>>>> I can however view other ASP.NET 1.1 sites on my local Windows XP
>>>>>>>>> machine. It's only the problem
>>>>>>>>> with
>>>>>>>>>
>>>>>>>>> I've also tried the aspnet_regiis thing as well as setting
>>>>>>>>> permissions on folders as described
>>>>>>>>> in this article:
>>>>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>>>>> but no solution.
>>>>>>>>>
>>>>>>>>> In the event log, I see these three errors every I tried to view
>>>>>>>>> my ASP.NET 2.0 site on my local
>>>>>>>>> machine...
>>>>>>>>>
>>>>>>>>> <errors>
>>>>>>>>>
>>>>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>>>>
>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>>>>> identity does not have read
>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>
>>>>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>>>>
>>>>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>>>>
>>>>>>>>> Message: Exception of type
>>>>>>>>> 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>>>>>>>>
>>>>>>>>> </errors>
>>>>>>>>>
>>>>>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers to
>>>>>>>>> solutions are much
>>>>>>>>> appreciated!!!
>>>>>>>>>
>>>>>>>>> Thank you all in advance!!!
>>>>>>>>>
>>>>>>>>> Jon


Hi Juan,

Here's the batch file I used to set permissions...

[batch]

cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

aspnet_regiis -ga ASPNET
aspnet_regiis -ga home-wkstation\ASPNET

cacls "%windir%\Microsoft.NET\Framework\v2.0.50727\Tempor ary ASP.NET Files"
/e /t /p ASPNET:F
cacls "%windir%\Microsoft.NET\Framework\v2.0.50727\Tempor ary ASP.NET Files"
/e /t /p home-wkstation\ASPNET:F

cacls "%windir%\Temp" /e /t /p ASPNET:F
cacls "%windir%\Temp" /e /t /p home-wkstation\ASPNET:F

cacls "C:\wwwRoot\asp.net_2.0" /e /t /p ASPNET:R
cacls "C:\wwwRoot\asp.net_2.0" /e /t /p home-wkstation\ASPNET:R

cacls "%windir%\Microsoft.NET\Framework\v2.0.50727" /e /t /p ASPNET:R
cacls "%windir%\Microsoft.NET\Framework\v2.0.50727" /e /t /p
home-wkstation\ASPNET:R

cacls "%windir%\System32" /e /t /p ASPNET:R
cacls "%windir%\System32" /e /t /p home-wkstation\ASPNET:R

cacls "%windir%\assembly" /e /t /p ASPNET:R
cacls "%windir%\assembly" /e /t /p home-wkstation\ASPNET:R

pause

[/batch]

Am I missing any directories? My ASP.NET folder is in
"C:\wwwRoot\asp.net_2.0". Note that I'm giving permissions to both "ASPNET"
and "NMA-WKSTATION\ASPNET" accounts, just to make sure.

Thanks,
Jon

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:%23KVlT34aGHA.1196@.TK2MSFTNGP03.phx.gbl...
> re;
>> Command worked. However, I'm still getting the "Server Unavailable"
>> error...
> OK...
> re:
>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the
>> article you've provided me was about ASP.NET 2.0 with IIS6).
> Nevertheless, the article is valid for IIS 5.1 ( which is what you're
> running, not 5.0 )
> and ASP.NET 2.0, as long as you disregard the Application Pool info.
> Please review the permissions outlined in this article.
> They were written for ASP.NET 1.1, but they are just as valid for ASP.NET
> 2.0:
> http://msdn.microsoft.com/library/d.../secnetht01.asp
> Make sure that the HOME-WKSTATION\ASPNET account has been assigned NTFS
> permissions to all the directories listed in the chart, making sure, of
> course, that the proper
> directory ( \WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) is checked.
> Make sure you read the instructions in the "Comments" column.
> *All* the directories listed in the left-most column need the correct NTFS
> permissions applied.
> When you're done doing that, test and post your results.
>
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaol : http://asp.net.do/foros/
> ===================================
> "Jon B" <noemail@.sorry.sorry> wrote in message
> news:ufmBEp4aGHA.3976@.TK2MSFTNGP02.phx.gbl...
>> Hi Juan,
>>
>> Thanks for the reply. I have the latest version in following folder...
>>
>> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
>>
>> So I switched to that directory in Command Prompt and tried the
>> following...
>>
>> aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>
>> Command worked. However, I'm still getting the "Server Unavailable"
>> error...
>>
>> Thanks again.
>>
>> Jon
>>
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
>>> Hi, Jon.
>>>
>>> re:
>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>>>> article), I get "Invalid Command"
>>>
>>> ...there's your problem.
>>>
>>> v2.0.50215 is the beta 2 version of the .Net Framework...which has many
>>> bugs.
>>> The -ga command isn't a part of that beta version.
>>>
>>> The released version of the .Net Framework is v2.0.50727.42
>>>
>>> Uninstall that beta version and download/install -at least- the 2.0
>>> redistributable :
>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>
>>> You might want to -instead- download/install the full SDK from :
>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>> ===================================
>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>> news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>>> Hi Juan,
>>>>
>>>> The thing is, I cannot execute any ASP.NET pages. Even your
>>>> Identity.aspx page. I keep on getting the "Server Unavailable" error.
>>>> That is of course, in ASP.NET 2. However, when I tried with ASP.NET
>>>> 1.1, I get...
>>>>
>>>> HOME-WKSTATION\ASPNET
>>>>
>>>> I ran the examples in KBs ***exactly*** the way it presented (with the
>>>> substitue of the variables of course).
>>>>
>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of
>>>> the article you've provided me was about ASP.NET 2.0 with IIS6).
>>>>
>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>>>> article), I get "Invalid Command" and a list of switches that
>>>> aspnet_regiis accepts, which does not contains a 'ga' switch.
>>>>
>>>> Plz help...
>>>>
>>>> Henry
>>>
>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>>>> Are you still getting this error ?
>>>>>
>>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>>> identity does not have read
>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>
>>>>> Did you run "identity.aspx", which I provided for you ?
>>>>> Which user account was returned by it ?
>>>>>
>>>>> How did you run the example command provided by the KB ?
>>>>>
>>>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>>>
>>>>> ?
>>>>>
>>>>> Have you read this article :
>>>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>>>
>>>>> ?
>>>>>
>>>>> Please review the steps in it, for creating a service account for an
>>>>> ASP.NET 2.0 application,
>>>>> and make sure that the account retrned by "identity.aspx" has all the
>>>>> permissions
>>>>> listed in that article.
>>>>>
>>>>> In particular, make sure you run the following aspnet_regiis command :
>>>>>
>>>>> aspnet_regiis -ga MachineName\AccountName
>>>>>
>>>>> where "MachineName\AccountName" is the account returned by
>>>>> "identity.aspx".
>>>>>
>>>>> Then post back your results.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, asp.net MVP
>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>> asp.net faq : http://asp.net.do/faq/
>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>> ===================================
>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>> news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>>>> Hi Juan,
>>>>>>
>>>>>> Thanks for the reply. I've set permission to all the folders and
>>>>>> everything but still it doesn't
>>>>>> work.
>>>>>>
>>>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but that
>>>>>> doesn't help either.
>>>>>>
>>>>>> Any other ideas?
>>>>>>
>>>>>> Cheers,
>>>>>> Jon B
>>>>>>
>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>>>> If you're running on Windows XP, the account which needs permissions
>>>>>>> is
>>>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>>>
>>>>>>> Try granting access permissions to the appropiate account, as
>>>>>>> outlined above.
>>>>>>>
>>>>>>> If you are still having problems after that, and you're
>>>>>>> impersonating some account,
>>>>>>> save this code as "identity.aspx" and run it :
>>>>>>>
>>>>>>> identity.aspx
>>>>>>> ========
>>>>>>>
>>>>>>> <%@. Page Language="VB" %>
>>>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>>>> <script runat="server">
>>>>>>> Sub Page_Load()
>>>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>>>> Label1.Text = tmp
>>>>>>> End Sub
>>>>>>> </script>
>>>>>>> <html>
>>>>>>> <head>
>>>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>>>> </head>
>>>>>>> <body>
>>>>>>> <form id="form1" runat="server">
>>>>>>> <div>
>>>>>>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>>>>>>> </div>
>>>>>>> </form>
>>>>>>> </body>
>>>>>>> </html>
>>>>>>> ======
>>>>>>>
>>>>>>> Running that file will tell you which account ASP.NET is running as.
>>>>>>> Then, assign the appropiate permissions to that account.
>>>>>>>
>>>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>>>> and make sure that you're actually running 1.1 apps against the
>>>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>>>
>>>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>> ===================================
>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>>>> Hi All!
>>>>>>>>
>>>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server.
>>>>>>>> However, when I tried to view
>>>>>>>> this site on my local Windows XP machine, I get "Server
>>>>>>>> Unavailable". If I switch the Windows XP
>>>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which
>>>>>>>> is understandable because I'm
>>>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>>>
>>>>>>>> I can however view other ASP.NET 1.1 sites on my local Windows XP
>>>>>>>> machine. It's only the problem
>>>>>>>> with
>>>>>>>>
>>>>>>>> I've also tried the aspnet_regiis thing as well as setting
>>>>>>>> permissions on folders as described
>>>>>>>> in this article:
>>>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>>>> but no solution.
>>>>>>>>
>>>>>>>> In the event log, I see these three errors every I tried to view my
>>>>>>>> ASP.NET 2.0 site on my local
>>>>>>>> machine...
>>>>>>>>
>>>>>>>> <errors>
>>>>>>>>
>>>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>>>
>>>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>>>> identity does not have read
>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>
>>>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>>>
>>>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>>>
>>>>>>>> Message: Exception of type
>>>>>>>> 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>>>>>>>
>>>>>>>> </errors>
>>>>>>>>
>>>>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers to
>>>>>>>> solutions are much
>>>>>>>> appreciated!!!
>>>>>>>>
>>>>>>>> Thank you all in advance!!!
>>>>>>>>
>>>>>>>> Jon
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
Hi Juan,

I tried with "HOME-WKSTATION\ASPNET" in "Directory Security" tab of IIS
settings with the "Allow IIS to control password" option checked. I recieved
a warning saying it doesn't support for non-local account or so. I clicked
"Yes".

Now I tried to refresh the page in browser, and I no longer get "Server
Application Unavailable" but got the "The specified module
could not be found" error.

When I looked into the even log, i find only one warning...

Quote:

Originally Posted by


The server was unable to logon the Windows NT account
'HOME-WKSTATION\ASPNET' due to the following error: The specified module
could not be found. The data is the error code.

Any ideas?

Thanks,
Jon

"Jon B" <noemail@.sorry.sorry> wrote in message
news:u$QUsA6aGHA.4292@.TK2MSFTNGP04.phx.gbl...
> Hi Juan,
> The error message is "Server Application Unavailable". The user account
> I've setup in "Directory Security" tab of IIS is "HOME-WKSTATION\ASPNET".
> In the event viewer, I get one warning...
>

Quote:

Originally Posted by

> The server was unable to logon the Windows NT account
> 'HOME-WKSTATION\ASPNET' due to the following error: Logon failure: unknown
> user name or bad password.
>


> followed by 6 errors of the same...
>

Quote:

Originally Posted by

> The application-specific permission settings do not grant Local Activation
> permission for the COM Server application with CLSID
> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
> to the user HOME-WKSTATION\ASPNET SID
> (S-1-5-21-515967899-413027322-839522115-1007). This security permission
> can be modified using the Component Services administrative tool.
>


> I tried setting the user to just "ASPNET" instead of
> "HOME-WKSTATION\ASPNET" and I tried to refresh the page in browser and I
> get "The specified module could not be found" error.
> This time, in the event viewer, I only got one warning...
>

Quote:

Originally Posted by

> The server was unable to logon the Windows NT account 'ASPNET' due to the
> following error: The specified module could not be found. The data is the
> error code.
>


> Just for the record, all I doing was just executing a test ASP.NET page
> with the "Hello World" code in it.
> Thanks,
> Jon
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:Ov7igK5aGHA.4564@.TK2MSFTNGP03.phx.gbl...
>> One more thing...
>>
>> Is the error message "Server Application Unavailable" or is it "Server
>> Unavailable" ?
>>
>> Could you look in the event log, and see what additional info is
>> there about your "Server Application Unavailable" error message ?
>>
>> Look in "Start Menu", "Programs", "Administrative Tools", "Event Viewer".
>> You should be able to find the specific error in the Application log.
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> aspnetfaq.com : http://www.aspnetfaq.com/
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaol : http://asp.net.do/foros/
>> ===================================
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:%23KVlT34aGHA.1196@.TK2MSFTNGP03.phx.gbl...
>>> re;
>>>> Command worked. However, I'm still getting the "Server Unavailable"
>>>> error...
>>>
>>> OK...
>>>
>>> re:
>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of
>>>> the article you've provided me was about ASP.NET 2.0 with IIS6).
>>>
>>> Nevertheless, the article is valid for IIS 5.1 ( which is what you're
>>> running, not 5.0 )
>>> and ASP.NET 2.0, as long as you disregard the Application Pool info.
>>>
>>> Please review the permissions outlined in this article.
>>> They were written for ASP.NET 1.1, but they are just as valid for
>>> ASP.NET 2.0:
>>>
>>> http://msdn.microsoft.com/library/d.../secnetht01.asp
>>>
>>> Make sure that the HOME-WKSTATION\ASPNET account has been assigned NTFS
>>> permissions to all the directories listed in the chart, making sure, of
>>> course, that the proper
>>> directory ( \WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) is checked.
>>>
>>> Make sure you read the instructions in the "Comments" column.
>>> *All* the directories listed in the left-most column need the correct
>>> NTFS permissions applied.
>>>
>>> When you're done doing that, test and post your results.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>> ===================================
>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>> news:ufmBEp4aGHA.3976@.TK2MSFTNGP02.phx.gbl...
>>>> Hi Juan,
>>>>
>>>> Thanks for the reply. I have the latest version in following folder...
>>>>
>>>> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
>>>>
>>>> So I switched to that directory in Command Prompt and tried the
>>>> following...
>>>>
>>>> aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>>
>>>> Command worked. However, I'm still getting the "Server Unavailable"
>>>> error...
>>>>
>>>> Thanks again.
>>>>
>>>> Jon
>>>>
>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>> news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
>>>>> Hi, Jon.
>>>>>
>>>>> re:
>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>>>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>>>>>> article), I get "Invalid Command"
>>>>>
>>>>> ...there's your problem.
>>>>>
>>>>> v2.0.50215 is the beta 2 version of the .Net Framework...which has
>>>>> many bugs.
>>>>> The -ga command isn't a part of that beta version.
>>>>>
>>>>> The released version of the .Net Framework is v2.0.50727.42
>>>>>
>>>>> Uninstall that beta version and download/install -at least- the 2.0
>>>>> redistributable :
>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>
>>>>> You might want to -instead- download/install the full SDK from :
>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, asp.net MVP
>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>> asp.net faq : http://asp.net.do/faq/
>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>> ===================================
>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>> news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>>>>> Hi Juan,
>>>>>>
>>>>>> The thing is, I cannot execute any ASP.NET pages. Even your
>>>>>> Identity.aspx page. I keep on getting the "Server Unavailable" error.
>>>>>> That is of course, in ASP.NET 2. However, when I tried with ASP.NET
>>>>>> 1.1, I get...
>>>>>>
>>>>>> HOME-WKSTATION\ASPNET
>>>>>>
>>>>>> I ran the examples in KBs ***exactly*** the way it presented (with
>>>>>> the substitue of the variables of course).
>>>>>>
>>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of
>>>>>> the article you've provided me was about ASP.NET 2.0 with IIS6).
>>>>>>
>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>>>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>>>>>> article), I get "Invalid Command" and a list of switches that
>>>>>> aspnet_regiis accepts, which does not contains a 'ga' switch.
>>>>>>
>>>>>> Plz help...
>>>>>>
>>>>>> Henry
>>>>>
>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>>>>>> Are you still getting this error ?
>>>>>>>
>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>>>>> identity does not have read
>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>
>>>>>>> Did you run "identity.aspx", which I provided for you ?
>>>>>>> Which user account was returned by it ?
>>>>>>>
>>>>>>> How did you run the example command provided by the KB ?
>>>>>>>
>>>>>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>>>>>
>>>>>>> ?
>>>>>>>
>>>>>>> Have you read this article :
>>>>>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>>>>>
>>>>>>> ?
>>>>>>>
>>>>>>> Please review the steps in it, for creating a service account for an
>>>>>>> ASP.NET 2.0 application,
>>>>>>> and make sure that the account retrned by "identity.aspx" has all
>>>>>>> the permissions
>>>>>>> listed in that article.
>>>>>>>
>>>>>>> In particular, make sure you run the following aspnet_regiis command
>>>>>>> :
>>>>>>>
>>>>>>> aspnet_regiis -ga MachineName\AccountName
>>>>>>>
>>>>>>> where "MachineName\AccountName" is the account returned by
>>>>>>> "identity.aspx".
>>>>>>>
>>>>>>> Then post back your results.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>> ===================================
>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>> news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>>>>>> Hi Juan,
>>>>>>>>
>>>>>>>> Thanks for the reply. I've set permission to all the folders and
>>>>>>>> everything but still it doesn't
>>>>>>>> work.
>>>>>>>>
>>>>>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but
>>>>>>>> that doesn't help either.
>>>>>>>>
>>>>>>>> Any other ideas?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Jon B
>>>>>>>>
>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>> If you're running on Windows XP, the account which needs
>>>>>>>>> permissions is
>>>>>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>>>>>
>>>>>>>>> Try granting access permissions to the appropiate account, as
>>>>>>>>> outlined above.
>>>>>>>>>
>>>>>>>>> If you are still having problems after that, and you're
>>>>>>>>> impersonating some account,
>>>>>>>>> save this code as "identity.aspx" and run it :
>>>>>>>>>
>>>>>>>>> identity.aspx
>>>>>>>>> ========
>>>>>>>>>
>>>>>>>>> <%@. Page Language="VB" %>
>>>>>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>>>>>> <script runat="server">
>>>>>>>>> Sub Page_Load()
>>>>>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>>>>>> Label1.Text = tmp
>>>>>>>>> End Sub
>>>>>>>>> </script>
>>>>>>>>> <html>
>>>>>>>>> <head>
>>>>>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>>>>>> </head>
>>>>>>>>> <body>
>>>>>>>>> <form id="form1" runat="server">
>>>>>>>>> <div>
>>>>>>>>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>>>>>>>>> </div>
>>>>>>>>> </form>
>>>>>>>>> </body>
>>>>>>>>> </html>
>>>>>>>>> ======
>>>>>>>>>
>>>>>>>>> Running that file will tell you which account ASP.NET is running
>>>>>>>>> as.
>>>>>>>>> Then, assign the appropiate permissions to that account.
>>>>>>>>>
>>>>>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>>>>>> and make sure that you're actually running 1.1 apps against the
>>>>>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>>>>>
>>>>>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>> ===================================
>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>>>>>> Hi All!
>>>>>>>>>>
>>>>>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server.
>>>>>>>>>> However, when I tried to view
>>>>>>>>>> this site on my local Windows XP machine, I get "Server
>>>>>>>>>> Unavailable". If I switch the Windows XP
>>>>>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which
>>>>>>>>>> is understandable because I'm
>>>>>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>>>>>
>>>>>>>>>> I can however view other ASP.NET 1.1 sites on my local Windows XP
>>>>>>>>>> machine. It's only the problem
>>>>>>>>>> with
>>>>>>>>>>
>>>>>>>>>> I've also tried the aspnet_regiis thing as well as setting
>>>>>>>>>> permissions on folders as described
>>>>>>>>>> in this article:
>>>>>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>>>>>> but no solution.
>>>>>>>>>>
>>>>>>>>>> In the event log, I see these three errors every I tried to view
>>>>>>>>>> my ASP.NET 2.0 site on my local
>>>>>>>>>> machine...
>>>>>>>>>>
>>>>>>>>>> <errors>
>>>>>>>>>>
>>>>>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>>>>>
>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>>>>>> identity does not have read
>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>>
>>>>>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>>>>>
>>>>>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>>>>>
>>>>>>>>>> Message: Exception of type
>>>>>>>>>> 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>>>>>>>>>
>>>>>>>>>> </errors>
>>>>>>>>>>
>>>>>>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers
>>>>>>>>>> to solutions are much
>>>>>>>>>> appreciated!!!
>>>>>>>>>>
>>>>>>>>>> Thank you all in advance!!!
>>>>>>>>>>
>>>>>>>>>> Jon
>>
>>


re:
The application-specific permission settings do not grant Local Activation
> permission for the COM Server application with CLSID
> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
> to the user HOME-WKSTATION\ASPNET SID (S-1-5-21-515967899-413027322-839522115-1007). This
> security permission can be modified using the Component Services administrative tool.

Have you attempted to grant Local Activation permission to the
COM Server application with CLSID {A9E69610-B80D-11D0-B9B9-00A0C922E750}
to the user HOME-WKSTATION\ASPNET ?

I hope not...because I think that's not the right account.

You say that :
> The user account I've setup in "Directory Security" tab of IIS is "HOME-WKSTATION\ASPNET".

But that account doesn't need to be granted browsing rights.

That account only needs execution rights and access permission to the files, so that
ASP.NET can *send* information to the anonymous account which is browsing the site.

Usually, for anonymous access, the user account selected in the
IIS Manager's Directory Security tab is "IUSR_MACHINENAME".

In your case, that would be "IUSR_HOME-WKSTATION".

Since you probably don't know what the password for that account is,
you might have to *first* change the password for that account...and *then* assign
the "IUSR_HOME-WKSTATION" account as the anonymous account,
making sure that you use the password which you just changed.

I've added the microsoft.public.inetserver.iis newsgroup to this post, so that we can get
opinions from the IIS MVPs and other IIS experts who frequent that newsgroup,
since that is more of an IIS problem than an ASP.NET one.

Guys ?

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Jon B" <noemail@.sorry.sorry> wrote in message news:u$QUsA6aGHA.4292@.TK2MSFTNGP04.phx.gbl...
> Hi Juan,
> The error message is "Server Application Unavailable". The user account I've setup in "Directory
> Security" tab of IIS is "HOME-WKSTATION\ASPNET".
> In the event viewer, I get one warning...
>

Quote:

Originally Posted by

> The server was unable to logon the Windows NT account 'HOME-WKSTATION\ASPNET' due to the following
> error: Logon failure: unknown user name or bad password.
>


> followed by 6 errors of the same...
>

Quote:

Originally Posted by

> The application-specific permission settings do not grant Local Activation permission for the COM
> Server application with CLSID
> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
> to the user HOME-WKSTATION\ASPNET SID (S-1-5-21-515967899-413027322-839522115-1007). This
> security permission can be modified using the Component Services administrative tool.
>


> I tried setting the user to just "ASPNET" instead of "HOME-WKSTATION\ASPNET" and I tried to
> refresh the page in browser and I get "The specified module could not be found" error.
> This time, in the event viewer, I only got one warning...
>

Quote:

Originally Posted by

> The server was unable to logon the Windows NT account 'ASPNET' due to the following error: The
> specified module could not be found. The data is the error code.
>


> Just for the record, all I doing was just executing a test ASP.NET page with the "Hello World"
> code in it.
> Thanks,
> Jon
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:Ov7igK5aGHA.4564@.TK2MSFTNGP03.phx.gbl...
>> One more thing...
>>
>> Is the error message "Server Application Unavailable" or is it "Server Unavailable" ?
>>
>> Could you look in the event log, and see what additional info is
>> there about your "Server Application Unavailable" error message ?
>>
>> Look in "Start Menu", "Programs", "Administrative Tools", "Event Viewer".
>> You should be able to find the specific error in the Application log.
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> aspnetfaq.com : http://www.aspnetfaq.com/
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaol : http://asp.net.do/foros/
>> ===================================
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:%23KVlT34aGHA.1196@.TK2MSFTNGP03.phx.gbl...
>>> re;
>>>> Command worked. However, I'm still getting the "Server Unavailable" error...
>>>
>>> OK...
>>>
>>> re:
>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the article you've
>>>> provided me was about ASP.NET 2.0 with IIS6).
>>>
>>> Nevertheless, the article is valid for IIS 5.1 ( which is what you're running, not 5.0 )
>>> and ASP.NET 2.0, as long as you disregard the Application Pool info.
>>>
>>> Please review the permissions outlined in this article.
>>> They were written for ASP.NET 1.1, but they are just as valid for ASP.NET 2.0:
>>>
>>> http://msdn.microsoft.com/library/d.../secnetht01.asp
>>>
>>> Make sure that the HOME-WKSTATION\ASPNET account has been assigned NTFS
>>> permissions to all the directories listed in the chart, making sure, of course, that the proper
>>> directory ( \WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) is checked.
>>>
>>> Make sure you read the instructions in the "Comments" column.
>>> *All* the directories listed in the left-most column need the correct NTFS permissions applied.
>>>
>>> When you're done doing that, test and post your results.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>> ===================================
>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:ufmBEp4aGHA.3976@.TK2MSFTNGP02.phx.gbl...
>>>> Hi Juan,
>>>>
>>>> Thanks for the reply. I have the latest version in following folder...
>>>>
>>>> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
>>>>
>>>> So I switched to that directory in Command Prompt and tried the following...
>>>>
>>>> aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>>
>>>> Command worked. However, I'm still getting the "Server Unavailable" error...
>>>>
>>>> Thanks again.
>>>>
>>>> Jon
>>>>
>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>> news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
>>>>> Hi, Jon.
>>>>>
>>>>> re:
>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET under
>>>>>> v2.0.50215 folder (as described in the article), I get "Invalid Command"
>>>>>
>>>>> ...there's your problem.
>>>>>
>>>>> v2.0.50215 is the beta 2 version of the .Net Framework...which has many bugs.
>>>>> The -ga command isn't a part of that beta version.
>>>>>
>>>>> The released version of the .Net Framework is v2.0.50727.42
>>>>>
>>>>> Uninstall that beta version and download/install -at least- the 2.0 redistributable :
>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>
>>>>> You might want to -instead- download/install the full SDK from :
>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, asp.net MVP
>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>> asp.net faq : http://asp.net.do/faq/
>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>> ===================================
>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>>>>> Hi Juan,
>>>>>>
>>>>>> The thing is, I cannot execute any ASP.NET pages. Even your Identity.aspx page. I keep on
>>>>>> getting the "Server Unavailable" error. That is of course, in ASP.NET 2. However, when I
>>>>>> tried with ASP.NET 1.1, I get...
>>>>>>
>>>>>> HOME-WKSTATION\ASPNET
>>>>>>
>>>>>> I ran the examples in KBs ***exactly*** the way it presented (with the substitue of the
>>>>>> variables of course).
>>>>>>
>>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the article you've
>>>>>> provided me was about ASP.NET 2.0 with IIS6).
>>>>>>
>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET under
>>>>>> v2.0.50215 folder (as described in the article), I get "Invalid Command" and a list of
>>>>>> switches that aspnet_regiis accepts, which does not contains a 'ga' switch.
>>>>>>
>>>>>> Plz help...
>>>>>>
>>>>>> Henry
>>>>>
>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>>>>>> Are you still getting this error ?
>>>>>>>
>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process identity does not have read
>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>
>>>>>>> Did you run "identity.aspx", which I provided for you ?
>>>>>>> Which user account was returned by it ?
>>>>>>>
>>>>>>> How did you run the example command provided by the KB ?
>>>>>>>
>>>>>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>>>>>
>>>>>>> ?
>>>>>>>
>>>>>>> Have you read this article :
>>>>>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>>>>>
>>>>>>> ?
>>>>>>>
>>>>>>> Please review the steps in it, for creating a service account for an ASP.NET 2.0
>>>>>>> application,
>>>>>>> and make sure that the account retrned by "identity.aspx" has all the permissions
>>>>>>> listed in that article.
>>>>>>>
>>>>>>> In particular, make sure you run the following aspnet_regiis command :
>>>>>>>
>>>>>>> aspnet_regiis -ga MachineName\AccountName
>>>>>>>
>>>>>>> where "MachineName\AccountName" is the account returned by "identity.aspx".
>>>>>>>
>>>>>>> Then post back your results.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>> ===================================
>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>>>>>> Hi Juan,
>>>>>>>>
>>>>>>>> Thanks for the reply. I've set permission to all the folders and everything but still it
>>>>>>>> doesn't
>>>>>>>> work.
>>>>>>>>
>>>>>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but that doesn't help either.
>>>>>>>>
>>>>>>>> Any other ideas?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Jon B
>>>>>>>>
>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>> If you're running on Windows XP, the account which needs permissions is
>>>>>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>>>>>
>>>>>>>>> Try granting access permissions to the appropiate account, as outlined above.
>>>>>>>>>
>>>>>>>>> If you are still having problems after that, and you're impersonating some account,
>>>>>>>>> save this code as "identity.aspx" and run it :
>>>>>>>>>
>>>>>>>>> identity.aspx
>>>>>>>>> ========
>>>>>>>>>
>>>>>>>>> <%@. Page Language="VB" %>
>>>>>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>>>>>> <script runat="server">
>>>>>>>>> Sub Page_Load()
>>>>>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>>>>>> Label1.Text = tmp
>>>>>>>>> End Sub
>>>>>>>>> </script>
>>>>>>>>> <html>
>>>>>>>>> <head>
>>>>>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>>>>>> </head>
>>>>>>>>> <body>
>>>>>>>>> <form id="form1" runat="server">
>>>>>>>>> <div>
>>>>>>>>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>>>>>>>>> </div>
>>>>>>>>> </form>
>>>>>>>>> </body>
>>>>>>>>> </html>
>>>>>>>>> ======
>>>>>>>>>
>>>>>>>>> Running that file will tell you which account ASP.NET is running as.
>>>>>>>>> Then, assign the appropiate permissions to that account.
>>>>>>>>>
>>>>>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>>>>>> and make sure that you're actually running 1.1 apps against the
>>>>>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>>>>>
>>>>>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>> ===================================
>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>>>>>> Hi All!
>>>>>>>>>>
>>>>>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to
>>>>>>>>>> view
>>>>>>>>>> this site on my local Windows XP machine, I get "Server Unavailable". If I switch the
>>>>>>>>>> Windows XP
>>>>>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable
>>>>>>>>>> because I'm
>>>>>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>>>>>
>>>>>>>>>> I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only the
>>>>>>>>>> problem
>>>>>>>>>> with
>>>>>>>>>>
>>>>>>>>>> I've also tried the aspnet_regiis thing as well as setting permissions on folders as
>>>>>>>>>> described
>>>>>>>>>> in this article:
>>>>>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>>>>>> but no solution.
>>>>>>>>>>
>>>>>>>>>> In the event log, I see these three errors every I tried to view my ASP.NET 2.0 site on
>>>>>>>>>> my local
>>>>>>>>>> machine...
>>>>>>>>>>
>>>>>>>>>> <errors>
>>>>>>>>>>
>>>>>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>>>>>
>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process identity does not have
>>>>>>>>>> read
>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>>
>>>>>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>>>>>
>>>>>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>>>>>
>>>>>>>>>> Message: Exception of type 'System.Configuration.ConfigurationErrorsException ' was
>>>>>>>>>> thrown.
>>>>>>>>>>
>>>>>>>>>> </errors>
>>>>>>>>>>
>>>>>>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers to solutions are much
>>>>>>>>>> appreciated!!!
>>>>>>>>>>
>>>>>>>>>> Thank you all in advance!!!
>>>>>>>>>>
>>>>>>>>>> Jon
>>
>>


I've tried with the IUSR_HOME-WKSTATION account and I'm still getting the
"The specified module could not be found." page.

Another interesting observation is that, I can type just about anything,
like http://localhost/sdfsfsdfsdds.aspx which doesnt exists and still get
the "The specified module could not be found." error page.

Thanks again,
Jon

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:Oz4CcR6aGHA.3524@.TK2MSFTNGP04.phx.gbl...
> re:
> The application-specific permission settings do not grant Local Activation
>> permission for the COM Server application with CLSID
>> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>> to the user HOME-WKSTATION\ASPNET SID
>> (S-1-5-21-515967899-413027322-839522115-1007). This security permission
>> can be modified using the Component Services administrative tool.
> Have you attempted to grant Local Activation permission to the
> COM Server application with CLSID {A9E69610-B80D-11D0-B9B9-00A0C922E750}
> to the user HOME-WKSTATION\ASPNET ?
> I hope not...because I think that's not the right account.
> You say that :
>> The user account I've setup in "Directory Security" tab of IIS is
>> "HOME-WKSTATION\ASPNET".
> But that account doesn't need to be granted browsing rights.
> That account only needs execution rights and access permission to the
> files, so that
> ASP.NET can *send* information to the anonymous account which is browsing
> the site.
> Usually, for anonymous access, the user account selected in the
> IIS Manager's Directory Security tab is "IUSR_MACHINENAME".
> In your case, that would be "IUSR_HOME-WKSTATION".
> Since you probably don't know what the password for that account is,
> you might have to *first* change the password for that account...and
> *then* assign
> the "IUSR_HOME-WKSTATION" account as the anonymous account,
> making sure that you use the password which you just changed.
> I've added the microsoft.public.inetserver.iis newsgroup to this post, so
> that we can get
> opinions from the IIS MVPs and other IIS experts who frequent that
> newsgroup,
> since that is more of an IIS problem than an ASP.NET one.
> Guys ?
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaol : http://asp.net.do/foros/
> ===================================
> "Jon B" <noemail@.sorry.sorry> wrote in message
> news:u$QUsA6aGHA.4292@.TK2MSFTNGP04.phx.gbl...
>> Hi Juan,
>>
>> The error message is "Server Application Unavailable". The user account
>> I've setup in "Directory Security" tab of IIS is "HOME-WKSTATION\ASPNET".
>>
>> In the event viewer, I get one warning...
>>
>>

Quote:

Originally Posted by

>> The server was unable to logon the Windows NT account
>> 'HOME-WKSTATION\ASPNET' due to the following error: Logon failure:
>> unknown user name or bad password.
>>


>>
>> followed by 6 errors of the same...
>>
>>

Quote:

Originally Posted by

>> The application-specific permission settings do not grant Local
>> Activation permission for the COM Server application with CLSID
>> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>> to the user HOME-WKSTATION\ASPNET SID
>> (S-1-5-21-515967899-413027322-839522115-1007). This security permission
>> can be modified using the Component Services administrative tool.
>>


>>
>> I tried setting the user to just "ASPNET" instead of
>> "HOME-WKSTATION\ASPNET" and I tried to refresh the page in browser and I
>> get "The specified module could not be found" error.
>>
>> This time, in the event viewer, I only got one warning...
>>
>>

Quote:

Originally Posted by

>> The server was unable to logon the Windows NT account 'ASPNET' due to the
>> following error: The specified module could not be found. The data is
>> the error code.
>>


>>
>> Just for the record, all I doing was just executing a test ASP.NET page
>> with the "Hello World" code in it.
>>
>> Thanks,
>> Jon
>>
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:Ov7igK5aGHA.4564@.TK2MSFTNGP03.phx.gbl...
>>> One more thing...
>>>
>>> Is the error message "Server Application Unavailable" or is it "Server
>>> Unavailable" ?
>>>
>>> Could you look in the event log, and see what additional info is
>>> there about your "Server Application Unavailable" error message ?
>>>
>>> Look in "Start Menu", "Programs", "Administrative Tools", "Event
>>> Viewer".
>>> You should be able to find the specific error in the Application log.
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>> ===================================
>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>> news:%23KVlT34aGHA.1196@.TK2MSFTNGP03.phx.gbl...
>>>> re;
>>>>> Command worked. However, I'm still getting the "Server Unavailable"
>>>>> error...
>>>>
>>>> OK...
>>>>
>>>> re:
>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of
>>>>> the article you've provided me was about ASP.NET 2.0 with IIS6).
>>>>
>>>> Nevertheless, the article is valid for IIS 5.1 ( which is what you're
>>>> running, not 5.0 )
>>>> and ASP.NET 2.0, as long as you disregard the Application Pool info.
>>>>
>>>> Please review the permissions outlined in this article.
>>>> They were written for ASP.NET 1.1, but they are just as valid for
>>>> ASP.NET 2.0:
>>>>
>>>> http://msdn.microsoft.com/library/d.../secnetht01.asp
>>>>
>>>> Make sure that the HOME-WKSTATION\ASPNET account has been assigned NTFS
>>>> permissions to all the directories listed in the chart, making sure, of
>>>> course, that the proper
>>>> directory ( \WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) is checked.
>>>>
>>>> Make sure you read the instructions in the "Comments" column.
>>>> *All* the directories listed in the left-most column need the correct
>>>> NTFS permissions applied.
>>>>
>>>> When you're done doing that, test and post your results.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, asp.net MVP
>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>> asp.net faq : http://asp.net.do/faq/
>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>> ===================================
>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>> news:ufmBEp4aGHA.3976@.TK2MSFTNGP02.phx.gbl...
>>>>> Hi Juan,
>>>>>
>>>>> Thanks for the reply. I have the latest version in following folder...
>>>>>
>>>>> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
>>>>>
>>>>> So I switched to that directory in Command Prompt and tried the
>>>>> following...
>>>>>
>>>>> aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>>>
>>>>> Command worked. However, I'm still getting the "Server Unavailable"
>>>>> error...
>>>>>
>>>>> Thanks again.
>>>>>
>>>>> Jon
>>>>>
>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>> news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
>>>>>> Hi, Jon.
>>>>>>
>>>>>> re:
>>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>>>>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>>>>>>> article), I get "Invalid Command"
>>>>>>
>>>>>> ...there's your problem.
>>>>>>
>>>>>> v2.0.50215 is the beta 2 version of the .Net Framework...which has
>>>>>> many bugs.
>>>>>> The -ga command isn't a part of that beta version.
>>>>>>
>>>>>> The released version of the .Net Framework is v2.0.50727.42
>>>>>>
>>>>>> Uninstall that beta version and download/install -at least- the 2.0
>>>>>> redistributable :
>>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>>
>>>>>> You might want to -instead- download/install the full SDK from :
>>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Juan T. Llibre, asp.net MVP
>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>> ===================================
>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>> news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>>>>>> Hi Juan,
>>>>>>>
>>>>>>> The thing is, I cannot execute any ASP.NET pages. Even your
>>>>>>> Identity.aspx page. I keep on getting the "Server Unavailable"
>>>>>>> error. That is of course, in ASP.NET 2. However, when I tried with
>>>>>>> ASP.NET 1.1, I get...
>>>>>>>
>>>>>>> HOME-WKSTATION\ASPNET
>>>>>>>
>>>>>>> I ran the examples in KBs ***exactly*** the way it presented (with
>>>>>>> the substitue of the variables of course).
>>>>>>>
>>>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of
>>>>>>> the article you've provided me was about ASP.NET 2.0 with IIS6).
>>>>>>>
>>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>>>>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>>>>>>> article), I get "Invalid Command" and a list of switches that
>>>>>>> aspnet_regiis accepts, which does not contains a 'ga' switch.
>>>>>>>
>>>>>>> Plz help...
>>>>>>>
>>>>>>> Henry
>>>>>>
>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>>>>>>> Are you still getting this error ?
>>>>>>>>
>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>>>>>> identity does not have read
>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>
>>>>>>>> Did you run "identity.aspx", which I provided for you ?
>>>>>>>> Which user account was returned by it ?
>>>>>>>>
>>>>>>>> How did you run the example command provided by the KB ?
>>>>>>>>
>>>>>>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>>>>>>
>>>>>>>> ?
>>>>>>>>
>>>>>>>> Have you read this article :
>>>>>>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>>>>>>
>>>>>>>> ?
>>>>>>>>
>>>>>>>> Please review the steps in it, for creating a service account for
>>>>>>>> an ASP.NET 2.0 application,
>>>>>>>> and make sure that the account retrned by "identity.aspx" has all
>>>>>>>> the permissions
>>>>>>>> listed in that article.
>>>>>>>>
>>>>>>>> In particular, make sure you run the following aspnet_regiis
>>>>>>>> command :
>>>>>>>>
>>>>>>>> aspnet_regiis -ga MachineName\AccountName
>>>>>>>>
>>>>>>>> where "MachineName\AccountName" is the account returned by
>>>>>>>> "identity.aspx".
>>>>>>>>
>>>>>>>> Then post back your results.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>> ===================================
>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>> news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>>>>>>> Hi Juan,
>>>>>>>>>
>>>>>>>>> Thanks for the reply. I've set permission to all the folders and
>>>>>>>>> everything but still it doesn't
>>>>>>>>> work.
>>>>>>>>>
>>>>>>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but
>>>>>>>>> that doesn't help either.
>>>>>>>>>
>>>>>>>>> Any other ideas?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> Jon B
>>>>>>>>>
>>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>>> If you're running on Windows XP, the account which needs
>>>>>>>>>> permissions is
>>>>>>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>>>>>>
>>>>>>>>>> Try granting access permissions to the appropiate account, as
>>>>>>>>>> outlined above.
>>>>>>>>>>
>>>>>>>>>> If you are still having problems after that, and you're
>>>>>>>>>> impersonating some account,
>>>>>>>>>> save this code as "identity.aspx" and run it :
>>>>>>>>>>
>>>>>>>>>> identity.aspx
>>>>>>>>>> ========
>>>>>>>>>>
>>>>>>>>>> <%@. Page Language="VB" %>
>>>>>>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>>>>>>> <script runat="server">
>>>>>>>>>> Sub Page_Load()
>>>>>>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>>>>>>> Label1.Text = tmp
>>>>>>>>>> End Sub
>>>>>>>>>> </script>
>>>>>>>>>> <html>
>>>>>>>>>> <head>
>>>>>>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>>>>>>> </head>
>>>>>>>>>> <body>
>>>>>>>>>> <form id="form1" runat="server">
>>>>>>>>>> <div>
>>>>>>>>>> <asp:Label ID="Label1" Runat="server"
>>>>>>>>>> Text="Label"></asp:Label>
>>>>>>>>>> </div>
>>>>>>>>>> </form>
>>>>>>>>>> </body>
>>>>>>>>>> </html>
>>>>>>>>>> ======
>>>>>>>>>>
>>>>>>>>>> Running that file will tell you which account ASP.NET is running
>>>>>>>>>> as.
>>>>>>>>>> Then, assign the appropiate permissions to that account.
>>>>>>>>>>
>>>>>>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>>>>>>> and make sure that you're actually running 1.1 apps against the
>>>>>>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>>>>>>
>>>>>>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>>> ===================================
>>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>>> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>>>>>>> Hi All!
>>>>>>>>>>>
>>>>>>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server.
>>>>>>>>>>> However, when I tried to view
>>>>>>>>>>> this site on my local Windows XP machine, I get "Server
>>>>>>>>>>> Unavailable". If I switch the Windows XP
>>>>>>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error
>>>>>>>>>>> (which is understandable because I'm
>>>>>>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>>>>>>
>>>>>>>>>>> I can however view other ASP.NET 1.1 sites on my local Windows
>>>>>>>>>>> XP machine. It's only the problem
>>>>>>>>>>> with
>>>>>>>>>>>
>>>>>>>>>>> I've also tried the aspnet_regiis thing as well as setting
>>>>>>>>>>> permissions on folders as described
>>>>>>>>>>> in this article:
>>>>>>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>>>>>>> but no solution.
>>>>>>>>>>>
>>>>>>>>>>> In the event log, I see these three errors every I tried to view
>>>>>>>>>>> my ASP.NET 2.0 site on my local
>>>>>>>>>>> machine...
>>>>>>>>>>>
>>>>>>>>>>> <errors>
>>>>>>>>>>>
>>>>>>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>>>>>>
>>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>>>>>>> identity does not have read
>>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>>>
>>>>>>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>>>>>>
>>>>>>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>>>>>>
>>>>>>>>>>> Message: Exception of type
>>>>>>>>>>> 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>>>>>>>>>>
>>>>>>>>>>> </errors>
>>>>>>>>>>>
>>>>>>>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers
>>>>>>>>>>> to solutions are much
>>>>>>>>>>> appreciated!!!
>>>>>>>>>>>
>>>>>>>>>>> Thank you all in advance!!!
>>>>>>>>>>>
>>>>>>>>>>> Jon
>>>
>>>
>>
>>


guys...

"Jon B" <noemail@.sorry.sorry> wrote in message
news:ezApV3%23aGHA.1204@.TK2MSFTNGP04.phx.gbl...
> I've tried with the IUSR_HOME-WKSTATION account and I'm still getting the
> "The specified module could not be found." page.
> Another interesting observation is that, I can type just about anything,
> like http://localhost/sdfsfsdfsdds.aspx which doesnt exists and still get
> the "The specified module could not be found." error page.
> Thanks again,
> Jon
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:Oz4CcR6aGHA.3524@.TK2MSFTNGP04.phx.gbl...
>> re:
>> The application-specific permission settings do not grant Local
>> Activation
>>> permission for the COM Server application with CLSID
>>> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>>> to the user HOME-WKSTATION\ASPNET SID
>>> (S-1-5-21-515967899-413027322-839522115-1007). This security permission
>>> can be modified using the Component Services administrative tool.
>>
>> Have you attempted to grant Local Activation permission to the
>> COM Server application with CLSID {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>> to the user HOME-WKSTATION\ASPNET ?
>>
>> I hope not...because I think that's not the right account.
>>
>> You say that :
>>> The user account I've setup in "Directory Security" tab of IIS is
>>> "HOME-WKSTATION\ASPNET".
>>
>> But that account doesn't need to be granted browsing rights.
>>
>> That account only needs execution rights and access permission to the
>> files, so that
>> ASP.NET can *send* information to the anonymous account which is browsing
>> the site.
>>
>> Usually, for anonymous access, the user account selected in the
>> IIS Manager's Directory Security tab is "IUSR_MACHINENAME".
>>
>> In your case, that would be "IUSR_HOME-WKSTATION".
>>
>> Since you probably don't know what the password for that account is,
>> you might have to *first* change the password for that account...and
>> *then* assign
>> the "IUSR_HOME-WKSTATION" account as the anonymous account,
>> making sure that you use the password which you just changed.
>>
>> I've added the microsoft.public.inetserver.iis newsgroup to this post, so
>> that we can get
>> opinions from the IIS MVPs and other IIS experts who frequent that
>> newsgroup,
>> since that is more of an IIS problem than an ASP.NET one.
>>
>> Guys ?
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> aspnetfaq.com : http://www.aspnetfaq.com/
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaol : http://asp.net.do/foros/
>> ===================================
>> "Jon B" <noemail@.sorry.sorry> wrote in message
>> news:u$QUsA6aGHA.4292@.TK2MSFTNGP04.phx.gbl...
>>> Hi Juan,
>>>
>>> The error message is "Server Application Unavailable". The user account
>>> I've setup in "Directory Security" tab of IIS is
>>> "HOME-WKSTATION\ASPNET".
>>>
>>> In the event viewer, I get one warning...
>>>
>>>

Quote:

Originally Posted by

>>> The server was unable to logon the Windows NT account
>>> 'HOME-WKSTATION\ASPNET' due to the following error: Logon failure:
>>> unknown user name or bad password.
>>>


>>>
>>> followed by 6 errors of the same...
>>>
>>>

Quote:

Originally Posted by

>>> The application-specific permission settings do not grant Local
>>> Activation permission for the COM Server application with CLSID
>>> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>>> to the user HOME-WKSTATION\ASPNET SID
>>> (S-1-5-21-515967899-413027322-839522115-1007). This security permission
>>> can be modified using the Component Services administrative tool.
>>>


>>>
>>> I tried setting the user to just "ASPNET" instead of
>>> "HOME-WKSTATION\ASPNET" and I tried to refresh the page in browser and I
>>> get "The specified module could not be found" error.
>>>
>>> This time, in the event viewer, I only got one warning...
>>>
>>>

Quote:

Originally Posted by

>>> The server was unable to logon the Windows NT account 'ASPNET' due to
>>> the following error: The specified module could not be found. The data
>>> is the error code.
>>>


>>>
>>> Just for the record, all I doing was just executing a test ASP.NET page
>>> with the "Hello World" code in it.
>>>
>>> Thanks,
>>> Jon
>>>
>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>> news:Ov7igK5aGHA.4564@.TK2MSFTNGP03.phx.gbl...
>>>> One more thing...
>>>>
>>>> Is the error message "Server Application Unavailable" or is it "Server
>>>> Unavailable" ?
>>>>
>>>> Could you look in the event log, and see what additional info is
>>>> there about your "Server Application Unavailable" error message ?
>>>>
>>>> Look in "Start Menu", "Programs", "Administrative Tools", "Event
>>>> Viewer".
>>>> You should be able to find the specific error in the Application log.
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, asp.net MVP
>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>> asp.net faq : http://asp.net.do/faq/
>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>> ===================================
>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>> news:%23KVlT34aGHA.1196@.TK2MSFTNGP03.phx.gbl...
>>>>> re;
>>>>>> Command worked. However, I'm still getting the "Server Unavailable"
>>>>>> error...
>>>>>
>>>>> OK...
>>>>>
>>>>> re:
>>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of
>>>>>> the article you've provided me was about ASP.NET 2.0 with IIS6).
>>>>>
>>>>> Nevertheless, the article is valid for IIS 5.1 ( which is what you're
>>>>> running, not 5.0 )
>>>>> and ASP.NET 2.0, as long as you disregard the Application Pool info.
>>>>>
>>>>> Please review the permissions outlined in this article.
>>>>> They were written for ASP.NET 1.1, but they are just as valid for
>>>>> ASP.NET 2.0:
>>>>>
>>>>> http://msdn.microsoft.com/library/d.../secnetht01.asp
>>>>>
>>>>> Make sure that the HOME-WKSTATION\ASPNET account has been assigned
>>>>> NTFS
>>>>> permissions to all the directories listed in the chart, making sure,
>>>>> of course, that the proper
>>>>> directory ( \WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) is checked.
>>>>>
>>>>> Make sure you read the instructions in the "Comments" column.
>>>>> *All* the directories listed in the left-most column need the correct
>>>>> NTFS permissions applied.
>>>>>
>>>>> When you're done doing that, test and post your results.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, asp.net MVP
>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>> asp.net faq : http://asp.net.do/faq/
>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>> ===================================
>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>> news:ufmBEp4aGHA.3976@.TK2MSFTNGP02.phx.gbl...
>>>>>> Hi Juan,
>>>>>>
>>>>>> Thanks for the reply. I have the latest version in following
>>>>>> folder...
>>>>>>
>>>>>> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
>>>>>>
>>>>>> So I switched to that directory in Command Prompt and tried the
>>>>>> following...
>>>>>>
>>>>>> aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>>>>
>>>>>> Command worked. However, I'm still getting the "Server Unavailable"
>>>>>> error...
>>>>>>
>>>>>> Thanks again.
>>>>>>
>>>>>> Jon
>>>>>>
>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>> news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
>>>>>>> Hi, Jon.
>>>>>>>
>>>>>>> re:
>>>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>>>>>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>>>>>>>> article), I get "Invalid Command"
>>>>>>>
>>>>>>> ...there's your problem.
>>>>>>>
>>>>>>> v2.0.50215 is the beta 2 version of the .Net Framework...which has
>>>>>>> many bugs.
>>>>>>> The -ga command isn't a part of that beta version.
>>>>>>>
>>>>>>> The released version of the .Net Framework is v2.0.50727.42
>>>>>>>
>>>>>>> Uninstall that beta version and download/install -at least- the 2.0
>>>>>>> redistributable :
>>>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>>>
>>>>>>> You might want to -instead- download/install the full SDK from :
>>>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>> ===================================
>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>> news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>>>>>>> Hi Juan,
>>>>>>>>
>>>>>>>> The thing is, I cannot execute any ASP.NET pages. Even your
>>>>>>>> Identity.aspx page. I keep on getting the "Server Unavailable"
>>>>>>>> error. That is of course, in ASP.NET 2. However, when I tried with
>>>>>>>> ASP.NET 1.1, I get...
>>>>>>>>
>>>>>>>> HOME-WKSTATION\ASPNET
>>>>>>>>
>>>>>>>> I ran the examples in KBs ***exactly*** the way it presented (with
>>>>>>>> the substitue of the variables of course).
>>>>>>>>
>>>>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because
>>>>>>>> of the article you've provided me was about ASP.NET 2.0 with IIS6).
>>>>>>>>
>>>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>>>>>> HOME-WKSTATION\ASPNET under v2.0.50215 folder (as described in the
>>>>>>>> article), I get "Invalid Command" and a list of switches that
>>>>>>>> aspnet_regiis accepts, which does not contains a 'ga' switch.
>>>>>>>>
>>>>>>>> Plz help...
>>>>>>>>
>>>>>>>> Henry
>>>>>>>
>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>> Are you still getting this error ?
>>>>>>>>>
>>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>>>>>>> identity does not have read
>>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>
>>>>>>>>> Did you run "identity.aspx", which I provided for you ?
>>>>>>>>> Which user account was returned by it ?
>>>>>>>>>
>>>>>>>>> How did you run the example command provided by the KB ?
>>>>>>>>>
>>>>>>>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>>>>>>>
>>>>>>>>> ?
>>>>>>>>>
>>>>>>>>> Have you read this article :
>>>>>>>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>>>>>>>
>>>>>>>>> ?
>>>>>>>>>
>>>>>>>>> Please review the steps in it, for creating a service account for
>>>>>>>>> an ASP.NET 2.0 application,
>>>>>>>>> and make sure that the account retrned by "identity.aspx" has all
>>>>>>>>> the permissions
>>>>>>>>> listed in that article.
>>>>>>>>>
>>>>>>>>> In particular, make sure you run the following aspnet_regiis
>>>>>>>>> command :
>>>>>>>>>
>>>>>>>>> aspnet_regiis -ga MachineName\AccountName
>>>>>>>>>
>>>>>>>>> where "MachineName\AccountName" is the account returned by
>>>>>>>>> "identity.aspx".
>>>>>>>>>
>>>>>>>>> Then post back your results.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>> ===================================
>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>> news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>>>>>>>> Hi Juan,
>>>>>>>>>>
>>>>>>>>>> Thanks for the reply. I've set permission to all the folders and
>>>>>>>>>> everything but still it doesn't
>>>>>>>>>> work.
>>>>>>>>>>
>>>>>>>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but
>>>>>>>>>> that doesn't help either.
>>>>>>>>>>
>>>>>>>>>> Any other ideas?
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> Jon B
>>>>>>>>>>
>>>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>>>> If you're running on Windows XP, the account which needs
>>>>>>>>>>> permissions is
>>>>>>>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>>>>>>>
>>>>>>>>>>> Try granting access permissions to the appropiate account, as
>>>>>>>>>>> outlined above.
>>>>>>>>>>>
>>>>>>>>>>> If you are still having problems after that, and you're
>>>>>>>>>>> impersonating some account,
>>>>>>>>>>> save this code as "identity.aspx" and run it :
>>>>>>>>>>>
>>>>>>>>>>> identity.aspx
>>>>>>>>>>> ========
>>>>>>>>>>>
>>>>>>>>>>> <%@. Page Language="VB" %>
>>>>>>>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>>>>>>>> <script runat="server">
>>>>>>>>>>> Sub Page_Load()
>>>>>>>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>>>>>>>> Label1.Text = tmp
>>>>>>>>>>> End Sub
>>>>>>>>>>> </script>
>>>>>>>>>>> <html>
>>>>>>>>>>> <head>
>>>>>>>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>>>>>>>> </head>
>>>>>>>>>>> <body>
>>>>>>>>>>> <form id="form1" runat="server">
>>>>>>>>>>> <div>
>>>>>>>>>>> <asp:Label ID="Label1" Runat="server"
>>>>>>>>>>> Text="Label"></asp:Label>
>>>>>>>>>>> </div>
>>>>>>>>>>> </form>
>>>>>>>>>>> </body>
>>>>>>>>>>> </html>
>>>>>>>>>>> ======
>>>>>>>>>>>
>>>>>>>>>>> Running that file will tell you which account ASP.NET is running
>>>>>>>>>>> as.
>>>>>>>>>>> Then, assign the appropiate permissions to that account.
>>>>>>>>>>>
>>>>>>>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>>>>>>>> and make sure that you're actually running 1.1 apps against the
>>>>>>>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>>>>>>>
>>>>>>>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>>>> ===================================
>>>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>>>> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>>>>>>>> Hi All!
>>>>>>>>>>>>
>>>>>>>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000
>>>>>>>>>>>> Server. However, when I tried to view
>>>>>>>>>>>> this site on my local Windows XP machine, I get "Server
>>>>>>>>>>>> Unavailable". If I switch the Windows XP
>>>>>>>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error
>>>>>>>>>>>> (which is understandable because I'm
>>>>>>>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>>>>>>>
>>>>>>>>>>>> I can however view other ASP.NET 1.1 sites on my local Windows
>>>>>>>>>>>> XP machine. It's only the problem
>>>>>>>>>>>> with
>>>>>>>>>>>>
>>>>>>>>>>>> I've also tried the aspnet_regiis thing as well as setting
>>>>>>>>>>>> permissions on folders as described
>>>>>>>>>>>> in this article:
>>>>>>>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>>>>>>>> but no solution.
>>>>>>>>>>>>
>>>>>>>>>>>> In the event log, I see these three errors every I tried to
>>>>>>>>>>>> view my ASP.NET 2.0 site on my local
>>>>>>>>>>>> machine...
>>>>>>>>>>>>
>>>>>>>>>>>> <errors>
>>>>>>>>>>>>
>>>>>>>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>>>>>>>
>>>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>>>>>>>> identity does not have read
>>>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>>>>
>>>>>>>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>>>>>>>
>>>>>>>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>>>>>>>
>>>>>>>>>>>> Message: Exception of type
>>>>>>>>>>>> 'System.Configuration.ConfigurationErrorsException ' was thrown.
>>>>>>>>>>>>
>>>>>>>>>>>> </errors>
>>>>>>>>>>>>
>>>>>>>>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers
>>>>>>>>>>>> to solutions are much
>>>>>>>>>>>> appreciated!!!
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you all in advance!!!
>>>>>>>>>>>>
>>>>>>>>>>>> Jon
>>>>
>>>>
>>>
>>>
>>
>>


Maybe it's time for a complete uninstall/reinstall,
instead of trying to fix what seems to be a major screw-up ?

1. uninstall the .Net Framework 2.0
2. uninstall IIS
3. backup your website(s) [ c:\inetpub\wwwroot\* ]
4. delete c:\WINDOWS\system32\inetsrv and all its subdirectories
5. reinstall IIS
6. reinstall the .Net Framework 2.0
7. restore your website(s)

You should be OK, with all default options, after that.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Jon B" <noemail@.sorry.sorry> wrote in message news:Ok$PLGBbGHA.3408@.TK2MSFTNGP04.phx.gbl...
> guys...
> "Jon B" <noemail@.sorry.sorry> wrote in message news:ezApV3%23aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>> I've tried with the IUSR_HOME-WKSTATION account and I'm still getting the "The specified module
>> could not be found." page.
>>
>> Another interesting observation is that, I can type just about anything, like
>> http://localhost/sdfsfsdfsdds.aspx which doesnt exists and still get the "The specified module
>> could not be found." error page.
>>
>> Thanks again,
>> Jon
>>
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:Oz4CcR6aGHA.3524@.TK2MSFTNGP04.phx.gbl...
>>> re:
>>> The application-specific permission settings do not grant Local Activation
>>>> permission for the COM Server application with CLSID
>>>> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>>>> to the user HOME-WKSTATION\ASPNET SID (S-1-5-21-515967899-413027322-839522115-1007). This
>>>> security permission can be modified using the Component Services administrative tool.
>>>
>>> Have you attempted to grant Local Activation permission to the
>>> COM Server application with CLSID {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>>> to the user HOME-WKSTATION\ASPNET ?
>>>
>>> I hope not...because I think that's not the right account.
>>>
>>> You say that :
>>>> The user account I've setup in "Directory Security" tab of IIS is "HOME-WKSTATION\ASPNET".
>>>
>>> But that account doesn't need to be granted browsing rights.
>>>
>>> That account only needs execution rights and access permission to the files, so that
>>> ASP.NET can *send* information to the anonymous account which is browsing the site.
>>>
>>> Usually, for anonymous access, the user account selected in the
>>> IIS Manager's Directory Security tab is "IUSR_MACHINENAME".
>>>
>>> In your case, that would be "IUSR_HOME-WKSTATION".
>>>
>>> Since you probably don't know what the password for that account is,
>>> you might have to *first* change the password for that account...and *then* assign
>>> the "IUSR_HOME-WKSTATION" account as the anonymous account,
>>> making sure that you use the password which you just changed.
>>>
>>> I've added the microsoft.public.inetserver.iis newsgroup to this post, so that we can get
>>> opinions from the IIS MVPs and other IIS experts who frequent that newsgroup,
>>> since that is more of an IIS problem than an ASP.NET one.
>>>
>>> Guys ?
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>> ===================================
>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:u$QUsA6aGHA.4292@.TK2MSFTNGP04.phx.gbl...
>>>> Hi Juan,
>>>>
>>>> The error message is "Server Application Unavailable". The user account I've setup in
>>>> "Directory Security" tab of IIS is "HOME-WKSTATION\ASPNET".
>>>>
>>>> In the event viewer, I get one warning...
>>>>
>>>>

Quote:

Originally Posted by

>>>> The server was unable to logon the Windows NT account 'HOME-WKSTATION\ASPNET' due to the
>>>> following error: Logon failure: unknown user name or bad password.
>>>>


>>>>
>>>> followed by 6 errors of the same...
>>>>
>>>>

Quote:

Originally Posted by

>>>> The application-specific permission settings do not grant Local Activation permission for the
>>>> COM Server application with CLSID
>>>> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>>>> to the user HOME-WKSTATION\ASPNET SID (S-1-5-21-515967899-413027322-839522115-1007). This
>>>> security permission can be modified using the Component Services administrative tool.
>>>>


>>>>
>>>> I tried setting the user to just "ASPNET" instead of "HOME-WKSTATION\ASPNET" and I tried to
>>>> refresh the page in browser and I get "The specified module could not be found" error.
>>>>
>>>> This time, in the event viewer, I only got one warning...
>>>>
>>>>

Quote:

Originally Posted by

>>>> The server was unable to logon the Windows NT account 'ASPNET' due to the following error: The
>>>> specified module could not be found. The data is the error code.
>>>>


>>>>
>>>> Just for the record, all I doing was just executing a test ASP.NET page with the "Hello World"
>>>> code in it.
>>>>
>>>> Thanks,
>>>> Jon
>>>>
>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>> news:Ov7igK5aGHA.4564@.TK2MSFTNGP03.phx.gbl...
>>>>> One more thing...
>>>>>
>>>>> Is the error message "Server Application Unavailable" or is it "Server Unavailable" ?
>>>>>
>>>>> Could you look in the event log, and see what additional info is
>>>>> there about your "Server Application Unavailable" error message ?
>>>>>
>>>>> Look in "Start Menu", "Programs", "Administrative Tools", "Event Viewer".
>>>>> You should be able to find the specific error in the Application log.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, asp.net MVP
>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>> asp.net faq : http://asp.net.do/faq/
>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>> ===================================
>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>> news:%23KVlT34aGHA.1196@.TK2MSFTNGP03.phx.gbl...
>>>>>> re;
>>>>>>> Command worked. However, I'm still getting the "Server Unavailable" error...
>>>>>>
>>>>>> OK...
>>>>>>
>>>>>> re:
>>>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the article you've
>>>>>>> provided me was about ASP.NET 2.0 with IIS6).
>>>>>>
>>>>>> Nevertheless, the article is valid for IIS 5.1 ( which is what you're running, not 5.0 )
>>>>>> and ASP.NET 2.0, as long as you disregard the Application Pool info.
>>>>>>
>>>>>> Please review the permissions outlined in this article.
>>>>>> They were written for ASP.NET 1.1, but they are just as valid for ASP.NET 2.0:
>>>>>>
>>>>>> http://msdn.microsoft.com/library/d.../secnetht01.asp
>>>>>>
>>>>>> Make sure that the HOME-WKSTATION\ASPNET account has been assigned NTFS
>>>>>> permissions to all the directories listed in the chart, making sure, of course, that the
>>>>>> proper
>>>>>> directory ( \WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) is checked.
>>>>>>
>>>>>> Make sure you read the instructions in the "Comments" column.
>>>>>> *All* the directories listed in the left-most column need the correct NTFS permissions
>>>>>> applied.
>>>>>>
>>>>>> When you're done doing that, test and post your results.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Juan T. Llibre, asp.net MVP
>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>> ===================================
>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:ufmBEp4aGHA.3976@.TK2MSFTNGP02.phx.gbl...
>>>>>>> Hi Juan,
>>>>>>>
>>>>>>> Thanks for the reply. I have the latest version in following folder...
>>>>>>>
>>>>>>> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
>>>>>>>
>>>>>>> So I switched to that directory in Command Prompt and tried the following...
>>>>>>>
>>>>>>> aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>>>>>
>>>>>>> Command worked. However, I'm still getting the "Server Unavailable" error...
>>>>>>>
>>>>>>> Thanks again.
>>>>>>>
>>>>>>> Jon
>>>>>>>
>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>> news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
>>>>>>>> Hi, Jon.
>>>>>>>>
>>>>>>>> re:
>>>>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>>>>>>> under v2.0.50215 folder (as described in the article), I get "Invalid Command"
>>>>>>>>
>>>>>>>> ...there's your problem.
>>>>>>>>
>>>>>>>> v2.0.50215 is the beta 2 version of the .Net Framework...which has many bugs.
>>>>>>>> The -ga command isn't a part of that beta version.
>>>>>>>>
>>>>>>>> The released version of the .Net Framework is v2.0.50727.42
>>>>>>>>
>>>>>>>> Uninstall that beta version and download/install -at least- the 2.0 redistributable :
>>>>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>>>>
>>>>>>>> You might want to -instead- download/install the full SDK from :
>>>>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>> ===================================
>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>> news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>>>>>>>> Hi Juan,
>>>>>>>>>
>>>>>>>>> The thing is, I cannot execute any ASP.NET pages. Even your Identity.aspx page. I keep on
>>>>>>>>> getting the "Server Unavailable" error. That is of course, in ASP.NET 2. However, when I
>>>>>>>>> tried with ASP.NET 1.1, I get...
>>>>>>>>>
>>>>>>>>> HOME-WKSTATION\ASPNET
>>>>>>>>>
>>>>>>>>> I ran the examples in KBs ***exactly*** the way it presented (with the substitue of the
>>>>>>>>> variables of course).
>>>>>>>>>
>>>>>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the article you've
>>>>>>>>> provided me was about ASP.NET 2.0 with IIS6).
>>>>>>>>>
>>>>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>>>>>>> under v2.0.50215 folder (as described in the article), I get "Invalid Command" and a list
>>>>>>>>> of switches that aspnet_regiis accepts, which does not contains a 'ga' switch.
>>>>>>>>>
>>>>>>>>> Plz help...
>>>>>>>>>
>>>>>>>>> Henry
>>>>>>>>
>>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>>> Are you still getting this error ?
>>>>>>>>>>
>>>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process identity does not have
>>>>>>>>>>>> read
>>>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>>
>>>>>>>>>> Did you run "identity.aspx", which I provided for you ?
>>>>>>>>>> Which user account was returned by it ?
>>>>>>>>>>
>>>>>>>>>> How did you run the example command provided by the KB ?
>>>>>>>>>>
>>>>>>>>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>>>>>>>>
>>>>>>>>>> ?
>>>>>>>>>>
>>>>>>>>>> Have you read this article :
>>>>>>>>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>>>>>>>>
>>>>>>>>>> ?
>>>>>>>>>>
>>>>>>>>>> Please review the steps in it, for creating a service account for an ASP.NET 2.0
>>>>>>>>>> application,
>>>>>>>>>> and make sure that the account retrned by "identity.aspx" has all the permissions
>>>>>>>>>> listed in that article.
>>>>>>>>>>
>>>>>>>>>> In particular, make sure you run the following aspnet_regiis command :
>>>>>>>>>>
>>>>>>>>>> aspnet_regiis -ga MachineName\AccountName
>>>>>>>>>>
>>>>>>>>>> where "MachineName\AccountName" is the account returned by "identity.aspx".
>>>>>>>>>>
>>>>>>>>>> Then post back your results.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>>> ===================================
>>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>>> news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>>>>>>>>> Hi Juan,
>>>>>>>>>>>
>>>>>>>>>>> Thanks for the reply. I've set permission to all the folders and everything but still it
>>>>>>>>>>> doesn't
>>>>>>>>>>> work.
>>>>>>>>>>>
>>>>>>>>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but that doesn't help
>>>>>>>>>>> either.
>>>>>>>>>>>
>>>>>>>>>>> Any other ideas?
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> Jon B
>>>>>>>>>>>
>>>>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>>>>> If you're running on Windows XP, the account which needs permissions is
>>>>>>>>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>>>>>>>>
>>>>>>>>>>>> Try granting access permissions to the appropiate account, as outlined above.
>>>>>>>>>>>>
>>>>>>>>>>>> If you are still having problems after that, and you're impersonating some account,
>>>>>>>>>>>> save this code as "identity.aspx" and run it :
>>>>>>>>>>>>
>>>>>>>>>>>> identity.aspx
>>>>>>>>>>>> ========
>>>>>>>>>>>>
>>>>>>>>>>>> <%@. Page Language="VB" %>
>>>>>>>>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>>>>>>>>> <script runat="server">
>>>>>>>>>>>> Sub Page_Load()
>>>>>>>>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>>>>>>>>> Label1.Text = tmp
>>>>>>>>>>>> End Sub
>>>>>>>>>>>> </script>
>>>>>>>>>>>> <html>
>>>>>>>>>>>> <head>
>>>>>>>>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>>>>>>>>> </head>
>>>>>>>>>>>> <body>
>>>>>>>>>>>> <form id="form1" runat="server">
>>>>>>>>>>>> <div>
>>>>>>>>>>>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>>>>>>>>>>>> </div>
>>>>>>>>>>>> </form>
>>>>>>>>>>>> </body>
>>>>>>>>>>>> </html>
>>>>>>>>>>>> ======
>>>>>>>>>>>>
>>>>>>>>>>>> Running that file will tell you which account ASP.NET is running as.
>>>>>>>>>>>> Then, assign the appropiate permissions to that account.
>>>>>>>>>>>>
>>>>>>>>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>>>>>>>>> and make sure that you're actually running 1.1 apps against the
>>>>>>>>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>>>>>>>>
>>>>>>>>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>>>>> ===================================
>>>>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>>>>> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>>>>>>>>> Hi All!
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried
>>>>>>>>>>>>> to view
>>>>>>>>>>>>> this site on my local Windows XP machine, I get "Server Unavailable". If I switch the
>>>>>>>>>>>>> Windows XP
>>>>>>>>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable
>>>>>>>>>>>>> because I'm
>>>>>>>>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>>>>>>>>
>>>>>>>>>>>>> I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only
>>>>>>>>>>>>> the problem
>>>>>>>>>>>>> with
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've also tried the aspnet_regiis thing as well as setting permissions on folders as
>>>>>>>>>>>>> described
>>>>>>>>>>>>> in this article:
>>>>>>>>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>>>>>>>>> but no solution.
>>>>>>>>>>>>>
>>>>>>>>>>>>> In the event log, I see these three errors every I tried to view my ASP.NET 2.0 site
>>>>>>>>>>>>> on my local
>>>>>>>>>>>>> machine...
>>>>>>>>>>>>>
>>>>>>>>>>>>> <errors>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process identity does not have
>>>>>>>>>>>>> read
>>>>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>>>>>
>>>>>>>>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>>>>>>>>
>>>>>>>>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>>>>>>>>
>>>>>>>>>>>>> Message: Exception of type 'System.Configuration.ConfigurationErrorsException ' was
>>>>>>>>>>>>> thrown.
>>>>>>>>>>>>>
>>>>>>>>>>>>> </errors>
>>>>>>>>>>>>>
>>>>>>>>>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers to solutions are much
>>>>>>>>>>>>> appreciated!!!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you all in advance!!!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Jon
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>


Hi Juan,

I did the exact followings...

1. uninstall the .Net Framework 2.0
2. uninstall IIS
3. backup your website(s) [ c:\inetpub\wwwroot\* ]
4. delete c:\WINDOWS\system32\inetsrv and all its subdirectories
5. reinstall IIS
6. reinstall the .Net Framework 2.0
7. restore your website(s)

Now, both ASP.NET 1.1 and 2 is not working and throwing me the "specified
module could not be found" error.

Any ideas why?

Thanks again,
Jon

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:%23oJIOKFbGHA.4544@.TK2MSFTNGP02.phx.gbl...
> Maybe it's time for a complete uninstall/reinstall,
> instead of trying to fix what seems to be a major screw-up ?
> 1. uninstall the .Net Framework 2.0
> 2. uninstall IIS
> 3. backup your website(s) [ c:\inetpub\wwwroot\* ]
> 4. delete c:\WINDOWS\system32\inetsrv and all its subdirectories
> 5. reinstall IIS
> 6. reinstall the .Net Framework 2.0
> 7. restore your website(s)
> You should be OK, with all default options, after that.
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaol : http://asp.net.do/foros/
> ===================================
> "Jon B" <noemail@.sorry.sorry> wrote in message
> news:Ok$PLGBbGHA.3408@.TK2MSFTNGP04.phx.gbl...
>> guys...
>>
>> "Jon B" <noemail@.sorry.sorry> wrote in message
>> news:ezApV3%23aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>> I've tried with the IUSR_HOME-WKSTATION account and I'm still getting
>>> the "The specified module
>>> could not be found." page.
>>>
>>> Another interesting observation is that, I can type just about anything,
>>> like
>>> http://localhost/sdfsfsdfsdds.aspx which doesnt exists and still get the
>>> "The specified module
>>> could not be found." error page.
>>>
>>> Thanks again,
>>> Jon
>>>
>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>> news:Oz4CcR6aGHA.3524@.TK2MSFTNGP04.phx.gbl...
>>>> re:
>>>> The application-specific permission settings do not grant Local
>>>> Activation
>>>>> permission for the COM Server application with CLSID
>>>>> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>>>>> to the user HOME-WKSTATION\ASPNET SID
>>>>> (S-1-5-21-515967899-413027322-839522115-1007). This
>>>>> security permission can be modified using the Component Services
>>>>> administrative tool.
>>>>
>>>> Have you attempted to grant Local Activation permission to the
>>>> COM Server application with CLSID
>>>> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>>>> to the user HOME-WKSTATION\ASPNET ?
>>>>
>>>> I hope not...because I think that's not the right account.
>>>>
>>>> You say that :
>>>>> The user account I've setup in "Directory Security" tab of IIS is
>>>>> "HOME-WKSTATION\ASPNET".
>>>>
>>>> But that account doesn't need to be granted browsing rights.
>>>>
>>>> That account only needs execution rights and access permission to the
>>>> files, so that
>>>> ASP.NET can *send* information to the anonymous account which is
>>>> browsing the site.
>>>>
>>>> Usually, for anonymous access, the user account selected in the
>>>> IIS Manager's Directory Security tab is "IUSR_MACHINENAME".
>>>>
>>>> In your case, that would be "IUSR_HOME-WKSTATION".
>>>>
>>>> Since you probably don't know what the password for that account is,
>>>> you might have to *first* change the password for that account...and
>>>> *then* assign
>>>> the "IUSR_HOME-WKSTATION" account as the anonymous account,
>>>> making sure that you use the password which you just changed.
>>>>
>>>> I've added the microsoft.public.inetserver.iis newsgroup to this post,
>>>> so that we can get
>>>> opinions from the IIS MVPs and other IIS experts who frequent that
>>>> newsgroup,
>>>> since that is more of an IIS problem than an ASP.NET one.
>>>>
>>>> Guys ?
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, asp.net MVP
>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>> asp.net faq : http://asp.net.do/faq/
>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>> ===================================
>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>> news:u$QUsA6aGHA.4292@.TK2MSFTNGP04.phx.gbl...
>>>>> Hi Juan,
>>>>>
>>>>> The error message is "Server Application Unavailable". The user
>>>>> account I've setup in
>>>>> "Directory Security" tab of IIS is "HOME-WKSTATION\ASPNET".
>>>>>
>>>>> In the event viewer, I get one warning...
>>>>>
>>>>>

Quote:

Originally Posted by

>>>>> The server was unable to logon the Windows NT account
>>>>> 'HOME-WKSTATION\ASPNET' due to the
>>>>> following error: Logon failure: unknown user name or bad password.
>>>>>


>>>>>
>>>>> followed by 6 errors of the same...
>>>>>
>>>>>

Quote:

Originally Posted by

>>>>> The application-specific permission settings do not grant Local
>>>>> Activation permission for the
>>>>> COM Server application with CLSID
>>>>> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>>>>> to the user HOME-WKSTATION\ASPNET SID
>>>>> (S-1-5-21-515967899-413027322-839522115-1007). This
>>>>> security permission can be modified using the Component Services
>>>>> administrative tool.
>>>>>


>>>>>
>>>>> I tried setting the user to just "ASPNET" instead of
>>>>> "HOME-WKSTATION\ASPNET" and I tried to
>>>>> refresh the page in browser and I get "The specified module could not
>>>>> be found" error.
>>>>>
>>>>> This time, in the event viewer, I only got one warning...
>>>>>
>>>>>

Quote:

Originally Posted by

>>>>> The server was unable to logon the Windows NT account 'ASPNET' due to
>>>>> the following error: The
>>>>> specified module could not be found. The data is the error code.
>>>>>


>>>>>
>>>>> Just for the record, all I doing was just executing a test ASP.NET
>>>>> page with the "Hello World"
>>>>> code in it.
>>>>>
>>>>> Thanks,
>>>>> Jon
>>>>>
>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>> news:Ov7igK5aGHA.4564@.TK2MSFTNGP03.phx.gbl...
>>>>>> One more thing...
>>>>>>
>>>>>> Is the error message "Server Application Unavailable" or is it
>>>>>> "Server Unavailable" ?
>>>>>>
>>>>>> Could you look in the event log, and see what additional info is
>>>>>> there about your "Server Application Unavailable" error message ?
>>>>>>
>>>>>> Look in "Start Menu", "Programs", "Administrative Tools", "Event
>>>>>> Viewer".
>>>>>> You should be able to find the specific error in the Application log.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Juan T. Llibre, asp.net MVP
>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>> ===================================
>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>> news:%23KVlT34aGHA.1196@.TK2MSFTNGP03.phx.gbl...
>>>>>>> re;
>>>>>>>> Command worked. However, I'm still getting the "Server Unavailable"
>>>>>>>> error...
>>>>>>>
>>>>>>> OK...
>>>>>>>
>>>>>>> re:
>>>>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because
>>>>>>>> of the article you've
>>>>>>>> provided me was about ASP.NET 2.0 with IIS6).
>>>>>>>
>>>>>>> Nevertheless, the article is valid for IIS 5.1 ( which is what
>>>>>>> you're running, not 5.0 )
>>>>>>> and ASP.NET 2.0, as long as you disregard the Application Pool info.
>>>>>>>
>>>>>>> Please review the permissions outlined in this article.
>>>>>>> They were written for ASP.NET 1.1, but they are just as valid for
>>>>>>> ASP.NET 2.0:
>>>>>>>
>>>>>>> http://msdn.microsoft.com/library/d.../secnetht01.asp
>>>>>>>
>>>>>>> Make sure that the HOME-WKSTATION\ASPNET account has been assigned
>>>>>>> NTFS
>>>>>>> permissions to all the directories listed in the chart, making sure,
>>>>>>> of course, that the
>>>>>>> proper
>>>>>>> directory ( \WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) is
>>>>>>> checked.
>>>>>>>
>>>>>>> Make sure you read the instructions in the "Comments" column.
>>>>>>> *All* the directories listed in the left-most column need the
>>>>>>> correct NTFS permissions
>>>>>>> applied.
>>>>>>>
>>>>>>> When you're done doing that, test and post your results.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>> ===================================
>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>> news:ufmBEp4aGHA.3976@.TK2MSFTNGP02.phx.gbl...
>>>>>>>> Hi Juan,
>>>>>>>>
>>>>>>>> Thanks for the reply. I have the latest version in following
>>>>>>>> folder...
>>>>>>>>
>>>>>>>> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
>>>>>>>>
>>>>>>>> So I switched to that directory in Command Prompt and tried the
>>>>>>>> following...
>>>>>>>>
>>>>>>>> aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>>>>>>
>>>>>>>> Command worked. However, I'm still getting the "Server Unavailable"
>>>>>>>> error...
>>>>>>>>
>>>>>>>> Thanks again.
>>>>>>>>
>>>>>>>> Jon
>>>>>>>>
>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>> news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
>>>>>>>>> Hi, Jon.
>>>>>>>>>
>>>>>>>>> re:
>>>>>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>>>>>>>> HOME-WKSTATION\ASPNET
>>>>>>>>>> under v2.0.50215 folder (as described in the article), I get
>>>>>>>>>> "Invalid Command"
>>>>>>>>>
>>>>>>>>> ...there's your problem.
>>>>>>>>>
>>>>>>>>> v2.0.50215 is the beta 2 version of the .Net Framework...which has
>>>>>>>>> many bugs.
>>>>>>>>> The -ga command isn't a part of that beta version.
>>>>>>>>>
>>>>>>>>> The released version of the .Net Framework is v2.0.50727.42
>>>>>>>>>
>>>>>>>>> Uninstall that beta version and download/install -at least- the
>>>>>>>>> 2.0 redistributable :
>>>>>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>>>>>
>>>>>>>>> You might want to -instead- download/install the full SDK from :
>>>>>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>> ===================================
>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>> news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>>>>>>>>> Hi Juan,
>>>>>>>>>>
>>>>>>>>>> The thing is, I cannot execute any ASP.NET pages. Even your
>>>>>>>>>> Identity.aspx page. I keep on
>>>>>>>>>> getting the "Server Unavailable" error. That is of course, in
>>>>>>>>>> ASP.NET 2. However, when I
>>>>>>>>>> tried with ASP.NET 1.1, I get...
>>>>>>>>>>
>>>>>>>>>> HOME-WKSTATION\ASPNET
>>>>>>>>>>
>>>>>>>>>> I ran the examples in KBs ***exactly*** the way it presented
>>>>>>>>>> (with the substitue of the
>>>>>>>>>> variables of course).
>>>>>>>>>>
>>>>>>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because
>>>>>>>>>> of the article you've
>>>>>>>>>> provided me was about ASP.NET 2.0 with IIS6).
>>>>>>>>>>
>>>>>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga
>>>>>>>>>> HOME-WKSTATION\ASPNET
>>>>>>>>>> under v2.0.50215 folder (as described in the article), I get
>>>>>>>>>> "Invalid Command" and a list
>>>>>>>>>> of switches that aspnet_regiis accepts, which does not contains a
>>>>>>>>>> 'ga' switch.
>>>>>>>>>>
>>>>>>>>>> Plz help...
>>>>>>>>>>
>>>>>>>>>> Henry
>>>>>>>>>
>>>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>>>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>>>> Are you still getting this error ?
>>>>>>>>>>>
>>>>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process
>>>>>>>>>>>>> identity does not have
>>>>>>>>>>>>> read
>>>>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>>>
>>>>>>>>>>> Did you run "identity.aspx", which I provided for you ?
>>>>>>>>>>> Which user account was returned by it ?
>>>>>>>>>>>
>>>>>>>>>>> How did you run the example command provided by the KB ?
>>>>>>>>>>>
>>>>>>>>>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>>>>>>>>>
>>>>>>>>>>> ?
>>>>>>>>>>>
>>>>>>>>>>> Have you read this article :
>>>>>>>>>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>>>>>>>>>
>>>>>>>>>>> ?
>>>>>>>>>>>
>>>>>>>>>>> Please review the steps in it, for creating a service account
>>>>>>>>>>> for an ASP.NET 2.0
>>>>>>>>>>> application,
>>>>>>>>>>> and make sure that the account retrned by "identity.aspx" has
>>>>>>>>>>> all the permissions
>>>>>>>>>>> listed in that article.
>>>>>>>>>>>
>>>>>>>>>>> In particular, make sure you run the following aspnet_regiis
>>>>>>>>>>> command :
>>>>>>>>>>>
>>>>>>>>>>> aspnet_regiis -ga MachineName\AccountName
>>>>>>>>>>>
>>>>>>>>>>> where "MachineName\AccountName" is the account returned by
>>>>>>>>>>> "identity.aspx".
>>>>>>>>>>>
>>>>>>>>>>> Then post back your results.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>>>> ===================================
>>>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>>>> news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>>>>>>>>>> Hi Juan,
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks for the reply. I've set permission to all the folders
>>>>>>>>>>>> and everything but still it
>>>>>>>>>>>> doesn't
>>>>>>>>>>>> work.
>>>>>>>>>>>>
>>>>>>>>>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher"
>>>>>>>>>>>> but that doesn't help
>>>>>>>>>>>> either.
>>>>>>>>>>>>
>>>>>>>>>>>> Any other ideas?
>>>>>>>>>>>>
>>>>>>>>>>>> Cheers,
>>>>>>>>>>>> Jon B
>>>>>>>>>>>>
>>>>>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>>>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>>>>>> If you're running on Windows XP, the account which needs
>>>>>>>>>>>>> permissions is
>>>>>>>>>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Try granting access permissions to the appropiate account, as
>>>>>>>>>>>>> outlined above.
>>>>>>>>>>>>>
>>>>>>>>>>>>> If you are still having problems after that, and you're
>>>>>>>>>>>>> impersonating some account,
>>>>>>>>>>>>> save this code as "identity.aspx" and run it :
>>>>>>>>>>>>>
>>>>>>>>>>>>> identity.aspx
>>>>>>>>>>>>> ========
>>>>>>>>>>>>>
>>>>>>>>>>>>> <%@. Page Language="VB" %>
>>>>>>>>>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>>>>>>>>>> <script runat="server">
>>>>>>>>>>>>> Sub Page_Load()
>>>>>>>>>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>>>>>>>>>> Label1.Text = tmp
>>>>>>>>>>>>> End Sub
>>>>>>>>>>>>> </script>
>>>>>>>>>>>>> <html>
>>>>>>>>>>>>> <head>
>>>>>>>>>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>>>>>>>>>> </head>
>>>>>>>>>>>>> <body>
>>>>>>>>>>>>> <form id="form1" runat="server">
>>>>>>>>>>>>> <div>
>>>>>>>>>>>>> <asp:Label ID="Label1" Runat="server"
>>>>>>>>>>>>> Text="Label"></asp:Label>
>>>>>>>>>>>>> </div>
>>>>>>>>>>>>> </form>
>>>>>>>>>>>>> </body>
>>>>>>>>>>>>> </html>
>>>>>>>>>>>>> ======
>>>>>>>>>>>>>
>>>>>>>>>>>>> Running that file will tell you which account ASP.NET is
>>>>>>>>>>>>> running as.
>>>>>>>>>>>>> Then, assign the appropiate permissions to that account.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>>>>>>>>>> and make sure that you're actually running 1.1 apps against
>>>>>>>>>>>>> the
>>>>>>>>>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>>>>>>>>>
>>>>>>>>>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>>>>>> ===================================
>>>>>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>>>>>> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>>>>>>>>>> Hi All!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000
>>>>>>>>>>>>>> Server. However, when I tried
>>>>>>>>>>>>>> to view
>>>>>>>>>>>>>> this site on my local Windows XP machine, I get "Server
>>>>>>>>>>>>>> Unavailable". If I switch the
>>>>>>>>>>>>>> Windows XP
>>>>>>>>>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error
>>>>>>>>>>>>>> (which is understandable
>>>>>>>>>>>>>> because I'm
>>>>>>>>>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I can however view other ASP.NET 1.1 sites on my local
>>>>>>>>>>>>>> Windows XP machine. It's only
>>>>>>>>>>>>>> the problem
>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I've also tried the aspnet_regiis thing as well as setting
>>>>>>>>>>>>>> permissions on folders as
>>>>>>>>>>>>>> described
>>>>>>>>>>>>>> in this article:
>>>>>>>>>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>>>>>>>>>> but no solution.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> In the event log, I see these three errors every I tried to
>>>>>>>>>>>>>> view my ASP.NET 2.0 site
>>>>>>>>>>>>>> on my local
>>>>>>>>>>>>>> machine...
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <errors>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET
>>>>>>>>>>>>>> process identity does not have
>>>>>>>>>>>>>> read
>>>>>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Message: Exception of type
>>>>>>>>>>>>>> 'System.Configuration.ConfigurationErrorsException ' was
>>>>>>>>>>>>>> thrown.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> </errors>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> What could be the problem?!?!?!? Plz, any solutions or
>>>>>>>>>>>>>> pointers to solutions are much
>>>>>>>>>>>>>> appreciated!!!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you all in advance!!!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Jon
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>


To re-register the .Net Framework 1.1, run this command from
a command window in the .Net Framework 1.1 directory :

aspnet_regiis -i

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Jon B" <noemail@.sorry.sorry> wrote in message news:%23hnM4LQbGHA.4424@.TK2MSFTNGP02.phx.gbl...
> Hi Juan,
> I did the exact followings...
> 1. uninstall the .Net Framework 2.0
> 2. uninstall IIS
> 3. backup your website(s) [ c:\inetpub\wwwroot\* ]
> 4. delete c:\WINDOWS\system32\inetsrv and all its subdirectories
> 5. reinstall IIS
> 6. reinstall the .Net Framework 2.0
> 7. restore your website(s)
> Now, both ASP.NET 1.1 and 2 is not working and throwing me the "specified module could not be
> found" error.
> Any ideas why?
> Thanks again,
> Jon
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:%23oJIOKFbGHA.4544@.TK2MSFTNGP02.phx.gbl...
>> Maybe it's time for a complete uninstall/reinstall,
>> instead of trying to fix what seems to be a major screw-up ?
>>
>> 1. uninstall the .Net Framework 2.0
>> 2. uninstall IIS
>> 3. backup your website(s) [ c:\inetpub\wwwroot\* ]
>> 4. delete c:\WINDOWS\system32\inetsrv and all its subdirectories
>> 5. reinstall IIS
>> 6. reinstall the .Net Framework 2.0
>> 7. restore your website(s)
>>
>> You should be OK, with all default options, after that.
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> aspnetfaq.com : http://www.aspnetfaq.com/
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaol : http://asp.net.do/foros/
>> ===================================
>> "Jon B" <noemail@.sorry.sorry> wrote in message news:Ok$PLGBbGHA.3408@.TK2MSFTNGP04.phx.gbl...
>>> guys...
>>>
>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:ezApV3%23aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>>> I've tried with the IUSR_HOME-WKSTATION account and I'm still getting the "The specified module
>>>> could not be found." page.
>>>>
>>>> Another interesting observation is that, I can type just about anything, like
>>>> http://localhost/sdfsfsdfsdds.aspx which doesnt exists and still get the "The specified module
>>>> could not be found." error page.
>>>>
>>>> Thanks again,
>>>> Jon
>>>>
>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>> news:Oz4CcR6aGHA.3524@.TK2MSFTNGP04.phx.gbl...
>>>>> re:
>>>>> The application-specific permission settings do not grant Local Activation
>>>>>> permission for the COM Server application with CLSID
>>>>>> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>>>>>> to the user HOME-WKSTATION\ASPNET SID (S-1-5-21-515967899-413027322-839522115-1007). This
>>>>>> security permission can be modified using the Component Services administrative tool.
>>>>>
>>>>> Have you attempted to grant Local Activation permission to the
>>>>> COM Server application with CLSID {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>>>>> to the user HOME-WKSTATION\ASPNET ?
>>>>>
>>>>> I hope not...because I think that's not the right account.
>>>>>
>>>>> You say that :
>>>>>> The user account I've setup in "Directory Security" tab of IIS is "HOME-WKSTATION\ASPNET".
>>>>>
>>>>> But that account doesn't need to be granted browsing rights.
>>>>>
>>>>> That account only needs execution rights and access permission to the files, so that
>>>>> ASP.NET can *send* information to the anonymous account which is browsing the site.
>>>>>
>>>>> Usually, for anonymous access, the user account selected in the
>>>>> IIS Manager's Directory Security tab is "IUSR_MACHINENAME".
>>>>>
>>>>> In your case, that would be "IUSR_HOME-WKSTATION".
>>>>>
>>>>> Since you probably don't know what the password for that account is,
>>>>> you might have to *first* change the password for that account...and *then* assign
>>>>> the "IUSR_HOME-WKSTATION" account as the anonymous account,
>>>>> making sure that you use the password which you just changed.
>>>>>
>>>>> I've added the microsoft.public.inetserver.iis newsgroup to this post, so that we can get
>>>>> opinions from the IIS MVPs and other IIS experts who frequent that newsgroup,
>>>>> since that is more of an IIS problem than an ASP.NET one.
>>>>>
>>>>> Guys ?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, asp.net MVP
>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>> asp.net faq : http://asp.net.do/faq/
>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>> ===================================
>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message news:u$QUsA6aGHA.4292@.TK2MSFTNGP04.phx.gbl...
>>>>>> Hi Juan,
>>>>>>
>>>>>> The error message is "Server Application Unavailable". The user account I've setup in
>>>>>> "Directory Security" tab of IIS is "HOME-WKSTATION\ASPNET".
>>>>>>
>>>>>> In the event viewer, I get one warning...
>>>>>>
>>>>>>

Quote:

Originally Posted by

>>>>>> The server was unable to logon the Windows NT account 'HOME-WKSTATION\ASPNET' due to the
>>>>>> following error: Logon failure: unknown user name or bad password.
>>>>>>


>>>>>>
>>>>>> followed by 6 errors of the same...
>>>>>>
>>>>>>

Quote:

Originally Posted by

>>>>>> The application-specific permission settings do not grant Local Activation permission for the
>>>>>> COM Server application with CLSID
>>>>>> {A9E69610-B80D-11D0-B9B9-00A0C922E750}
>>>>>> to the user HOME-WKSTATION\ASPNET SID (S-1-5-21-515967899-413027322-839522115-1007). This
>>>>>> security permission can be modified using the Component Services administrative tool.
>>>>>>


>>>>>>
>>>>>> I tried setting the user to just "ASPNET" instead of "HOME-WKSTATION\ASPNET" and I tried to
>>>>>> refresh the page in browser and I get "The specified module could not be found" error.
>>>>>>
>>>>>> This time, in the event viewer, I only got one warning...
>>>>>>
>>>>>>

Quote:

Originally Posted by

>>>>>> The server was unable to logon the Windows NT account 'ASPNET' due to the following error:
>>>>>> The
>>>>>> specified module could not be found. The data is the error code.
>>>>>>


>>>>>>
>>>>>> Just for the record, all I doing was just executing a test ASP.NET page with the "Hello
>>>>>> World"
>>>>>> code in it.
>>>>>>
>>>>>> Thanks,
>>>>>> Jon
>>>>>>
>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>> news:Ov7igK5aGHA.4564@.TK2MSFTNGP03.phx.gbl...
>>>>>>> One more thing...
>>>>>>>
>>>>>>> Is the error message "Server Application Unavailable" or is it "Server Unavailable" ?
>>>>>>>
>>>>>>> Could you look in the event log, and see what additional info is
>>>>>>> there about your "Server Application Unavailable" error message ?
>>>>>>>
>>>>>>> Look in "Start Menu", "Programs", "Administrative Tools", "Event Viewer".
>>>>>>> You should be able to find the specific error in the Application log.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>> ===================================
>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>> news:%23KVlT34aGHA.1196@.TK2MSFTNGP03.phx.gbl...
>>>>>>>> re;
>>>>>>>>> Command worked. However, I'm still getting the "Server Unavailable" error...
>>>>>>>>
>>>>>>>> OK...
>>>>>>>>
>>>>>>>> re:
>>>>>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the article you've
>>>>>>>>> provided me was about ASP.NET 2.0 with IIS6).
>>>>>>>>
>>>>>>>> Nevertheless, the article is valid for IIS 5.1 ( which is what you're running, not 5.0 )
>>>>>>>> and ASP.NET 2.0, as long as you disregard the Application Pool info.
>>>>>>>>
>>>>>>>> Please review the permissions outlined in this article.
>>>>>>>> They were written for ASP.NET 1.1, but they are just as valid for ASP.NET 2.0:
>>>>>>>>
>>>>>>>> http://msdn.microsoft.com/library/d.../secnetht01.asp
>>>>>>>>
>>>>>>>> Make sure that the HOME-WKSTATION\ASPNET account has been assigned NTFS
>>>>>>>> permissions to all the directories listed in the chart, making sure, of course, that the
>>>>>>>> proper
>>>>>>>> directory ( \WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) is checked.
>>>>>>>>
>>>>>>>> Make sure you read the instructions in the "Comments" column.
>>>>>>>> *All* the directories listed in the left-most column need the correct NTFS permissions
>>>>>>>> applied.
>>>>>>>>
>>>>>>>> When you're done doing that, test and post your results.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>> ===================================
>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>> news:ufmBEp4aGHA.3976@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>> Hi Juan,
>>>>>>>>>
>>>>>>>>> Thanks for the reply. I have the latest version in following folder...
>>>>>>>>>
>>>>>>>>> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
>>>>>>>>>
>>>>>>>>> So I switched to that directory in Command Prompt and tried the following...
>>>>>>>>>
>>>>>>>>> aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>>>>>>>
>>>>>>>>> Command worked. However, I'm still getting the "Server Unavailable" error...
>>>>>>>>>
>>>>>>>>> Thanks again.
>>>>>>>>>
>>>>>>>>> Jon
>>>>>>>>>
>>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>>> news:eWJLHc4aGHA.3376@.TK2MSFTNGP05.phx.gbl...
>>>>>>>>>> Hi, Jon.
>>>>>>>>>>
>>>>>>>>>> re:
>>>>>>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>>>>>>>>> under v2.0.50215 folder (as described in the article), I get "Invalid Command"
>>>>>>>>>>
>>>>>>>>>> ...there's your problem.
>>>>>>>>>>
>>>>>>>>>> v2.0.50215 is the beta 2 version of the .Net Framework...which has many bugs.
>>>>>>>>>> The -ga command isn't a part of that beta version.
>>>>>>>>>>
>>>>>>>>>> The released version of the .Net Framework is v2.0.50727.42
>>>>>>>>>>
>>>>>>>>>> Uninstall that beta version and download/install -at least- the 2.0 redistributable :
>>>>>>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>>>>>>
>>>>>>>>>> You might want to -instead- download/install the full SDK from :
>>>>>>>>>> http://www.microsoft.com/downloads/...&displaylang=en
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>>> ===================================
>>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>>> news:Ojn9lu1aGHA.1204@.TK2MSFTNGP04.phx.gbl...
>>>>>>>>>>> Hi Juan,
>>>>>>>>>>>
>>>>>>>>>>> The thing is, I cannot execute any ASP.NET pages. Even your Identity.aspx page. I keep
>>>>>>>>>>> on
>>>>>>>>>>> getting the "Server Unavailable" error. That is of course, in ASP.NET 2. However, when I
>>>>>>>>>>> tried with ASP.NET 1.1, I get...
>>>>>>>>>>>
>>>>>>>>>>> HOME-WKSTATION\ASPNET
>>>>>>>>>>>
>>>>>>>>>>> I ran the examples in KBs ***exactly*** the way it presented (with the substitue of the
>>>>>>>>>>> variables of course).
>>>>>>>>>>>
>>>>>>>>>>> And btw, I'm using IIS5 with WinXP not IIS6 (just telling because of the article you've
>>>>>>>>>>> provided me was about ASP.NET 2.0 with IIS6).
>>>>>>>>>>>
>>>>>>>>>>> Another interesting thing is when I tried to do aspnet_regiis -ga HOME-WKSTATION\ASPNET
>>>>>>>>>>> under v2.0.50215 folder (as described in the article), I get "Invalid Command" and a
>>>>>>>>>>> list
>>>>>>>>>>> of switches that aspnet_regiis accepts, which does not contains a 'ga' switch.
>>>>>>>>>>>
>>>>>>>>>>> Plz help...
>>>>>>>>>>>
>>>>>>>>>>> Henry
>>>>>>>>>>
>>>>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>>>>> news:eFkmBYGaGHA.4292@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>>>>> Are you still getting this error ?
>>>>>>>>>>>>
>>>>>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process identity does not have
>>>>>>>>>>>>>> read
>>>>>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>>>>
>>>>>>>>>>>> Did you run "identity.aspx", which I provided for you ?
>>>>>>>>>>>> Which user account was returned by it ?
>>>>>>>>>>>>
>>>>>>>>>>>> How did you run the example command provided by the KB ?
>>>>>>>>>>>>
>>>>>>>>>>>> cacls %windir%\assembly /e /t /p domain\useraccount:R
>>>>>>>>>>>>
>>>>>>>>>>>> ?
>>>>>>>>>>>>
>>>>>>>>>>>> Have you read this article :
>>>>>>>>>>>> http://msdn.microsoft.com/library/d...paght000009.asp
>>>>>>>>>>>>
>>>>>>>>>>>> ?
>>>>>>>>>>>>
>>>>>>>>>>>> Please review the steps in it, for creating a service account for an ASP.NET 2.0
>>>>>>>>>>>> application,
>>>>>>>>>>>> and make sure that the account retrned by "identity.aspx" has all the permissions
>>>>>>>>>>>> listed in that article.
>>>>>>>>>>>>
>>>>>>>>>>>> In particular, make sure you run the following aspnet_regiis command :
>>>>>>>>>>>>
>>>>>>>>>>>> aspnet_regiis -ga MachineName\AccountName
>>>>>>>>>>>>
>>>>>>>>>>>> where "MachineName\AccountName" is the account returned by "identity.aspx".
>>>>>>>>>>>>
>>>>>>>>>>>> Then post back your results.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>>>>> ===================================
>>>>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>>>>> news:uAvTH1DaGHA.1192@.TK2MSFTNGP03.phx.gbl...
>>>>>>>>>>>>> Hi Juan,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks for the reply. I've set permission to all the folders and everything but still
>>>>>>>>>>>>> it
>>>>>>>>>>>>> doesn't
>>>>>>>>>>>>> work.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've also tried the "Denis Bauer's ASP.NET Version Switcher" but that doesn't help
>>>>>>>>>>>>> either.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Any other ideas?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>> Jon B
>>>>>>>>>>>>>
>>>>>>>>>>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>>>>>>>>>>> news:u58rHSyZGHA.3328@.TK2MSFTNGP02.phx.gbl...
>>>>>>>>>>>>>> If you're running on Windows XP, the account which needs permissions is
>>>>>>>>>>>>>> MACHINENAME\ASPNET...even if you're allowing anonymous access.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Try granting access permissions to the appropiate account, as outlined above.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> If you are still having problems after that, and you're impersonating some account,
>>>>>>>>>>>>>> save this code as "identity.aspx" and run it :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> identity.aspx
>>>>>>>>>>>>>> ========
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <%@. Page Language="VB" %>
>>>>>>>>>>>>>> <%@. Import NameSpace = System.Security.Principal %>
>>>>>>>>>>>>>> <script runat="server">
>>>>>>>>>>>>>> Sub Page_Load()
>>>>>>>>>>>>>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>>>>>>>>>>>>>> Label1.Text = tmp
>>>>>>>>>>>>>> End Sub
>>>>>>>>>>>>>> </script>
>>>>>>>>>>>>>> <html>
>>>>>>>>>>>>>> <head>
>>>>>>>>>>>>>> <title>WindowsIdentity.GetCurrent.Name()</title>
>>>>>>>>>>>>>> </head>
>>>>>>>>>>>>>> <body>
>>>>>>>>>>>>>> <form id="form1" runat="server">
>>>>>>>>>>>>>> <div>
>>>>>>>>>>>>>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>>>>>>>>>>>>>> </div>
>>>>>>>>>>>>>> </form>
>>>>>>>>>>>>>> </body>
>>>>>>>>>>>>>> </html>
>>>>>>>>>>>>>> ======
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Running that file will tell you which account ASP.NET is running as.
>>>>>>>>>>>>>> Then, assign the appropiate permissions to that account.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Also, download and run Denis Bauer's ASP.NET Version Switcher,
>>>>>>>>>>>>>> and make sure that you're actually running 1.1 apps against the
>>>>>>>>>>>>>> 1.1 .Net Framework and 2.0 apps against .Net Framework 2.0.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> http://www.denisbauer.com/NETTools/...onSwitcher.aspx
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>>>>>>>>> aspnetfaq.com : http://www.aspnetfaq.com/
>>>>>>>>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>>>>>>>>> foros de asp.net, en espaol : http://asp.net.do/foros/
>>>>>>>>>>>>>> ===================================
>>>>>>>>>>>>>> "Jon B" <noemail@.sorry.sorry> wrote in message
>>>>>>>>>>>>>> news:uTZy2yxZGHA.3304@.TK2MSFTNGP04.phx.gbl...
>>>>>>>>>>>>>>> Hi All!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I
>>>>>>>>>>>>>>> tried
>>>>>>>>>>>>>>> to view
>>>>>>>>>>>>>>> this site on my local Windows XP machine, I get "Server Unavailable". If I switch
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> Windows XP
>>>>>>>>>>>>>>> IIS back to ASP.NET 1.1 then I get the Configuration Error (which is understandable
>>>>>>>>>>>>>>> because I'm
>>>>>>>>>>>>>>> trying to run an ASP.NET 2 site with 1.1 framework).
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I can however view other ASP.NET 1.1 sites on my local Windows XP machine. It's only
>>>>>>>>>>>>>>> the problem
>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I've also tried the aspnet_regiis thing as well as setting permissions on folders as
>>>>>>>>>>>>>>> described
>>>>>>>>>>>>>>> in this article:
>>>>>>>>>>>>>>> http://support.microsoft.com/default.aspx?kbid=811320
>>>>>>>>>>>>>>> but no solution.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> In the event log, I see these three errors every I tried to view my ASP.NET 2.0 site
>>>>>>>>>>>>>>> on my local
>>>>>>>>>>>>>>> machine...
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <errors>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 1.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2.) Failed to execute the request because the ASP.NET process identity does not
>>>>>>>>>>>>>>> have
>>>>>>>>>>>>>>> read
>>>>>>>>>>>>>>> permissions to the global assembly cache. Error: 0x80131902
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 3.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Exception: System.Configuration.ConfigurationErrorsException
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Message: Exception of type 'System.Configuration.ConfigurationErrorsException ' was
>>>>>>>>>>>>>>> thrown.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> </errors>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> What could be the problem?!?!?!? Plz, any solutions or pointers to solutions are
>>>>>>>>>>>>>>> much
>>>>>>>>>>>>>>> appreciated!!!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you all in advance!!!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Jon
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>