|
index > ClickOnce and Setup & Deployment Projects > Code Groups: What am I doing wrong? |
|
Code Groups: What am I doing wrong? |
|
|
Folks, Ive created a enterprise level code group for the intranet zone with certain SQL Client and security permissions . I take this out of development onto a production server where I have the same code group set up. I still get securtiy exceptions when I try to run the assembly from the server. When I check in caspol the only code group that my assembly belongs to is the "all code" group. I woiuld have thought that all assemblies created within my intranet fall into the above code group. I obviously assume too much. What am I missing? Cheers Mick
| | WinFormsUser | Hey Mick - What do you mean when you say you've "created a enterprise level code group for the intranet zone"? Such a zone already exists by default, and will take precedence over any custom group. It's much better to define a child Code Group on the Intranet zone that grants these permissions to specific assemblies based on Evidence (e.g., strong name, URL, Publisher).
-J- | | WinFormsUser | Cheers Jay, Sorry if Im missing the obvious here. Im having murder getting windows forms deployed using smart clients etc. on our local intranet, so thanks for your patience. A question. Say I sign an assembly, then use the security wizard to have my development machine trust all assemblies created with this signed assemblies key. If I then create a security deployment package on this machine, why is it that when I install this security deployment package on a client, I still get security exceptions when trying to use any SQL functionality. I have to manually go around the client machines, setting them to trust all assemblies created with the key of this assembly via the wizard. I know Im missing something obvious here. Thanks Mick | | WinFormsUser |
|
|
| reply 3 |
|
|
|
You can use google to search for other answers |
|
|
|
|
More Articles |
|
| code signing with .exe and class library |
| IE not recognising .NET dlls? |
| I need help bad. |
| WebLaunched Windows App |
| Dec CTP bug |
| Deployment of security configuration for IE hosted DLL |
| Web Service |
| Size of framework prerequisite seems very large. |
| Database Deployment Error |
| Installing Data Files |
|