S
Sean McKaharay
I am wondering if anyone can help me out with this one. Here goes....... I
have my local machine (Windows XP framework 1.1) and a Server (Windows 2003
framework 1.1). When I go to run my code on my box and late bind to a dll on
the server machine I get an error. Below is the lines of code and the error
I get. I have no problem accessing the Reports.dll so it should not be a
security problem. I get the error when I try to run the class rptBadge. I am
getting a RegistryPermission error. Here is some background on the
class..... I am extending from a class from a 3rd party. We have paid for
the product and I am wondering if it has something to do with that. The
third party might have some information in the registry and I don't have
permissions to read the registry.
Any help would be appreciated.
System.Reflection.Assembly ControlAssembly =
System.Reflection.Assembly.LoadFrom("\\Server1\Reports\output\Reports.dll");
report =
(ExpoExchange.Registration.Common.Business.ProductionActiveReportBase)
ControlAssembly.CreateInstance("Reports.Production.rptBadge");
THE ERROR:
{"Request for the permission of type
System.Security.Permissions.RegistryPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
failed." }
have my local machine (Windows XP framework 1.1) and a Server (Windows 2003
framework 1.1). When I go to run my code on my box and late bind to a dll on
the server machine I get an error. Below is the lines of code and the error
I get. I have no problem accessing the Reports.dll so it should not be a
security problem. I get the error when I try to run the class rptBadge. I am
getting a RegistryPermission error. Here is some background on the
class..... I am extending from a class from a 3rd party. We have paid for
the product and I am wondering if it has something to do with that. The
third party might have some information in the registry and I don't have
permissions to read the registry.
Any help would be appreciated.
System.Reflection.Assembly ControlAssembly =
System.Reflection.Assembly.LoadFrom("\\Server1\Reports\output\Reports.dll");
report =
(ExpoExchange.Registration.Common.Business.ProductionActiveReportBase)
ControlAssembly.CreateInstance("Reports.Production.rptBadge");
THE ERROR:
{"Request for the permission of type
System.Security.Permissions.RegistryPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
failed." }