go-daddy "not allowed by the security policy"

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.
8/16/2007 8:00:09 PM
Gravatar
Total Posts 112

go-daddy "not allowed by the security policy"

Hi All,

I'm having more problems installing on Go-Daddy and hope that you can help! Wait, maybe if I change web.config for the medium trust comments... I'll have a go at that - but I don't know how to GAC install things on Go-Daddy... I wonder what to do about that? Well anyway, for posterity here's my original error:

Server Error in '/cms' Application.
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.Web.HttpContext.System.IServiceProvider.GetService(Type service) +54
Brettle.Web.NeatUpload.UploadHttpModule.GetCurrentWorkerRequest() +57
Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e) +72
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

Many thanks for any suggestions or ideas,
Dale E. Moore

8/17/2007 6:28:03 AM
Gravatar
Total Posts 18439

Re: go-daddy "not allowed by the security policy"

Hi Dale,

Sounds like you've found the needed info and got past these issues. Let me know if you are still having troubles.

As for installing in the GAC, you cannot do that unless you have control fo the server, so your only hope is if you can convice Go Daddy to install NeatUpload in the GAC which somehow I doubt they will do.

In short, I think you will have to live with the limitations imposed by Medium Trust. You won't be able to use NeatUpload but uploads should still work. You will likely have issues if you try to run multiple sites they will all use the same theme.skin file from App_Themes/Default. The VirtualPathProvider won't work under medium trust so if you are using the theme.skin file to customize design you will need to use the one in App_Themes/Defaul instead of the one in the skin folder. I recommend sticking with css for design anyway so thats not a huge issue.

Joe

8/19/2007 9:57:52 PM
Gravatar
Total Posts 112

Re: go-daddy "not allowed by the security policy"

There have been lots of permissions problems mostly because I'm too lazy to do their Directory Management for each and every folder under Data. But using firebug I can see some of the folders that need Read, Web and Write permissions. Some other folders outside Data need Read and Web permissions... Here's the list that seems to work OK now:

/cms
/cms/App_Themes/default
/cms/ClientScript
/cms/Data
/cms/Data/SiteImages
/cms/Data/Sites/1
/cms/Data/Sites/1/systemfiles
/cms/Data/Sites/1/index
/cms/Data/Sites/1/GalleryImages
/cms/Data/Sites/1/SharedFiles
/cms/Data/Sites/1/SharedFiles/History
/cms/Data/Sites/1/logos
/cms/Data/Sites/1/skins/treeviewmenu1

I just have one problem I know of now... Home is the only link visible in the menu... I wonder what's causing the other menu entries Forums, Image Gallery, and Events, or at least I think those other menu items should be present in this version as they were visible in "Version 2.2.2.8 MSSQL".

Any suggestions are much appreciated,
Dale E. Moore

8/20/2007 7:08:37 AM
Gravatar
Total Posts 18439

Re: go-daddy "not allowed by the security policy"

Hi Dale,

Home is the only page created during setup. I used to have setup create those other pages but decided its best if users learn to create new pages right away so I'm just creating minimal content. More pages could be specified using .config files but I'm inclined to just keep it simple.

Joe

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