Server error

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.
10/26/2009 10:39:26 AM
Gravatar
Total Posts 20

Server error

Hi,

I'm new to mojoPortal.

 I have just uploaded the contents of the wwwroot folder of the installation package to my website and the dll's of the MySQL package to the bin directory. I have changed the user.config file with the correct connection string. But I get this when i try to acces the site:

 "http://herreski.culmsee.dk/Error.htm?aspxerrorpath=/setup/default.aspx

 We're sorry but a server error has occurred while trying to process your request.

 The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page."

 

Any ideas?

Best regards

Jacob :o)

10/26/2009 10:51:08 AM
Gravatar
Total Posts 18439

Re: Server error

Is your site configured for ASP.NET 3.5?

It should log errors to the file /Data/currentlog.config so if that file exists you can download it via ftp and get the error details.

More info here http://www.mojoportal.com/basic-troubleshooting.aspx

Hope it helps,

Joe

10/27/2009 3:56:33 AM
Gravatar
Total Posts 20

Re: Server error

Thank you Joe for your answer. It got me a little bit further.

Yes I do have ASP.NET 3.5

I got my web hotel to grant write priveliges to the web process user. And after that i managed to get a currentlog.config.

I stille have problems though. In the currentlog.config it says:

2009-10-27 09:49:28,546 ERROR mojoPortal.Web.Global - 195.41.216.130-da-DK - /setup/default.aspx

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

at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)

at System.Security.CodeAccessPermission.Demand()

at System.Web.HttpContext.System.IServiceProvider.GetService(Type service)

at Brettle.Web.NeatUpload.UploadHttpModule.GetCurrentWorkerRequest()

at Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e)

at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

The action that failed was:

Demand

The type of the first permission that failed was:

System.Security.Permissions.SecurityPermission

The Zone of the assembly that failed was:

MyComputer



Jacob :o)

10/27/2009 4:52:47 AM
Gravatar
Total Posts 20

Re: Server error

Got it!

The problem was the trust level.

 

Tx

4/29/2010 5:24:09 AM
Gravatar
Total Posts 108

Re: Server error

Helmar,

Could you post up how you fixed it, you say its trust level, but what exactly did you do?

I'm getting almost exactly the same error.

 

2010-04-28 13:05:32,939 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2010-04-28 13:14:28,829 ERROR mojoPortal.Web.Global - 95.150.153.12-en-US - /Services/SessionKeepAlive.aspx
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e)
The action that failed was:
LinkDemand
The type of the first permission that failed was:
System.Security.Permissions.SecurityPermission
The Zone of the assembly that failed was:
MyComputer 

 

Thanks

Tim

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