Installation via Microsoft Web App Gallery

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.
3/13/2011 11:23:23 AM
Gravatar
Total Posts 4

Installation via Microsoft Web App Gallery

Hi All,

My host offers a range of Microsoft Web App Gallery applications. I've chosen to use MojoPortal mainly due to the info on this site.

However, I've installed it using the app gallery installer and I'm getting a error message.(See Below). I have access to my databases, but do not know what the error means? Any help or advice would be gratefully received.  

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() +61
   System.Web.HttpContext.System.IServiceProvider.GetService(Type service) +54
   Brettle.Web.NeatUpload.UploadHttpModule.GetCurrentWorkerRequest() +219
   Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e) +403
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 

3/13/2011 11:48:10 AM
Gravatar
Total Posts 18439

Re: Installation via Microsoft Web App Gallery

Hi,

Take a look in the root of the site, if you see a file there named Web.mediumtrust.config, then rename Web.config to Web.fulltrust.config and then rename Web.mediumtrust.config to Web.config

See also:

http://www.mojoportal.com/mediumtrust.aspx

Hope it helps,

Joe

3/13/2011 11:55:29 AM
Gravatar
Total Posts 4

Re: Installation via Microsoft Web App Gallery

Instant result!

MojoPortal setup completed. 

Day one begins...

Thanks for the speedy response.... no go and enjoy you're Sunday... lol

 

3/13/2011 12:00:11 PM
Gravatar
Total Posts 18439

Re: Installation via Microsoft Web App Gallery

Cool, glad its working.

Do me a favor and after you login to your site look at Administration > System Information and see what version of mojoPortal you have.

The reason I ask is because the current version of mojoPortal in the web app gallery is version 2.3.6.2 and it is pre-configured for medium trust hosting, so the steps I just had you take should not have been needed if you had this version. So it makes me think your host is somehow using an older version of mojoPortal and not really using the latest feed from the web app gallery.

Best,

Joe

3/13/2011 12:05:44 PM
Gravatar
Total Posts 4

Re: Installation via Microsoft Web App Gallery

Joe

My version is 2.3.5.5 MSSQL

I've put in a support ticket, so I'll mention it when i get a reply. Should I upgrade?

 

Si

3/13/2011 12:14:45 PM
Gravatar
Total Posts 18439

Re: Installation via Microsoft Web App Gallery

Upgrading is a pretty easy process, but you can't upgrade from the web app gallery installer you would have to upload files by ftp.

http://www.mojoportal.com/upgrading.aspx

See the blog for release notes for versions since 2.3.5.5, to help you decide if you want to upgrade right away. We do make new releases about once per month, so the next release will happen before the end of March.

Best,

Joe

 

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