Forum  General Visual ...  Install It!  Security Exception Running 6.4d on GoDaddy Host (.Net 3.5)
Previous Previous
 
Next Next
New Post 4/7/2012 5:17 PM
  kenn.minear
431 posts
2nd Level Poster


Security Exception Running 6.4d on GoDaddy Host (.Net 3.5) 
Modified By kenn.minear  on 4/8/2012 9:14:02 AM)

 Hi,

I installed VWG_Express_Studio_6.4.0_Release_d_NET3.5.msi and rebuilt my application.  I ftp'd my dll's (app and gizmox) to my hosting site on GoDaddy.  I now get the following exception:

 

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.]
   A.c572ceec0c50008c8ac659ffc23e7c9be.cf69d6ae76180683091290afddd654dd7() +0
   .cctor() +5


Version Information: Microsoft .NET Framework Version:2.0.50727.4216; ASP.NET Version:2.0.50727.4223

 

 

I did not have this problem with the 6.4c releases.  This also happened with the .Net 3.5 JQT version.

For now, my website is down.  Any ideas would be helpful.  The site on GoDaddy is a shared hosting site, so all apps must run in partial trusted mode.

Im my web.config I have:

  <section name="WebGUI" requirePermission="false" type="Gizmox.WebGUI.Common.Configuration.ConfigHandler, Gizmox.WebGUI.Common, Version=3.0.5701.0, Culture=neutral, PublicKeyToken=263fa4ef694acff6"/>

and

 

    <WebGUI>

        <RequirePermission Value="false"/>

.........

 

Kindest regards, Kenn

 


kenn@kennware.com
 
New Post 4/8/2012 3:04 PM
  palli
14406 posts
1st Level Poster




Re: Security Exception Running 6.4d on GoDaddy Host (.Net 3.5) 

Hi Kenn,

There must be something else within the web.config that's causing this error, as I tested deployment to GoDaddy using that exact same web.config setting and it works fine for 6.4.0 Release d WinWeb.

Can you email your web.config so I can take a look ?

Palli


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 4/9/2012 6:26 AM
  palli
14406 posts
1st Level Poster




Re: Security Exception Running 6.4d on GoDaddy Host (.Net 3.5) 

Hi Kenn,

Thanks for emailing your web.config. Please remember to always include in your email an Http link to the forum thread it relates to, and also post a new post on the thread. This will make sure we notice and that we can pair the email with the correct thread.

I did test your web.config and copied most of it over to a test web.config on my GoDaddy testsite and added FCKEditor, ToolStrip, MenuStrip, WorkSpaceTabs etc. but I was not able to reproduce the error.

I think that at this stage, if you can't find any noticable difference in your application, except for the version upgrade, that you add an exception handler to catch unhandled exception to figure out what the error is really about. You should find some info on exception handlers here.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 5/13/2012 10:14 AM
  osmosis311
407 posts
2nd Level Poster


Re: Security Exception Running 6.4d on GoDaddy Host (.Net 3.5) 

 Kenn,

I'm having the exact same problem.  Did you ever come up with a solution?

Thanks.

 
New Post 5/14/2012 8:12 PM
  osmosis311
407 posts
2nd Level Poster


Re: Security Exception Running 6.4d on GoDaddy Host (.Net 3.5) 

 Hi Palli,

I just tested this again with a fresh installation of 6.4D, with one form, and one button, uploaded to GoDaddy, and I'm immediately getting the same error message that Kenn got.

What are the IIS settings of the site that you tested on GoDaddy?  I am using .NET 3.5 with IIS7 in Classic mode.

 

-Danny

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Install It!  Security Exception Running 6.4d on GoDaddy Host (.Net 3.5)
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS