473,672 Members | 2,597 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS 6 and Server 2003 ASP.NET apps don't run well...sort of

I get the following error when I add a new application to our server.
If I run aspnet_regiis -i it takes care of the problem but when I add
another application I get the same error for the second application.
The first app works fine. If I run aspnet_regiis -i the second app
works fine. I thought I needed to run aspnet_regiis -i only once not
with every new application. Does anyone else have this problem? Things
just don't seem right, I know in on my IIS 5 Windows 2000 Server it was
a one time deal.

Thanks
The error I get is below:
Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram *ework\v1.1.432 2\Temporary ASP.NET
Files\blogapp\5 fc9e323\1ff3aee *e" is denied.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Unauthor izedAccessExcep *tion: Access to the
path "C:\WINDOWS\Mic rosoft.NET\Fram *ework\v1.1.432 2\Temporary ASP.NET
Files\blogapp\5 fc9e323\1ff3aee *e" is denied.
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNE T on IIS
5 or Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="tr ue"/>, the identity will be the anonymous user
(typically IUSR_MACHINENAM E) or the authenticated request user.

Nov 19 '05 #1
5 1318
Apparently, something in your app is messing with permissions. Running
aspnet_regiis -i will certainly rest the permissions. However, that is sort
of like lighting a smoke with a hydrogen bomb. Perhaps you should examine
your permissions, and what your app may be doing them.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"HankD" <Mr*****@gmail. com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
I get the following error when I add a new application to our server.
If I run aspnet_regiis -i it takes care of the problem but when I add
another application I get the same error for the second application.
The first app works fine. If I run aspnet_regiis -i the second app
works fine. I thought I needed to run aspnet_regiis -i only once not
with every new application. Does anyone else have this problem? Things
just don't seem right, I know in on my IIS 5 Windows 2000 Server it was
a one time deal.

Thanks
The error I get is below:
Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram *ework\v1.1.432 2\Temporary ASP.NET
Files\blogapp\5 fc9e323\1ff3aee *e" is denied.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Unauthor izedAccessExcep *tion: Access to the
path "C:\WINDOWS\Mic rosoft.NET\Fram *ework\v1.1.432 2\Temporary ASP.NET
Files\blogapp\5 fc9e323\1ff3aee *e" is denied.
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNE T on IIS
5 or Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="tr ue"/>, the identity will be the anonymous user
(typically IUSR_MACHINENAM E) or the authenticated request user.
Nov 19 '05 #2
I have to correct myself. It isn't your app that is causing the problem; I
misread. Installing a new app does this? How are you installing a new app?

There are several ways of creating a new ASP.Net application. One is using
Visual Studio.Net. One is to create a folder under wwwroot on your hard
drive, and use IIS Admin to create the application. There are several other
methods as well, including using IIS Admin to do the entire thing.

Hope you got a laugh out of my analogy.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"HankD" <Mr*****@gmail. com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
I get the following error when I add a new application to our server.
If I run aspnet_regiis -i it takes care of the problem but when I add
another application I get the same error for the second application.
The first app works fine. If I run aspnet_regiis -i the second app
works fine. I thought I needed to run aspnet_regiis -i only once not
with every new application. Does anyone else have this problem? Things
just don't seem right, I know in on my IIS 5 Windows 2000 Server it was
a one time deal.

Thanks
The error I get is below:
Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram *ework\v1.1.432 2\Temporary ASP.NET
Files\blogapp\5 fc9e323\1ff3aee *e" is denied.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Unauthor izedAccessExcep *tion: Access to the
path "C:\WINDOWS\Mic rosoft.NET\Fram *ework\v1.1.432 2\Temporary ASP.NET
Files\blogapp\5 fc9e323\1ff3aee *e" is denied.
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNE T on IIS
5 or Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="tr ue"/>, the identity will be the anonymous user
(typically IUSR_MACHINENAM E) or the authenticated request user.
Nov 19 '05 #3
Thanks for the replies, I understand what you are saying (killing a fly
with a sledgehammer etc.) That is why I am thinking something is a
foot. Basically I am building the application on my local moving it to
the test environment (which is a 2000 server and IIS 5 and works fine)
finally moving to production. I make the move to production the same as
when I move from local to test. Moving the aspx files and bin to the
production server and then using IIS to make the application. One
thing I am also doing is that my root dir is not under wwwroot. I have
set it up in a different directory. Do you think that may be the
problem?

Thanks for the help.

Kevin Spencer wrote:
I have to correct myself. It isn't your app that is causing the problem; I misread. Installing a new app does this? How are you installing a new app?
There are several ways of creating a new ASP.Net application. One is using Visual Studio.Net. One is to create a folder under wwwroot on your hard drive, and use IIS Admin to create the application. There are several other methods as well, including using IIS Admin to do the entire thing.

Hope you got a laugh out of my analogy.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"HankD" <Mr*****@gmail. com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
I get the following error when I add a new application to our server.
If I run aspnet_regiis -i it takes care of the problem but when I add
another application I get the same error for the second application.
The first app works fine. If I run aspnet_regiis -i the second app
works fine. I thought I needed to run aspnet_regiis -i only once not
with every new application. Does anyone else have this problem? Things just don't seem right, I know in on my IIS 5 Windows 2000 Server it was a one time deal.

Thanks
The error I get is below:
Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram *ework\v1.1.432 2\Temporary ASP.NET
Files\blogapp\5 fc9e323\1ff3aee *e" is denied.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Unauthor izedAccessExcep *tion: Access to the path "C:\WINDOWS\Mic rosoft.NET\Fram *ework\v1.1.432 2\Temporary ASP.NET Files\blogapp\5 fc9e323\1ff3aee *e" is denied.
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNE T on IIS 5 or Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="tr ue"/>, the identity will be the anonymous user
(typically IUSR_MACHINENAM E) or the authenticated request user.


Nov 19 '05 #4
Hi Hank,

So, you're using IIS Admin to create a new virtual directory that is
somewhere else on the computer than under Inetpub? And then you're using IIS
Admin to create an application from that virtual directory? And this new
virtual directory is not configured as a web site, but a virtual directory
under another web site, or is it a new web site? I just want to be sure
we're talking apples and apples here.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"HankD" <Mr*****@gmail. com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
Thanks for the replies, I understand what you are saying (killing a fly
with a sledgehammer etc.) That is why I am thinking something is a
foot. Basically I am building the application on my local moving it to
the test environment (which is a 2000 server and IIS 5 and works fine)
finally moving to production. I make the move to production the same as
when I move from local to test. Moving the aspx files and bin to the
production server and then using IIS to make the application. One
thing I am also doing is that my root dir is not under wwwroot. I have
set it up in a different directory. Do you think that may be the
problem?

Thanks for the help.

Kevin Spencer wrote:
I have to correct myself. It isn't your app that is causing the problem; I misread. Installing a new app does this? How are you installing a new app?
There are several ways of creating a new ASP.Net application. One is using Visual Studio.Net. One is to create a folder under wwwroot on your hard drive, and use IIS Admin to create the application. There are several other methods as well, including using IIS Admin to do the entire thing.

Hope you got a laugh out of my analogy.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"HankD" <Mr*****@gmail. com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
I get the following error when I add a new application to our server.
If I run aspnet_regiis -i it takes care of the problem but when I add
another application I get the same error for the second application.
The first app works fine. If I run aspnet_regiis -i the second app
works fine. I thought I needed to run aspnet_regiis -i only once not
with every new application. Does anyone else have this problem? Things just don't seem right, I know in on my IIS 5 Windows 2000 Server it was a one time deal.

Thanks
The error I get is below:
Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram *ework\v1.1.432 2\Temporary ASP.NET
Files\blogapp\5 fc9e323\1ff3aee *e" is denied.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Unauthor izedAccessExcep *tion: Access to the path "C:\WINDOWS\Mic rosoft.NET\Fram *ework\v1.1.432 2\Temporary ASP.NET Files\blogapp\5 fc9e323\1ff3aee *e" is denied.
ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNE T on IIS 5 or Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="tr ue"/>, the identity will be the anonymous user
(typically IUSR_MACHINENAM E) or the authenticated request user.

Nov 19 '05 #5
That is correct. The new Vdirectory is inside the root website. If may
or may not be in a couple folders deep but it is not a site on its own.

Nov 19 '05 #6

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

Similar topics

4
2220
by: Chris Gatto | last post by:
Hello, My organization is currently considering the purchase of a new intranet application server and we are looking for opinions from those who have been down this road before. In brief the server must support the following: - 600+ users using various ASP.Net based applications, only 2 currently but growing over time as old legacy apps are converted; - Some applications are mission critical, others not so much; - DB back-end is a...
6
3785
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for one day): \\FFDS24\ASP.NET Applications(_LM_W3SVC_1_Root_ATV2004)\Errors During Execution: 7 \\FFDS24\ASP.NET Apps v1.1.4322(_LM_W3SVC_1_Root_ATV2004)\Compilations
3
1630
by: chicken butt | last post by:
Hi - I am trying to move some of my web apps from my development machine running XP PRO SP2 to one of our Windows 2000 server boxes. I have created a new site for each of the apps and am using Host Headers to differentiate between them all. In IIS, if I redirect to another server running Windows 2003 Server, the 2.0 applications work very well.
42
3996
by: (PeteCresswell) | last post by:
I skimmed the MS spiel at http://msdn.microsoft.com/sql/express, and noted the part about "all inside the Visual Studio 2005 environment". Do the older SQL server tools for security and stored procedure editing work too? -- PeteCresswell
42
6735
by: Paul | last post by:
Anyone know where I can find some good resources to help us choose between SQL and Oracle ( Progress Openedge as well ) . Any comments on what you would choose ?? We are creating a new Warehouse Management System which wil manage our very large inventory. Anyway comments suggestions welcome Thanks Paul
3
1574
by: KidSensation | last post by:
Hello all, I ran into a couple applications written in c#, but we do not have the full version of visual studio.net 2003, so I thought they were most likely written in the beta version. After some research, I found out that sooner or later the applications written in beta would just stop working. This is going to be a major problem and I was hoping that there was some way I could find out if they were in fact written in the beta...
4
2049
by: =?Utf-8?B?ZGlub28=?= | last post by:
We are currently in the process of upgrading our web server from Windows 2000 advanced server to Windows 2003 SP2. We have few ASP.Net applications built with .NET framework 1.1 running on the web server. I am looking for the known issues that I need to go over before we start the upgrade. Appreiciate your help.
4
1952
by: Hrsoft | last post by:
Dear Friends My developer environmment has a Windows 2000 SP4 Server, and I cant to update to 2003 or 2008, for reasons of... money. But, I need to install in this 2000 Server SP4 the ASP.NET framework. How versions can I install? Can I install ASP.NET 2.0? And ASP.NET 3.5? This is the desired framework
0
8404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8931
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, 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...
0
8828
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 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...
0
8680
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6238
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 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...
0
4227
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...
0
4418
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2819
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
2
1816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.