Error in administring of site in secured environment using Medium Trust policy or lower.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/21/2008 9:33:14 AM
Gravatar
Total Posts 550

Error in administring of site in secured environment using Medium Trust policy or lower.

Hi joe
I have latest realase(2.2.4.6-b) of mojoportal on my localhost and that works good .But when I upload that to my host on internet (samarian.org) the following error appears when I click sitesetting icon:

Thanks for help.

 


Server Error in '/admin' Application.

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'mojoPortal.Web' or one of its dependencies. The system cannot find the file specified. (E:\PARSDATA\Users\webadmin\samarianor\samarian.org\www\web.config line 671)

Source Error:

Line 669:
Line 670: <add name="BannedIPBlockingHttpModule"
Line 671: type="mojoPortal.Web.BannedIPBlockingHttpModule, mojoPortal.Web"/>
Line 672:
Line 673: <add name="UrlRewriter" type="mojoPortal.Web.UrlRewriter, mojoPortal.Web" />


Source File: E:\PARSDATA\Users\webadmin\samarianor\samarian.org\www\web.config Line: 671

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

2/21/2008 9:59:49 AM
Gravatar
Total Posts 18439

Re: Error in administring of site in secured environment using Medium Trust policy or lower.

Hi A.Samarian,

I don't know whats going on there but nothing about that error indicates its a security exception or has anything to do with medium trust.

Are you sure you are using the release files I compiled and not a custom build?

You can probably get past that error by commenting out the BannedIPBlockingHttpModule, ie wrap the whole thing inside <!--   -->

Hope it helps,

Joe

2/21/2008 10:06:39 AM
Gravatar
Total Posts 18439

Re: Error in administring of site in secured environment using Medium Trust policy or lower.

Also when I see this path: E:\PARSDATA\Users\, it makes me think your site might be running on Windows Vista, or IIS7. Make sure your application pool is configured for "Classic" .NET

Hope it helps,

Joe

2/21/2008 10:09:11 AM
Gravatar
Total Posts 550

Re: Error in administring of site in secured environment using Medium Trust policy or lower.

Hi Joe

I don't compile ,I get just realased file  and unzip.

My site is Samarian.org and you can login using admin@admin.com and the password admin, then try to do an administring action (ie changed skin) then you can see an error that I can't solve that.

Please help me

best regards.

2/21/2008 10:10:39 AM
Gravatar
Total Posts 18439

Re: Error in administring of site in secured environment using Medium Trust policy or lower.

Did you try commenting out the BannedIPBlockingHttpModue as I just suggested?

2/21/2008 10:25:36 AM
Gravatar
Total Posts 550

Re: Error in administring of site in secured environment using Medium Trust policy or lower.

Hi joe

special thanks for fast reply.

I call hosting provider and tell that use IIS6 and Windows 2003.I commenting out <add name="BannedIPBlockingHttpModule"
type="mojoPortal.Web.BannedIPBlockingHttpModule, mojoPortal.Web"/>

following error appears:

Server Error in '/admin' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'mojoPortal.Web' or one of its dependencies. The system cannot find the file specified. (E:\PARSDATA\Users\webadmin\samarianor\samarian.org\www\web.config line 674)

Source Error:

Line 672:-->
Line 673:
Line 674: <add name="UrlRewriter" type="mojoPortal.Web.UrlRewriter, mojoPortal.Web" />
Line 675:
Line 676: <!-- Comment the UploadHttpModule out if running in Medium Trust -->


Source File: E:\PARSDATA\Users\webadmin\samarianor\samarian.org\www\web.config Line: 674

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

2/21/2008 11:12:44 AM
Gravatar
Total Posts 18439

Re: Error in administring of site in secured environment using Medium Trust policy or lower.

When I visit your site now, the error on the admin page is:

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Subkismet' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 660: <add verb="GET,HEAD,POST" path="*.asbx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
Line 661:
Line 662: <add verb="*" path="*CaptchaImage.ashx" type="Subkismet.Captcha.CaptchaImageHandler, Subkismet" />
Line 663:
Line 664: <add verb="*" path="*.mml.ashx" type="mojoPortal.Web.Services.MathMLHandler, mojoPortal.Web" />


Source File: E:\PARSDATA\Users\webadmin\samarianor\samarian.org\www\web.config Line: 662

Do you have the Subkismet.dll file in your bin folder?

Joe

2/21/2008 12:03:57 PM
Gravatar
Total Posts 550

Re: Error in administring of site in secured environment using Medium Trust policy or lower.

this error apeares after I comment out

<add name="UrlRewriter" type="mojoPortal.Web.UrlRewriter, mojoPortal.Web" />

Yes,Subkismet.dll is in bin folder.

for more information:

when I setup my site this messages appears:

This site appears to be running in a secured environment using Medium Trust policy or lower.

thanks for attention

2/21/2008 1:17:36 PM
Gravatar
Total Posts 18439

Re: Error in administring of site in secured environment using Medium Trust policy or lower.

Something strange is going on.

It seems like when a request is made for a page in the /Admin folder it can't find the dlls

Maybe its looking for Admin/bin instead of just /bin

Are you using any kind of url masking or url forwarding with your domain?

Have you configured the Admin folder as an application or sub application in IIS or the web control panel? If so that could cause the problem.

Hope it helps,

Joe

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