Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help Link9... flat file output from ASP - Permission Denied

Status
Not open for further replies.

webwriter

Programmer
May 18, 2001
18
US
Hi..
Me again.. :) I have a survey ASP that I want to capture the results from into a flat file.. WOrks great on IIS.. I transfer the code to my test web server and get "Permission denied" on the file that i'm creating on my web server. no code changes except in location of file. I've had my administrator check all passwords on the folder/web server and they have full rights.. Do you have a clue why i may be getting the "Permission Denied" when CreateTextFile is executed???

Thanks.. I could sure use help with this.. !!
 
Try putting a text file in that directory and opening it. If you can open it, then it has to be permissions, yes?

If you can't open it, or it can't find it, then double check your path to make sure you're talking about the directory you think you are.

It smells strongly of permissions, though... especially since the code works on the other server. I would pester my admin to double and triple check them again for me after you run a few simple tests.

ps -- it's not a good idea to direct a question to a particular member. This discourages others from reading/responding to your post. No one here (definitely not me) knows everything, so by doing so, you're reducing your chances of getting an answer to your question. Just a thought. :)

Paul Prewett
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top