|
Rank: Newbie Groups: Member
Joined: 6/16/2008 Posts: 3
|
I have a web page working in development mode (Visual Studio) which utilizes 3 EO Grid controls. My production website is in a shared hosting environment at GoDaddy.com. I have been using the EO Menu Control on the production website for over a year. However, I am getting a security exception error when attempting to view the new web page which utilizes the EO Grid controls. I have uploaded the new EO.Web.dll and EO_web.licx files to the \bin folder of the website. I even tried adding <add name="EOWebRuntime" type="EO.Web.Runtime,EO.Web"/> to the httpModules section in Web.Config.
The security exception error reads: 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.FileIOPermission, 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.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0 System.Security.CodeAccessPermission.Demand() +58 System.Reflection.Assembly.VerifyCodeBaseDiscovery(String codeBase) +118 System.Reflection.Assembly.GetName(Boolean copiedName) +70 System.Reflection.Assembly.GetName() +9 EO.Web.Internal.aa..cctor() +141
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Please check whether you have eo_web.ashx on the root of your application folder. EO.Web needs that file in order to work correctly. It will try to automatically create that file if it can not see it, which seems to be causing issue on your server because of permission.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/16/2008 Posts: 3
|
eo_web.ashx does reside in the root of the production website. The new web page utilizing the EO Grid controls is in a first level folder off the root.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have posted a new build that may resolve this issue. Please see your private message for download location. Please keep in mind that we do not know for sure whether it will indeed work for you because we have not been able to verify it. However please let us know if you still encounter the same error or a different error.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/16/2008 Posts: 3
|
The new build resolved the issue. The page will display on the production website. Thanks for your prompt support!
Cyclist
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great. Thank you very much for the update!
|
|