TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Wasi Qureshi
NA
50
0
ON LOCALHOST System.UnauthorizedAccessException:
Jun 5 2009 3:20 AM
I have developed a login page in asp.net which impersonate the user using ASP.Net IMPERSONATION and then redirect it to the specified page where i m giving IP Adress to my webserver and then reading a file from "C" Drive of my webserver. The code and impersoation works fine as i run it in Visual Studio 2005 i m impersonation using Domain Administrator account who can acess any drive of the entire network but as soon i host it on my local pc and try to run it using localhost it gives me System.UnauthorizedAccessException: Access to the path '\\WebServer\c$\Test.txt
I m trying to play with IIS 5.0 secuurity tab for this application but still not getting it to work plz help me Thanks in advance
Reply
Answers (
0
)
difference between generic error and standard detailed error
Embedding Images in Emails