
Signature
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET csgallagher@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
Authentication for write permissions can be a tricky thing in a hosted
environment, if you have been given write permissions at all.
I would guess that the hosting provider denies write at some point in the
path
"c:\xxx\xxx\xxx\csgallagher\xxx\SomeFile.xml" is denied.
at a level below your application.for the asp.net account, so even
impersonation is unlikely to help as you have found.
Your next step is probably to drop them an email outling the problem, even
passing them a small code sample. If they are any good as a hosting
provider they will be able to tell you straight away what the problem is and
resolve it for you.
--
Regards
John Timney
Microsoft Regional Director
Microsoft MVP
> The application is a simple form of three textbox controls that results
> in writing an XML file to the file system of the application root when
[quoted text clipped - 37 lines]
> NET csgallagher@REMOVETHISTEXTmetromilwaukee.com
> URL http://www.metromilwaukee.com/clintongallagher/
clintonG - 31 Oct 2004 01:28 GMT
Thank you John. The host provider has been very responsive and just notified
me to explain they had to apply permissions for the Network Service account
byut didn't explain if that was applied to the root of the account to enable
permissions to propagate or if the permissions were applied to the
application root of the virtual application so one more round opf tech
support %-)
Got to read more about Code Access Security and just found this...
MSDN - Hosting Multiple ASP.NET Applications
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/sec
mod93.asp
<%= Clinton Gallagher
> Authentication for write permissions can be a tricky thing in a hosted
> environment, if you have been given write permissions at all.
[quoted text clipped - 59 lines]
> > NET csgallagher@REMOVETHISTEXTmetromilwaukee.com
> > URL http://www.metromilwaukee.com/clintongallagher/