I'm trying to set up a test environment for an ASP.NET site on a Windows XP
Pro box. I installed IIS5.1 and then .Net V2.
I put up a web site that contains just a simple Default.aspx "hello world"
page. When I try to connect, I get the "Server Unavailable" page. Plain HTML
pages are served with no problems.
Looking at the Event Viewer Application section I see two error entries:
aspnet_wp.exe (PID: 1676) stopped unexpectedly.
Failed to execute the request because the ASP.NET process identity does
not have read permissions to the global assembly cache. Error:
0x80070005 Access is denied.
I have checked the permissions, the ASPNET account has read on C:\, and Read
& Execute on C:\Windows with "inherit below." I turned off the GAC "Cache
Viewer" shell extension and checked the security on the folders in the GAC,
the permissions were inheriting correctly. I added "Write" to the GAC
folders manually.
None of this made any difference. I tried adding ASPNET to the
Administrators group and restarting IIS, still the same error. I've
reinstalled .Net a couple of times with no change.
I'm having trouble figuring out what the error really means. The process
list contains aspnet_wp running under the ASPNET account even though it
"stopped unexpectedly."
In an attempt to run the worker process under System, I tried modifying the
machine.config processModel element userName/password attributes in the
CONFIG folder and restarting IIS. This didn't make any difference either,
and the aspnet_wp process still shows as running under ASPNET. I'm new to
ASP.NET so I'm not sure if that's normal.
I've been able to get ASP.NET working on a couple of similar machines with
no problems, but I'm not sure what to do in this case. I don't want to
flatten the machine unless I have to.
Anyone out there familiar with this error or know any ways to solve it?
Thanks,
Mike N. 4 10466
Hi Mike,
Welcome to MSDN newsgroup!
Based on my experience, the current problem was caused by the ASPNET
account not having the correct permissions on the system. I suggest you
perform below steps:
1 Using aspnet_regiis -u;
2 Delete the ASPNET account;
3 Using aspnet_regiis -i;
If the problem still occurs, please change the <processModel > tag to have
the userName run as SYSTEM. If the application works fine after
modification, I recommend you grant the ASPNET account's permissions listed
in the following article: http://msdn.microsoft.com/library/de...us/dnnetsec/ht
ml/SecNetHT01.asp
Then, please changing userName back in <processModel > tag and check whether
the problem still occurs.
I hope the above information helps, if you have any questions or concerns,
please do not hesitate to let me know. I am standing by to help you.
Regards,
Yuan Ren [MSFT]
Microsoft Online Support
I'm having the exact same issue as Mike.
I changed my process model tag as suggested by Yuan and still have the same issue.
My messages, etc. are the same as what Mike is experiencing.
I have also uninstalled IIS and reinstalled it. Deleted the ASPNET user and used aspnet_regiis as suggested. I also uninstalled .net 1.1 and the service pack as part of the process and reinstalled.
Any other suggestions would be appreciated as I am quickly coming to flattening the machine given the time I have already spent.
Thank you,
Brent
Hi,
After hours of trying to fix this and searching online I thought I would try bumping this up one more time for suggestions before reformatting the machine on Monday.
Thanks in advance for any ideas/suggestions you may have.
Brent
On the machine this was happening on I had a SprintPCS card installed. http://support.microsoft.com/?kbid=910435
Search for bmnet.dll on your machine if you are having a similar problem. That file indicates that this is probably it. Also after running that removal tool suggested in the article I had to reboot my machine to get it to work again.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Matt Calhoon |
last post by:
Hi there,
I have specified a aspnet user account to run all .net sites. This account
needs access to start a .BAT File (in my global.asax on session start the app
needs to execute this bat file). I have given the aspnet user Read and
execute but the .bat will still not start.
What specific permissions does this user need for other folders to start a
..bat file? Does the user need access to the WINNT\System32 directory or the...
|
by: Prince Kumar |
last post by:
I joined a company recently and they have a java program which hangs
(does nothing) after a while. This is no way consistent. It could
succeed quite a few times and can fail a few other times. There is no
consistency when it fails.
Could anyone here shed some light on how to debug/resolve the issue. I
guess IBM looked at the issue and were not able to pinpoint where the
issue is.
When the program hangs and when force the DB2...
|
by: DDE |
last post by:
Hi everybody,
I developed an assembly common to all my Web Services, so I registered it
and put it in the Global Assembly Cache. Now, I modified this assembly, but
cannot succed to have this new assembly used by my Web Services. Whatever I
do, the old assembly is still used!! I try to unregister it, put the new
version in the assembly cache nothing works. I also repplaced the dll fil in
:\WINNT\Microsoft.NET\Framework\v1.1.4322 , same...
|
by: JerryW |
last post by:
I just reinstalled .NET 2003 (after repeated attempts to
get ASP.NET Web Applications to work).
I created a new virtual directory from within IIS (e.g.
WebTest). Then I tried to create a new Visual C# ASP.NET
Web Application pointint to the location
http://localhost/MyWebTest. I get an error:
"The Web server reported the following error when
attempting to create or open the Web project located at
|
by: JerryW |
last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET
Web Applications to work). I first did a complete uninstall of .NET
2003, .NET Framework 1.1, and IIS. I also completely deleted
c:\inetpub\wwwroot and rebooted before reinstalling.
I created a new virtual directory from within IIS (e.g. MyWebTest).
Then I tried to create a new Visual C# ASP.NET Web Application
pointing to the location http://localhost/MyWebTest. I get...
| |
by: Ray |
last post by:
Dear all,
Now, I am using Global Assembly Cache to share assembly between server
and clients. However, it seems that the server and clients use individual
Global Assembly Cache. For example, the assembly is placed in U drive, I
have to use the Global Assembly Cache Tool in the client PC to add the
assembly to the Global Assembly Cache of the client PC manually. Should I
set something in the Global Assembly Cache Tool in the client PC in...
|
by: rrossney |
last post by:
Please look at the "what I've already done" section of this message
before responding to it: I believe that I've done everything that the
people who experience this error are typically told to do.
I have created an ASP.NET web service that I have running on my
development machine, and am trying to get it to run on my test server.
Both machines are running Windows 2000 SP4, IIS 5, and the .NET 2.0
framework.
When I attempt to access...
|
by: Eric |
last post by:
I'm trying to run a C# web service that I ported from VS 2003 to VS
2005. I'm unable to run it, I see:
Failed to execute the request because the ASP.NET process identity does
not have read permissions to the global assembly cache. Error:
0x80070005 Access is denied.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
|
by: Artie |
last post by:
Hi,
Our team have a web project which includes some C# ActiveX DLLs.
On some developers' PCs, the code which calls methods in the ActiveX
dll is succesful - no exceptions. On other PCs, the ActiveX control
doesn't even seem to get loaded. (On the failing machines, if we try
and debug down to where the ActiveX DLL method is invoked, both Visual
Studio
and IE hang.)
|
by: =?Utf-8?B?VkIgSm9ubmll?= |
last post by:
I am at my witless end here, please help!
I have an ASP.Net aspx web page, hosted on Windows Server 2003, that
receives a query string with the path to an autocad drawing file selected
from a web page hosted on a unix driven file server. The user wants to have
this file converted to a pdf.
My page takes the query string and turns it into a windows unc path, then I
copy the file down to the web server and place it into a directory. This...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |