Re: Server Unavailable - ASP.NET 2.0 on Windows XP



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/ASPNETVersionSwitcher.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 español : http://asp.net.do/foros/
===================================
"Jon B" <noemail@xxxxxxxxxxx> wrote in message news:uTZy2yxZGHA.3304@xxxxxxxxxxxxxxxxxxxxxxx
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



.



Relevant Pages

  • Consider Windows XP File Security and Group Policies
    ... If you are running Windows XP and are using the NTFS file system, ... Account from being able to purge its history footprint files. ... Changing Folder permissions to Read-Execute instead of Full ... you globally apply Full Control for the Administrators group and the SYSTEM ...
    (microsoft.public.windowsxp.general)
  • Re: Cannot copy and paste
    ... - click on all of them and make sure your account hasn't been denied any ... - I think that if there are no permissions listed then it uses a default ... if this is the cause then add the everyone group to all six security windows ... my computer is virus free. ...
    (microsoft.public.win2000.general)
  • Re: Password Protecting Folders and Files
    ... All permissions are granted to accounts. ... the account either needs ... Microsoft MVP (Windows Server System: ... > folder in which I would like to protect. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Exchange 2003 full mailbox permissions
    ... to check for inherited deny permissions on the organization object. ... However, since my account is not a member of Administrators, Domain ... Admins or Enterprise Admins I am not inheriting any Deny permissions ... "Note In Microsoft Windows 2000 Server and Microsoft Windows Server ...
    (microsoft.public.exchange.admin)
  • Re: Vulnerability in IBM Windows XP: default hidden Administrator account allows local Administrator
    ... This is common in most Pre-Installed Windows System. ... > Administrator account allows local Administrator ... IBM Systems with preinstalled Microsoft ...
    (Bugtraq)