Forum  General Visual ...  Announce It! ( ...  Security Exception
Previous Previous
 
Next Next
New Post 6/26/2008 12:26 PM
  osmosis311
383 posts
3rd Level Poster


Security Exception 

(For some reason I was unable to reply to the other post on this issue...)

I have created a basic HelloWorld VWG app, and uploaded it to a standard GoDaddy account.  I have setup <Extension Value=".ashx" /> and changed it in the httphandler section as well.  I also turned off Static Resources. When I go to the Form, I am getting this security exception message:

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: That assembly does not allow partially trusted callers.

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: That assembly does not allow partially trusted callers.]
   Gizmox.WebGUI.Server.Preload.1AAA1() +0
   Gizmox.WebGUI.Server.Preload.ProcessRequest(HttpContext objHttpContext) +92
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

 
New Post 6/29/2008 3:27 AM
  Eyal.Albert
393 posts
3rd Level Poster




Re: Security Exception 
Hi,
What version are you using of VWG?
Thanks,
Eyal Albert
 
New Post 6/29/2008 2:32 PM
  osmosis311
383 posts
3rd Level Poster


Re: Security Exception 
The latest version 6.1.
 
New Post 6/30/2008 12:08 AM
  Eyal.Albert
393 posts
3rd Level Poster




Re: Security Exception 

Hi,

I've opend an issue about this.
You can track it here.

Thanks
Eyal Albert

 
New Post 7/17/2008 2:26 PM
  amghw
6 posts
No Ranking


Re: Security Exception 
Hi,
I am having the same issue with 6.1.
It worked fine with 6.0.4

My host is Crystal Tech.
I asked them to change my account to full trust to fix this issue.
This is their response.

Hello,

Do you know if the vendor/software make has a work-around for this issue?
Is there anyway that they know of to run it in a medium trust environment?

If not, could you provide documentation from the vendor regarding the requirements so that a supervisor can review the information and possibly approve a move to a full trust server.



Please let us know if there is anything else we can help you with.


Thank You,

Manuel Lopez
Technical Support Technician
CrystalTech Web Hosting Inc.
A Newtek Business Services Company
Toll Free: 1-877-323-4678 Opt. 4
Phone: (602) 263-0300 Opt. 4
Fax: (602) 263-0600
URL: http://www.crystaltech.com

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Announce It! ( ...  Security Exception
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS