I am performoming an action of writing data into XML file when a button is clicked on my page and sending that xml to a batch that sends out an email using that XML as source.
This action is performed well when i run it from the code. (Press F5)
When I open a webbrowser and browse the same page, and I clik the button, The action is not performed at all.
I checked the web.config. it looks fine and i have no clue why is this happening.
Any help greatly appreciated.
Thanks,
Vidya Sandela
web.configVisual Studio 2005 Web Deployment Projects
while debugging, your credentials are in use.
while running a page normally, the aspnet account is used. by befault, write access is denied to files/folders in your web.
check the permissions for the folder where you are creating the xml file.
vidyasandela
0 Points
1 Post
Running an internal application using an aciton performed on my page.
Feb 08, 2007 06:11 PM|LINK
Hi,
I am performoming an action of writing data into XML file when a button is clicked on my page and sending that xml to a batch that sends out an email using that XML as source.
This action is performed well when i run it from the code. (Press F5)
When I open a webbrowser and browse the same page, and I clik the button, The action is not performed at all.
I checked the web.config. it looks fine and i have no clue why is this happening.
Any help greatly appreciated.
Thanks,
Vidya Sandela
web.config Visual Studio 2005 Web Deployment Projects
mbanavige
All-Star
134980 Points
15429 Posts
ASPInsiders
Moderator
MVP
Re: Running an internal application using an aciton performed on my page.
Feb 17, 2007 05:55 PM|LINK
this is most likely a permissions issue.
while debugging, your credentials are in use.
while running a page normally, the aspnet account is used. by befault, write access is denied to files/folders in your web.
check the permissions for the folder where you are creating the xml file.