473,418 Members | 2,174 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

ASPNET Account Permissions for .NET 2.0?


We have a Windows 2000 server with Beta 2 of the 2.0 Framework installed and
the 1.1 Framework. For some odd reason when we hit our 2.0 Framework
application we get the following error:

Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.
Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.

When we look at the event log there are two entries of interest. A warning:

Failed to initialize the AppDomain:/LM/W3SVC/1/Root/RMP30

Exception: System.Web.Hosting.HostingEnvironmentException
Message: Failed to access IIS metabase.
StackTrace: at
System.Web.Hosting.HostingEnvironment.Initialize(A pplicationManager
appManager, IApplicationHost appHost, IConfigMapPathFactory
configMapPathFactory, HostingEnvironmentParameters hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironment(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironmentAndReportErrors(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
Followed by an error:

Failed to execute request because the App-Domain could not be created.
Error: 0x80131500

The 1.1 Framework applications still work. If I move the ASPNET account into
the Local Administrators group the application runs fine and the above errors
and warnings do not occur.

I have tried reinstalling and the 2.0 Framework and re-registering with IIS.
I’ve used FileMon to watch for access errors when running. We have a second
Windows 2000 with a similar configuration and all runs fine.

Does anyone know what directories and all the ASPNET account needs under the
2.0 Framework? Could this be a registry access issue?

I found this for 1.0:

http://www.15seconds.com/issue/030115.htm

--
palakwai_919
Nov 19 '05 #1
4 11770
palakwai_919 <pa*********@discussions.microsoft.com> ha scritto:
We have a Windows 2000 server with Beta 2 of the 2.0 Framework
installed and the 1.1 Framework. For some odd reason when we hit our
2.0 Framework application we get the following error:


You try with this solution:
cd C:\Windows\Microsoft.NET\Framework\v2.0.50215.44
aspnet_regiis.exe -u

cd C:\Windows\Microsoft.NET\Framework\v1.1.4322
aspnet_regiis.exe -i

And with:
http://www.denisbauer.com/NETTools/A...nSwitcher.aspx
change the framework for the virtualdir for 2.0

--
AZ [Microsoft - .NET MVP]
Mia Home page: http://ciclismo.sitiasp.it
Asp.Net community: http://www.aspitalia.com
Il mio blog: http://blogs.aspitalia.com/az
Nov 19 '05 #2
Thanks for the reply but isn't that just going unistall the 2.0 framework and
install the 1.1 framework? The application in question is a 2.0 framework
application that will run when ASPNET is a member of the Local Administrators
group. This appears to be a permissions problem but which permissions are
missing has elluded me thus far.

--
-palakwai_919
"Andrea Zani" wrote:
palakwai_919 <pa*********@discussions.microsoft.com> ha scritto:
We have a Windows 2000 server with Beta 2 of the 2.0 Framework
installed and the 1.1 Framework. For some odd reason when we hit our
2.0 Framework application we get the following error:


You try with this solution:
cd C:\Windows\Microsoft.NET\Framework\v2.0.50215.44
aspnet_regiis.exe -u

cd C:\Windows\Microsoft.NET\Framework\v1.1.4322
aspnet_regiis.exe -i

And with:
http://www.denisbauer.com/NETTools/A...nSwitcher.aspx
change the framework for the virtualdir for 2.0

--
AZ [Microsoft - .NET MVP]
Mia Home page: http://ciclismo.sitiasp.it
Asp.Net community: http://www.aspitalia.com
Il mio blog: http://blogs.aspitalia.com/az

Nov 19 '05 #3
Hi, Palakwai.

re:
Does anyone know what directories the
ASPNET account needs under the 2.0 Framework?
This article spells out the permissions needed
for all essential ASP.NET directories:

http://msdn.microsoft.com/library/de...l/secmod15.asp

See Table 1: Required NTFS permissions.
They are the same for ASP.NET 1.1 and for ASP.NET 2.0.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"palakwai_919" <pa*********@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
We have a Windows 2000 server with Beta 2 of the 2.0 Framework installed and
the 1.1 Framework. For some odd reason when we hit our 2.0 Framework
application we get the following error:

Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.
Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.

When we look at the event log there are two entries of interest. A warning:

Failed to initialize the AppDomain:/LM/W3SVC/1/Root/RMP30

Exception: System.Web.Hosting.HostingEnvironmentException
Message: Failed to access IIS metabase.
StackTrace: at
System.Web.Hosting.HostingEnvironment.Initialize(A pplicationManager
appManager, IApplicationHost appHost, IConfigMapPathFactory
configMapPathFactory, HostingEnvironmentParameters hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironment(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironmentAndReportErrors(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
Followed by an error:

Failed to execute request because the App-Domain could not be created.
Error: 0x80131500

The 1.1 Framework applications still work. If I move the ASPNET account into
the Local Administrators group the application runs fine and the above errors
and warnings do not occur.

I have tried reinstalling and the 2.0 Framework and re-registering with IIS.
I've used FileMon to watch for access errors when running. We have a second
Windows 2000 with a similar configuration and all runs fine.

Does anyone know what directories and all the ASPNET account needs under the
2.0 Framework? Could this be a registry access issue?

I found this for 1.0:

http://www.15seconds.com/issue/030115.htm

--
palakwai_919

Nov 19 '05 #4
I found this in another post. It solves the problem but may be a security risk.

Kevin3344 Dec 22 2004, 4:22 pm show options

Newsgroups: microsoft.public.dotnet.framework.aspnet
From: "Kevin3344" <k...@nc.rr.com> - Find messages by this author
Date: 22 Dec 2004 12:22:07 -0800
Local: Wed, Dec 22 2004 4:22 pm
Subject: Re: Dot Net Framework 2.0 not working
Reply to Author | Forward | Print | Individual Message | Show original |
Report Abuse

I had the same problem. Here's what I did to fix it:
Open IIS. Right click properties. Select the Operators tab. Click Add.
Add the ASPNET worker process: <MachineName>\ASPNET. Click Ok.
Start a new browser instance and try the page again. It should work.
- Kevin

--
-palakwai_919
"Juan T. Llibre" wrote:
Hi, Palakwai.

re:
Does anyone know what directories the
ASPNET account needs under the 2.0 Framework?


This article spells out the permissions needed
for all essential ASP.NET directories:

http://msdn.microsoft.com/library/de...l/secmod15.asp

See Table 1: Required NTFS permissions.
They are the same for ASP.NET 1.1 and for ASP.NET 2.0.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"palakwai_919" <pa*********@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...

We have a Windows 2000 server with Beta 2 of the 2.0 Framework installed and
the 1.1 Framework. For some odd reason when we hit our 2.0 Framework
application we get the following error:

Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.
Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.

When we look at the event log there are two entries of interest. A warning:

Failed to initialize the AppDomain:/LM/W3SVC/1/Root/RMP30

Exception: System.Web.Hosting.HostingEnvironmentException
Message: Failed to access IIS metabase.
StackTrace: at
System.Web.Hosting.HostingEnvironment.Initialize(A pplicationManager
appManager, IApplicationHost appHost, IConfigMapPathFactory
configMapPathFactory, HostingEnvironmentParameters hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironment(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDom ainWithHostingEnvironmentAndReportErrors(String
appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
Followed by an error:

Failed to execute request because the App-Domain could not be created.
Error: 0x80131500

The 1.1 Framework applications still work. If I move the ASPNET account into
the Local Administrators group the application runs fine and the above errors
and warnings do not occur.

I have tried reinstalling and the 2.0 Framework and re-registering with IIS.
I've used FileMon to watch for access errors when running. We have a second
Windows 2000 with a similar configuration and all runs fine.

Does anyone know what directories and all the ASPNET account needs under the
2.0 Framework? Could this be a registry access issue?

I found this for 1.0:

http://www.15seconds.com/issue/030115.htm

--
palakwai_919


Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Doctor Who | last post by:
I am running a Windows 2003 Server w/Framework 1.1 loaded. We have built a ..NET 2003 app and it requires that ASPNET be assigned permissions to several folders and servcies. The ASPNET account...
2
by: Yogesh Pancholi | last post by:
For some unexplained reason, I am suddenly unable to browse to a virtual directory on my laptop. I have a number of sample websites to which I could happliy browse up until last week. As of Monday,...
0
by: Yogesh Pancholi | last post by:
For some unexplained reason, I am suddenly unable to browse to a virtual directory on my laptop. I have a number of sample websites to which I could happliy browse up until last week. As of Monday,...
1
by: Joel Leong | last post by:
Hi All, I wish to clone ASPNET account and my web app will impersonate to this account. I don't wish to remove the ASPNET account away because some other applications are utilizing this ASPNET...
6
by: thinkfr33ly | last post by:
I've been developing on this machine for months and have created many ASP.NET applications that connect to various remote machines, mostly databases. All of a sudden, I am unable to connect to...
7
by: M. Simioni | last post by:
Hi, i'm always auditing ASPNET's account accesses on my webserver, a WIN2K_SP4 + IIS5 + SQLServer2K_SP3a machine. Nearly all the applications work correctly, but i constantly find a message in...
5
by: Paul Aspinall | last post by:
Hi I am trying to print, server side, from my web application. I'm getting problems, as my ASPNET account is a local account, and is not trusted on the domain to print to printers (ie. does not...
7
by: torus | last post by:
Is the aspnet account called "aspnet" for all non-English versions of Windows and IIS?
10
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
I am trying to setup ASPNET account for .NET application to access database (SQL Server 2000) by aspnet_regiis -i in the directory C:\WINNT\Microsoft.NET\Framework\v1.1.4322 After running it, I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.