Access Code permission problem!!
-
Hi, im trying to develop a Reporting Service application in VS.NET 2003, but bumps into this problem when i try to reference to a VB.NET project called PriceServerApp The build error is: Error while loading code module: ‘PriceServerApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: The assembly 'PriceServerApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' cannot be loaded because code permissions have not been defined for it. My question is: How the heck can I setup Code Permission on that PriceServerApp project? I tried using the .NET Configuration Tool to add PriceServerApp to the GAC, so i would be able to set Code Permissions from there, but no luck, since PriceServerApp has a reference to an old Interopp'ed DLL. Not even worked when i maximized the trust-level in Code Access Security Policy.. Heeelp... /Magnus Lindberg
-
Hi, im trying to develop a Reporting Service application in VS.NET 2003, but bumps into this problem when i try to reference to a VB.NET project called PriceServerApp The build error is: Error while loading code module: ‘PriceServerApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: The assembly 'PriceServerApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' cannot be loaded because code permissions have not been defined for it. My question is: How the heck can I setup Code Permission on that PriceServerApp project? I tried using the .NET Configuration Tool to add PriceServerApp to the GAC, so i would be able to set Code Permissions from there, but no luck, since PriceServerApp has a reference to an old Interopp'ed DLL. Not even worked when i maximized the trust-level in Code Access Security Policy.. Heeelp... /Magnus Lindberg
-
Disable CAS by caspol -s off. It's worth a try ;) UB You may stop this individual, but you can't stop us all... after all, we're all alike. +++Mentor+++
Thanks, for the tips. Unfortunally it didnt work. It still complains about the same code access permission. Is there some other place i might disable this from? /Magnus