View Full Version : FSO Permissions
homeacademy
04-08-2003, 07:51 AM
I use FileSystemsObject on my DiscountASP.Net account, and am having a permissions error. FSO worked fine until I installed frontpage extentions. Now, I get the following error:
[quote]MicrosoftVBScriptruntimeerror'800a0046'
Permissiondenied
/outputFile.asp,line59</CODE>
Line 59:[quote]SetMyFile=ScriptObject.CreateTextFile(Left(Server. mappath(Request.ServerVariables("PATH_INFO")),pathEnd)&SUBFOLDER&"\"&filename)</CODE>
Any suggestions as to how to correct the problem? Thanks in advance for any assistance.
bruce
04-08-2003, 09:58 AM
FrontPage Server Extension automatically tightens the anonymous user permission on your site. Your script (ASP) is executing as the anonymous user, and therefore do not have the permission to write to the file system.
We can manually update the permission on your site but some function in FP will revert those changes.
There isn't much we can do except to suggest the removal of FP extension.
[b]quote:Originally posted by homeacademy
I use FileSystemsObject on my DiscountASP.Net account, and am having a permissions error. FSO worked fine until I installed frontpage extentions. Now, I get the following error:
[quote]MicrosoftVBScriptruntimeerror'800a0046'
Permissiondenied
/outputFile.asp,line59</CODE>
Line 59:[quote]SetMyFile=ScriptObject.CreateTextFile(Left(Server. mappath(Request.ServerVariables("PATH_INFO")),pathEnd)&SUBFOLDER&"\"&filename)</CODE>
Any suggestions as to how to correct the problem? Thanks in advance for any assistance.
</blockquote id="quote"></font id="quote">
Hi, Bruce
This is the answer I got from M$FT direct:
Using FrontPage on an IIS server, you can manually set the scripting for each folder. Open the website with FrontPage, right click on a folder then take a look at the properties. You'll see some other options for browsing and executables as well.
I'm speaking for the use of FrontPage XP / FrontPage 2002. I think this also applies to FrontPage 2000 as well.
This gibes with what we're doing at work where we have FP and VS playing nicely together - but it's VS2003, so I wanted to make sure my expiernce wasn't too limited.
[b]quote:Originally posted by bruce
FrontPage Server Extension automatically tightens the anonymous user permission on your site. Your script (ASP) is executing as the anonymous user, and therefore do not have the permission to write to the file system.
We can manually update the permission on your site but some function in FP will revert those changes.
There isn't much we can do except to suggest the removal of FP extension.
[b]quote:Originally posted by homeacademy
I use FileSystemsObject on my DiscountASP.Net account, and am having a permissions error. FSO worked fine until I installed frontpage extentions. Now, I get the following error:
[quote]MicrosoftVBScriptruntimeerror'800a0046'
Permissiondenied
/outputFile.asp,line59</CODE>
Line 59:[quote]SetMyFile=ScriptObject.CreateTextFile(Left(Server. mappath(Request.ServerVariables("PATH_INFO")),pathEnd)&SUBFOLDER&"\"&filename)</CODE>
Any suggestions as to how to correct the problem? Thanks in advance for any assistance.
</blockquote id="quote"></font id="quote">
</blockquote id="quote"></font id="quote">
Jon
(Information doesn't want to be free, it wants to be sixty-nine cents @ pound)
bruce
06-04-2003, 10:38 AM
Jon,
MSFT is lying or they don't know what they are talking about. Changing scripting access doesn't fix the NTFS issue.
Here's a thread of my posting debating w/ an MS engineer in a private newsgroup
-----------------------------------------
Thanks for replying.
I agree with you that it is common to write an ASP page to write into a
Text or XML file. It is more common that users develop ASP pages to write
to database (like SQL, Access). Since the permissions of Database is
controlled separately as NTFS, for example, users may construct a SQL SA
password in his ASP, writing to database should be no problem. The design
of this feature affects more if users want to directly manipulate with
files/folders under FP Web folders.
I hope that this has clarified things.
Thanks again for using Microsoft for Partners newsgroup. If you require
further assistance, please feel free to let me know.
Regards,
Nick Huang
Microsoft Online Support Engineer
[b]quote:Originally posted by JonO
Hi, Bruce
This is the answer I got from M$FT direct:
Using FrontPage on an IIS server, you can manually set the scripting for each folder. Open the website with FrontPage, right click on a folder then take a look at the properties. You'll see some other options for browsing and executables as well.
I'm speaking for the use of FrontPage XP / FrontPage 2002. I think this also applies to FrontPage 2000 as well.
This gibes with what we're doing at work where we have FP and VS playing nicely together - but it's VS2003, so I wanted to make sure my expiernce wasn't too limited.
[b]quote:Originally posted by bruce
FrontPage Server Extension automatically tightens the anonymous user permission on your site. Your script (ASP) is executing as the anonymous user, and therefore do not have the permission to write to the file system.
We can manually update the permission on your site but some function in FP will revert those changes.
There isn't much we can do except to suggest the removal of FP extension.
[b]quote:Originally posted by homeacademy
I use FileSystemsObject on my DiscountASP.Net account, and am having a permissions error. FSO worked fine until I installed frontpage extentions. Now, I get the following error:
[quote]MicrosoftVBScriptruntimeerror'800a0046'
Permissiondenied
/outputFile.asp,line59</CODE>
Line 59:[quote]SetMyFile=ScriptObject.CreateTextFile(Left(Server. mappath(Request.ServerVariables("PATH_INFO")),pathEnd)&SUBFOLDER&"\"&filename)</CODE>
Any suggestions as to how to correct the problem? Thanks in advance for any assistance.
</blockquote id="quote"></font id="quote">
</blockquote id="quote"></font id="quote">
Jon
(Information doesn't want to be free, it wants to be sixty-nine cents @ pound)
</blockquote id="quote"></font id="quote">
eurovw
06-04-2003, 11:42 AM
unfortunatelly it didn't work for me. Everytime I tried to right click folders in my web in FrontPage, it said this server doesn't support changing permissions.
But it worked on www.blazingauto.com/new/ site I created. I was able to change permissions manually thru FrontPage.
By the way, www.blazingauto.com is residing on www.activehost.com
summer
06-19-2003, 04:46 AM
Can you tell me if you resolved this? I have just begun having this problem, but it was only after moving my website to its own server (in lieu of a sub web off my design site).
Thanks.
bruce
06-20-2003, 03:41 AM
Email support, we can check if you permission is ok.
[b]quote:Originally posted by summer
Can you tell me if you resolved this? I have just begun having this problem, but it was only after moving my website to its own server (in lieu of a sub web off my design site).
Thanks.
</blockquote id="quote"></font id="quote">
vBulletin® ©Jelsoft Enterprises Ltd.