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 / ASP.NET / Web Services / September 2006

Tip: Looking for answers? Try searching our database.

SoapException: Server was unable to process request. Access denied

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cosp - 06 Sep 2006 13:35 GMT
I am trying to compile a Web service in VS 2005.
It builds fine, but as I try to run it it gives me an access denied on the
publish directory (using the ASP.NET development server).

the error:

System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---> System.UnauthorizedAccessException: Access to the path
'C:\Documents and Settings\XYZ\My Documents\Visual Studio
2005\WebSites\XXXWebService' is denied

I opened up the directory to ASP.Net user with no luck, then I opened it to
Everyone, still not working.
The web.config does not seem to understand the <identity impersonate> tag
(it wouldn't build).

Thanks for any advice.

Cosp
John Saunders - 06 Sep 2006 17:51 GMT
>I am trying to compile a Web service in VS 2005.
> It builds fine, but as I try to run it it gives me an access denied on the
[quoted text clipped - 12 lines]
> The web.config does not seem to understand the <identity impersonate> tag
> (it wouldn't build).

I recently had a problem that sounds similar. I had a program which was
trying to access "C:\path\", and got an access denied error.

This was because it only had the path, but no filename. It was, in effect,
trying to access the folder as though it were a file. This was just a matter
of a bad exception thrown by .NET. The real exception was that I was missing
the file name.

John

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.