Jump to content
LCVG

Godaddy Write Permissions, Asp.Net


foogledricks
 Share

Recommended Posts

I can't write, rename, or move files via ASP.net pages on my server. The code is simple, and works on my dev machine. Clearly I do not have the proper permissions. In the file manager I set the folders from which I am operating to WRITE.

 

Here is the page that gives and error on a simple rename (aka "move"):

http://kayleyfredericks.com/home/admin/test.aspx

 

Ideas? Anyone else have GoDaddy, and using ASP.net while doing fileio operations?

Link to comment
Share on other sites

I checked the error, and found this on MSDN: http://support.microsoft.com/kb/320268

 

It looks like you can add AllowPartiallyTrustedCallersAttribute to system.Web in the web.config for your app. If that doesn't work, then I'm not sure. Maybe try to replicate the same conditions on your dev machine that they have on godaddy.

 

That's about all I can think of. All the web stuff I've done has been self-hosted, so I always have access to the server.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...