General error after installation

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.
2/25/2007 11:11:50 AM
Gravatar
Total Posts 18439

Re: General error after installation

Are you sure the web root is where the Default.aspx file is located?
Can you tell me the pubic url?

Joe
2/25/2007 4:17:34 PM
Gravatar
Total Posts 17

Re: General error after installation

I requested a full renewal of the webspace and reinstalled the web and database. Now I get the following error:

 

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) +69
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


2/25/2007 4:21:54 PM
Gravatar
Total Posts 18439

Re: General error after installation

That means you are hosted in a Medium trust environment. You need to edit your web.config to configure for medium trust.

See the documentation here.

Hope it helps,

Joe
2/25/2007 4:31:39 PM
Gravatar
Total Posts 17

Re: General error after installation

Hi Joe,

I uncommented the following web.config-setting:

<add key="Lucene.Net.lockdir" value="\Data\Sites\1\index" />

To which path do I have to set it?

I don't know the physical directory that hosts my webspace!

2/25/2007 4:36:12 PM
Gravatar
Total Posts 18439

Re: General error after installation

Try going to yoursiteroot/Setup/Default.aspx if it can get to that page it should tell you the path needed, if not you may need to ask your host or look around in the hosting control panel and see if you can find out the path.

Hope it helps,

Joe
2/25/2007 4:38:12 PM
Gravatar
Total Posts 18439

Re: General error after installation

Be sure and also comment out the HttpUpload module in the system.web section of web.config beneath HttpModules section

Joe
2/25/2007 4:39:55 PM
Gravatar
Total Posts 17

Re: General error after installation

Unfortunately it shows the same error... well it's almost midnight here and I go to bed for now.

I'll keep you up to date!

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