Cant access custom app under Mojoportal root

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/7/2012 9:08:24 AM
Gravatar
Total Posts 18439

Re: Cant access custom app under Mojoportal root

This is also mentioned in our Developer FAQ.

Best,

Joe

2/7/2012 3:15:12 PM
Gravatar
Total Posts 30

Re: Cant access custom app under Mojoportal root

No - that article and the links don't mention system.webserver.  Both only mention system.web, which is all that was required with the previous version of mojoportal I had installed (or maybe more accurately, it is all that was required with the previous web.config).

Here's the only reference where I can see you wrote that the location wrapper "should also wrap system.webserver section"

http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=9&thread=6206&pagenumber=1

I couldn't find that requirement for system.webserver listed anywhere else.

Can I suggest that you add in the location tags in the distributed web.confg?  That ensures that ASP.Net applications will work under mojoportal without affecting the running of mojoportal and without the developer having to touch the web.config to make it happen.

Thanks again for a great product,

Philip

2/8/2012 9:26:14 AM
Gravatar
Total Posts 18439

Re: Cant access custom app under Mojoportal root

Hi Philip,

The Developer FAQ does indeed mention it, though the linked articles may not since they are older and system.webServer was a new thing introduced in IIS 7. I only mentioned it because I knew I had updated the Developer FAQ not long ago after someone else noticed it was not mentioned.

Adding it to the shipped web.config seems like a very good idea. I just need to test that there are no problems having that when it is not a root level app. As long as I find no problems with it I will do that for the next release.

Best,

Joe

2/26/2012 10:57:14 AM
Gravatar
Total Posts 18439

Re: Cant access custom app under Mojoportal root

Update, I encountered a problem when including these location elements by default. It breaks NeatUpload multi file selection and upload and causes script errors on pages that use the NeatUpload multi file control.

Therefore I'm backing this change out of the main Web.config files used for Full Trust hosting (in the source code repository since this change has not made it into an offical release package yet). I will leave it in the Web.config file files for medium trust since NeatUpload cannot work in medium trust anyway.

Our packages for MS SQL and SQL CE ship pre-configured for medium trust so it will be there by default in the next release but it will not be there in packages for other databases nor in the Web.fulltrust.config files since it causes this problem.

I've got my eye on an alternative upload solution, but unfortunately it does not support multi file selection in IE whereas NeatUpload does support it but uses Flash (swfupload) to make multi file selection possible. Once IE 10 ships it should be able to do multi file selection without Flash and at that point we may move away from NeatUpload. At that point we can re-visit this and put the locaiton elements back in by default.

Best,

Joe

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