catalyst2 community forums  

Go Back   catalyst2 community forums > Support > E-Mail Support

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 21-07-2008, 08:16 PM   #1 (permalink)
Member
 
Join Date: Sep 2004
Posts: 40
System.Security.Permissions.FileIOPermission

Ive just uploaded a site on a brand new account which uses asp.net 2.0 and is working fine, but for the contact me page. It does nothing fancy other than validate a few text boxes and certainly has no fileIO involved, but when i request the page I get:

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(Obj ect demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.Reflection.Assembly.VerifyCodeBaseDiscovery (String codeBase) +118
System.Reflection.Assembly.get_CodeBase() +32
System.Web.Handlers.ScriptResourceHandler.GetCodeB aseWithAssert(Assembly assembly) +31
System.Web.Handlers.ScriptResourceHandler.GetLastW riteTime(Assembly assembly) +36
System.Web.Handlers.ScriptResourceHandler.GetAssem blyInfoInternal(Assembly assembly) +58
System.Web.Handlers.ScriptResourceHandler.GetAssem blyInfo(Assembly assembly) +59
System.Web.Handlers.RuntimeScriptResourceHandler.S ystem.Web.Handlers.IScriptResourceHandler.GetScrip tResourceUrl(Assembly assembly, String resourceName, CultureInfo culture, Boolean zip, Boolean notifyScriptLoaded) +336
System.Web.UI.ScriptManager.GetScriptResourceUrl(S tring resourceName, Assembly assembly) +115
System.Web.UI.ScriptRegistrationManager.RegisterCl ientScriptResource(Control control, Type type, String resourceName) +115
System.Web.UI.ScriptManager.RegisterClientScriptRe source(Control control, Type type, String resourceName) +9


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


Does anyone know what is causing this or what i may have to change to fix it?

Thanks
__________________
Me, me, me, me, me
LeeDJ is offline   Reply With Quote
Old 21-07-2008, 09:03 PM   #2 (permalink)
Administrator
 
Jacob's Avatar
 
Join Date: May 2003
Posts: 1,299
What trust level does the code require?
Jacob is offline   Reply With Quote
Old 21-07-2008, 09:09 PM   #3 (permalink)
Member
 
Join Date: Sep 2004
Posts: 40
Im not sure. It seems to be the asp.net ajax scriptmanager that's causing the issue, but i haven't got this problem on any other site that uses it that is also on the same hosting package with you guys...
__________________
Me, me, me, me, me
LeeDJ is offline   Reply With Quote
Old 21-07-2008, 09:14 PM   #4 (permalink)
Administrator
 
Jacob's Avatar
 
Join Date: May 2003
Posts: 1,299
Where can I see the error?
Jacob is offline   Reply With Quote
Old 21-07-2008, 09:52 PM   #5 (permalink)
Member
 
Join Date: Sep 2004
Posts: 40
Quote:
Originally Posted by Jacob View Post
Where can I see the error?
Just sent you a URL to where it can be seen.

Thanks
__________________
Me, me, me, me, me
LeeDJ is offline   Reply With Quote
Old 21-07-2008, 10:10 PM   #6 (permalink)
Bring me your problems :p
 
paulredpath's Avatar
 
Join Date: Jan 2003
Location: /dev/ahhhhhhhhh
Posts: 3,537
Lee,

Could you fire this into support@ please, then we can get a good look
paulredpath is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:07 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.