?
Solved

ASP.NET is not Authorized

Posted on 2004-10-12
3
Medium Priority
?
2,033 Views
Last Modified: 2012-05-05
am getting this message when i try to run EditItemTemplate on the server. Acces to MyCalendar.xml" is denied.

ASP.NET is not authorized to access the requested resource. Consider
To grant ASP.NET write 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

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 write 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

My operating system is XP Professional.....and it does not have any security tab when I right click.

Please its very very urgent.
0
Comment
Question by:angireddy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Expert Comment

by:yellowjetski
ID: 12291475
If  give ASPNET the right does not solve the problem, what I had to do is to create another account with a little more right then the aspnet

For security reasons, ASPNET "cannot" make changes to the windows system (What I figured)

Go to Control Panel -> IIS -> Right click on the application you want to change -> Properties

Go to Directory Security tab -> Anonymous access and authentication control -> Edit

The click for anonymous access box should be check, and the user name is the account you grant anonymous access.

FOR TESTING PURPOSE, you can use your logon info and see if it solve the problem, if it does. please create an account with the read/write right to the correct directory, and use that account for this folder only.

Hope that helps
0
 
LVL 18

Accepted Solution

by:
tusharashah earned 1500 total points
ID: 12292216
To view Security Tab on your Windows XP Pro:

Open Windows Explorer, and choose Folder Options from the Tools menu.  On the View tab, scroll to the bottom of the Advanced Settings and clear (click) the check box next to "Use Simple File Sharing."  Click OK to apply the change, and you should now have a Security tab when viewing the properties of a file on an NTFS volume.

From:
http://windows.about.com/library/tips/bltip542.htm?terms=windows+xp+security

-tushar

0
 
LVL 3

Expert Comment

by:mAjKoL
ID: 12295680
In the sedurity tab add write/modification access to ASPNET. I assume you have no impersonation.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question