Topaz Filer: if you use e-mail for business, we can save you money and decrease your risk.
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...
 
Auto-following on Twitter
Ubuntu and XP on one “desktop”
 
    
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...
 
Outlook interop - stopping user properties appearing on Outlook message print
Seriously, why is “cut and paste” majorly newsworthy???
 
 
System.IO.StreamWriter




Ad
BootFX
Reliable and powerful .NET application framework.
Recession Busting Bespoke Software
Get through the recession by investing in bespoke software to decrease costs and create commercial opportunities.
Other DN247 Network Sites
.NET 247
SQL Server Wins
Old Skool Developer
 
Copyright © AMX Software Ltd 2008-2009. Portions copyright © Matthew Baxter-Reynolds 2001-2009. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - .NET 247 is a member of the DN247 Network - 4.0.30129.1734