Quick Nav:  Online Store   |   Login | Register
PrevPrev--NextNext
Medium Trust Problem?
Last Post 16 Aug 2007 03:56 AM by iwan. 13 Replies.
Please Register to participate.
Sort: Print topic: Printer Friendly
AuthorMessages
Ismet Dumlupinar
New Member
Posts:65


Send PM:Send Private Message

--
30 Apr 2007 04:07 AM
Hi John, im trying to install PageBlaster v2.2.4 to my dnn instance (v4.5.1) hosted at Godaddy (medium trust, manual installation at root level),

I followed instructions to install the blaster, with no succes. In the past i had succesfully installed previous versions, but this version gives security exceptions.

I can simulate problem if you would like to take a look.

Any suggestions?
pansiyon rezervasyon (Uses magics of PB)
dnn blog (DotNetNuke News and articles)
godaddy and dotnetnuke (learn how to install dotnetnuke to godaddy)
Türkçe DotNetNuke (Turkish DNN Community Groups)
id blog (my personal blog)
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
30 Apr 2007 07:41 AM
Yes, I would like to take a look. If you can post the error that may be enough. If I can't figure it out from there then I'll send you a debug version.
Ismet Dumlupinar
New Member
Posts:65


Send PM:Send Private Message

--
30 Apr 2007 08:10 AM
Ok, thanks quick reply, i'm trying some changes on my web.config, when finished, i ll simulate the error again, and paste here the error code, also i will try to check my Admin > Event Viewer for more details.
pansiyon rezervasyon (Uses magics of PB)
dnn blog (DotNetNuke News and articles)
godaddy and dotnetnuke (learn how to install dotnetnuke to godaddy)
Türkçe DotNetNuke (Turkish DNN Community Groups)
id blog (my personal blog)
Ismet Dumlupinar
New Member
Posts:65


Send PM:Send Private Message

--
30 Apr 2007 08:47 AM
Hi again here is the exception code below:

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.]
Snapsis.HttpModules.PageBlaster.PageBlasterModule.Init(HttpApplication app) +0
System.Web.HttpApplication.InitModules() +267
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1251
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +243
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +317
pansiyon rezervasyon (Uses magics of PB)
dnn blog (DotNetNuke News and articles)
godaddy and dotnetnuke (learn how to install dotnetnuke to godaddy)
Türkçe DotNetNuke (Turkish DNN Community Groups)
id blog (my personal blog)
Paul Ott
New Member
Posts:5


Send PM:Send Private Message

--
01 May 2007 09:45 PM
I'm having the exact same problem over at 1and1.


Server Error in '/' Application.
--------------------------------------------------------------------------------

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.]
Snapsis.HttpModules.PageBlaster.PageBlasterModule.Init(HttpApplication app) +0
System.Web.HttpApplication.InitModules() +267
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1251
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +243
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +317




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
02 May 2007 04:15 PM
Do either of you have the trace level in the config file set to something other than "None"?

That is the only thing I can think of that might be a problem in Medium Trust.

I'll setup to debug in medium trust and see if that is it. Thanks for the feedback.
Paul Ott
New Member
Posts:5


Send PM:Send Private Message

--
02 May 2007 09:30 PM
Posted By John Mitchell on 05/02/2007 4:15 PM
Do either of you have the trace level in the config file set to something other than "None"?

Not me.
Ismet Dumlupinar
New Member
Posts:65


Send PM:Send Private Message

--
03 May 2007 12:17 AM
Not me too, im using default settings for trace level.
pansiyon rezervasyon (Uses magics of PB)
dnn blog (DotNetNuke News and articles)
godaddy and dotnetnuke (learn how to install dotnetnuke to godaddy)
Türkçe DotNetNuke (Turkish DNN Community Groups)
id blog (my personal blog)
Tim OBrien
New Member
Posts:1


Send PM:Send Private Message

--
28 May 2007 08:29 AM

Same issue here, using WebSecureStores.

Clean install of Pageblaster free version downloaded today.

Vitaly Kozadayev
New Member
Posts:2


Send PM:Send Private Message

--
05 Jun 2007 03:39 PM
Any luck yet? I am having the same issue on development machine
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
05 Jun 2007 11:13 PM
This turns out to be a problem with the tracig in the code, even if you do not have it turned on.

I can send you a version without the tracing if you need it to run in medium trust.
Just reply directly to the notification of this post, or use the form from my profile.
Bhai Sesay
New Member
Posts:8


Send PM:Send Private Message

--
14 Jun 2007 12:29 AM
Hi John

I also have this problem. I did send a message to you using the form from my profile. I am still waiting for the app or a reply. Please help
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
20 Jun 2007 10:44 PM

A modified version of PageBlaster with the tracing removed so that it will run in medium trust can be found at the following link:

PageBlaster for Medium Trust

iwan
New Member
Posts:1


Send PM:Send Private Message

--
16 Aug 2007 03:56 AM

Hi there,

We're having the same problem and tried to use the dll provided. Now we have a new error:

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 'Snapsis.HttpModules.PageBlaster' or one of its dependencies. The module was expected to contain an assembly manifest. (d:\hxxxxxweb.config line 64)

Any ideas?

Thanks in advance

 

 

My bad, was uploading the dll in 'notso'binary mode... working now! thanks

Please Register to participate.

Active Forums 4.1
     
      
Powered by: Snapsis Software