Error while directotry creating

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
11/3/2010 6:33:41 AM
Gravatar
Total Posts 8

Error while directotry creating

I use last version of MojoPortal.

When I run setup I has exception with message

[SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral' failed.]
   System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
   System.Security.CodeAccessPermission.Demand() +61
   System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) +595
   System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) +150
   System.IO.Directory.CreateDirectory(String path) +6 .....

I use shared hosting in 1and1 (new plan with Net 3.5 and Ajax, but with medium trust). I create all needed directory manualy and setup has been completed.

I tell about problem to support of 1and1 and they request list of directories that need a special permission (for directory creation).

Please tell me what directories must have this permissions?

11/3/2010 6:44:36 AM
Gravatar
Total Posts 18439

Re: Error while directotry creating

/App_Data and /Data need to be fully writable by the web process user (the user that is the identity on the application pool).

I have never heard good news from people using 1and1 shared hosting but their dedicated servers are a good value. 1and1 always seems slow to update ASP.NET in shared hosting, until recently they only offered 2.0 ASP.NET and I'm not sure if they now have .NET 3.5 or .NET 3.5 SP1, mojoPortal needs at least .NET 3.5 SP1

If it does work out well for you at 1and1 please do let us know, I like to collect such information so I can know what to recommend or recommend against, in the past I always told people to not use 1and1 shared hosting because they only had 2.0 .NET. But I have not heard much since they started offering 3.5 .NET so it would be good to hear about it good or bad.

Best,

Joe

11/3/2010 6:52:46 AM
Gravatar
Total Posts 8

Re: Error while directotry creating

Thanks for the quick reply. I'll write if I can run MojoPortal on a 1and1 shared hosting.

You must sign in to post in the forums. This thread is closed to new posts.