Multimobile Development: Building Applications for any Smartphone
Access to the path is denied when calling StreamWriter from aspx to dynamicaly create asp files. how to enable this in the web.config?
Messages   Related Types
This message was discovered on microsoft.public.dotnet.security.


Daniel
Access to the path is denied when calling StreamWriter from aspx to
dynamicaly create asp files. how to enable this in the web.config?

Reply to this message...
Vote that this is a GOOD answer...
 
Really good experience at the Apple Store
MonoDroid – looking *awesome*
 
    
Paul Clement
On Wed, 8 Sep 2004 18:05:15 -0700, "Daniel" <Click here to reveal e-mail address> wrote:

¤ Access to the path is denied when calling StreamWriter from aspx to
¤ dynamicaly create asp files. how to enable this in the web.config?
¤

I don't know what level of authentication you are using for your web app, or whether you are using
impersonation, but you must provide sufficient access to the folder or folders where the files are
being referenced. The permissions may apply to the ASPNET account, IUSR_<MACHINE_NAME> account or
specific user accounts depending upon the web application authentication implemented.

Paul ~~~ Click here to reveal e-mail address
Microsoft MVP (Visual Basic)
Reply to this message...
Vote that this is a GOOD answer...
 
First volume of Multimobile Development nearly ready to go to press
A mention on Developing for the iPhone and Android: The pros and cons
 
 
System.IO.StreamWriter




Multimobile Development: Building Applications for any Smartphone
Ad
BootFX
Reliable and powerful .NET application framework.
iOS, Android and Windows Phone Development Training and Consultancy
Hosted by RackSRV Communications
 
Multimobile Development: Building Applications for any Smartphone
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734