473,387 Members | 3,820 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,387 software developers and data experts.

ASP.NET is not authorized...

EinToR
20
I'm trying to upload an image but I get this error:

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}\ASPNET 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="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

What is the ASP.NET user for Windows 2008 Server?
Aug 20 '08 #1
5 2616
JamieHowarth0
533 Expert 512MB
NT AUTHORITY\NETWORK SERVICE

medicineworker
Aug 20 '08 #2
Plater
7,872 Expert 4TB
What is the ASP.NET user for Windows 2008 Server?
I believe it depends more on your version of IIS? But with that version of windows I image you have at least IIS6, in which case medicineworker is correct and it will be NETWORK_SERVICE
(I think it gets called like IWAM_NETWORKSERVICE or something?)
Aug 20 '08 #3
JamieHowarth0
533 Expert 512MB
Hi guys,

It's definitely not IWAM_MACHINENAME. I believe IWAM is the Worker Process identity for classic ASP (but not entirely sure on this one, classic ASP isn't my main focus any more).
NETWORK SERVICE is the username used to run ASP.NET on IIS6 and above (IIS6 on Windows XP, IIS6 on Windows Server 2003, and IIS7 on Windows 2008 and Vista).
ASPNET is for IIS 5.1 on Windows XP and below.

medicineworker
Aug 20 '08 #4
Curtis Rutland
3,256 Expert 2GB
Just FYI, you can have IIS 6 and/or IIS 7 on Server '08. The only use I've seen for that is to host an FTP server, you have to do it in 6. But you can have both running, or only one.
Aug 20 '08 #5
Plater
7,872 Expert 4TB
It's definitely not IWAM_MACHINENAME. I
You are right, I double checked and your original reply was exactly correct.
Now I'm trying to figure out why I even KNOW about the IWAM/IUSER accounts...
Aug 20 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: avneesh rathor | last post by:
Dear all, The problem i faced is like this. I installed oracle7.3 on HP unix 10.2. Oracle is running fine but when i tried to open SQLMENU50 and logined as some user user/user . It is not...
2
by: Aprochko | last post by:
Attempting to access outlook from C# .NET ASP app. Have added reference to COM Microsoft Outlook 11 Object Library. Have included using System.Runtime.InteropServices; using System.Web.Mail;...
3
by: Eugene | last post by:
Consider a system that has exe and dlls, how can i ensure that only the authorized .net assembly can work with my system. For example, consider your sys got an exe, that would use dll A, B, and C;...
2
by: Brent Burkart | last post by:
I am trying to send an email using SMTP server through IIS. I am recieving the following error. Access is denied. Description: An unhandled exception occurred during the execution of the...
4
by: Brent Burkart | last post by:
I have an asp.net application written that works on every machine I have tried it on except for one. This one XP machine throws the following error. ASP.NET is not authorized to access the...
0
by: Thiago Campos Pereira | last post by:
Hi, I am with the following problem. I have installed a IIS 6.0 / Windows 2003 and created a simple HTML Page (with a simple text, for test - Test.HTML). I am trying access the page with the IE...
0
by: Tim via .NET 247 | last post by:
I am creating a webpage using VB.Net with several datagrids, byclicking different radio buttons, I hide and display thedifferent grids. I am able to do the first post but when Iclick one of the...
4
by: Gaetan | last post by:
I just cannot read any more MSDN articles on IIS6 and ASP.Net authentication ... everything is blurry now, tanks to old eyes. Here is a topo of my environment: - W2K3 SP1 (IIS 6) - Web site...
3
by: ssg31415926 | last post by:
I'm getting the error: "Unable to open the Web 'http://blah/blahblah'. You are not authorized to perform the current operation". I have changed a few things recently but I can't change them back...
2
by: techno01 | last post by:
Hi, I am new in ASP and I just created a website in Visual Studio 2005. I only want a group that have access to this website. I also created a security group in AD. I am also using SQL Server 2005...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...
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...

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.