Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

re-install?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alex - 18 Aug 2005 03:17 GMT
I've made some changes to machine.config which didn't work out as we
expected. When I changed back to the original version, none of the sites
work(including reporting services). I get an "Access is denied. " exception
with the following message:

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.

I ran aspnet_regiis -i, but it didn't fix it. Will a re-install work?
Scott M. - 18 Aug 2005 03:23 GMT
It sounds like the problem *is* that you ran aspnet_regiis -i, which
re-installs ASP.NET and the ASPNET user account, therefore resetting any
privileges that account might have had previously.

Have you just tried doing what the message says to do (grant the ASPNET user
account privileges to the desired resources)?

> I've made some changes to machine.config which didn't work out as we
> expected. When I changed back to the original version, none of the sites
[quoted text clipped - 18 lines]
>
> I ran aspnet_regiis -i, but it didn't fix it. Will a re-install work?
Alex - 18 Aug 2005 03:34 GMT
We tried to get it working the whole day. aspnet_regiis was the last thing we
could think of. Yes, I did grant all permissions as the message said.

> It sounds like the problem *is* that you ran aspnet_regiis -i, which
> re-installs ASP.NET and the ASPNET user account, therefore resetting any
[quoted text clipped - 25 lines]
> >
> > I ran aspnet_regiis -i, but it didn't fix it. Will a re-install work?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.