Hi,
We're converting a project we did about a year go in .NET 1.1 to .NET 2.0. The project used version 3.2 of the CoreLab.Oracle.dll. I've just gone in and downloaded the newest .NET 2 version as the old DLL didn't work once deployed to our web hosts (the old partially trusted callers problem).
The new DLL works no problem locally. However, once it is uploaded the page using the DLL errors with the following error:
System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Reflection.Assembly.VerifyCodeBaseDiscovery(String codeBase)
at System.Reflection.Assembly.GetName(Boolean copiedName)
at System.Reflection.Assembly.GetName()
at CoreLab.Common.r.a(Assembly A_0)
at CoreLab.Common.ab.a(Type A_0, String& A_1, Assembly& A_2)
at CoreLab.Common.ab.a(Type A_0, String& A_1, Boolean& A_2, String& A_3)
at CoreLab.Common.ab.a(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3)
at CoreLab.Oracle.OracleConnection.Open()
at cms.oracleHandler.GetDataReader(String sproc) in P:\C021EXR\mainSiteNet2\cms\oracleHandler.cs:line 34
at C021EXR.clientLogin.Authenticate(Object sender, EventArgs e) in P:\C021EXR\mainSiteNet2\clientLogin.aspx.cs:line 68
I assume it's a security thing with my web hosts and I've already emailed them to see if they can do anything about it, but I was just wondering if anybody has seen this before and/or if anybody had any ideas about how to solve it? This is quite urgent, so any help would be appreciated!
Many Thanks,
Tristan
System.Security.Permissions.FileIOPermission
-
- Posts: 3
- Joined: Fri 29 Sep 2006 07:47
-
- Posts: 3
- Joined: Fri 29 Sep 2006 07:47
Thanks for the swift reply Alexey!
Is there any way around it? We've asked our hosts in the past for security policies to be changed and they refused us.
What do we do if they won't change it? Do you know which file the DLL is trying to access that requires the permission!?
Many thanks once again!
Tristan
Is there any way around it? We've asked our hosts in the past for security policies to be changed and they refused us.
What do we do if they won't change it? Do you know which file the DLL is trying to access that requires the permission!?
Many thanks once again!
Tristan
-
- Posts: 3
- Joined: Fri 29 Sep 2006 07:47