catalyst2 community forums  

Go Back   catalyst2 community forums > Support > Scripting Support

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 13-09-2007, 11:59 PM   #1 (permalink)
Junior Member
 
martin's Avatar
 
Join Date: Jan 2003
Posts: 25
Question ASP.NET App_Data Permissions

I have a couple of problems regarding permissions on the App_Data folder:

1) I've created a site using the ASP.NET 2.0 membership functions. This uses an Access Database in the App_Data folder. This works fine on my local machine but when I upload it I get the error ("Cannot write to DB"). As far as I can tell this is because the ASP.NET user cannot write to that folder.

2) I like the idea of using the App_Data folder to store data that you don't want sending back to clients. However, with the current permissions I cannot modify/update the files programatically.

Is it possible to get the permissions changed to enable writing?

Thanks
Martin
martin is offline   Reply With Quote
Old 14-09-2007, 12:39 AM   #2 (permalink)
Junior Member
 
martin's Avatar
 
Join Date: Jan 2003
Posts: 25
Lightbulb

Update: I done some more playing and found I can't do anything vaguely to do with files - even this line fails with a security error:

FileInfo testFile = new FileInfo("testfile1.txt");

I've since found a post on the archive forum (below) and opened a ticket:
http://forum.catalyst2.com/archive/index.php/t-921.html
martin is offline   Reply With Quote
Old 14-09-2007, 08:42 AM   #3 (permalink)
Administrator
 
WhiskyFudge's Avatar
 
Join Date: Oct 2003
Posts: 1,484
Have you enabled website write permissions in helm?
__________________
Jason Robbins
jason@catalyst2.com
WhiskyFudge is offline   Reply With Quote
Old 16-09-2007, 10:15 AM   #4 (permalink)
Junior Member
 
martin's Avatar
 
Join Date: Jan 2003
Posts: 25
Yeah - I tried that and it didn't seem to make any difference.
martin is offline   Reply With Quote
Old 16-09-2007, 10:27 AM   #5 (permalink)
Administrator
 
WhiskyFudge's Avatar
 
Join Date: Oct 2003
Posts: 1,484
What's your domain?
__________________
Jason Robbins
jason@catalyst2.com
WhiskyFudge is offline   Reply With Quote
Old 16-09-2007, 04:07 PM   #6 (permalink)
Junior Member
 
martin's Avatar
 
Join Date: Jan 2003
Posts: 25
Question

The one I'm testing with is www.mlev.co.uk - but I ideally want to transfer the site to www.levett8.co.uk later on.
Try http://www.mlev.co.uk/test.aspx

Ticket ID - UJZ-414982.

Cheers
Martin
martin is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:14 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.