-
Topic
-
Components of Archive To Go use the Microsoft .NET Framework. The .NET Framework includes a comprehensive runtime security mechanism designed to limit the resources that applications have access to when executed from different locations (eg. local machine, network/intranet, the Internet, etc.).
If you execute Archive To Go from a location that is not fully trusted (eg. a network drive), you may receive an error message such as:
quote:
Application has generated an exception that could not be handled.
You may also see a message referring to a ‘Security.Policy’ exception.
You would be most likely to see such a message when using the Finder or Indexer.
To resolve this issue you need to increase the trust level granted to Archive to Go. The method of doing this depends on your installed version of Archive to Go.
Archive to Go 1.x
- From the Windows Control Panel, select Administrative Tools.
- Select Microsoft .NET Framework 1.1 Wizards.
- When the dialog .NET Wizards appears, click Trust an Assembly.
- On the page Trust an Assembly, select either “Make changes to this computer” or “Make changes for the current user only”, as appropriate. Click Next >.
- On the page Which Assembly Do You Want to Trust?, click Browse… and select the relevant application file located on the network. You will find it in the “_viewer” subfolder of an exported archive. Click Open, then Next >.
- On the page Trust this assembly or all assemblies from this publisher?, select the option “All assemblies with the same assembly public key”. Remove the check mark at “Include version number”. Click Next >.
- On the page Choose the Minimum Level of Trust for the Assembly, drag the slider to “Full Trust”. Click Next >, then Finish.
If the above process does not solve the problem, there is another more global approach you can try, although this will apply to all .NET assemblies on your local Intranet. As long as your local Intranet (internal network resources) is a trusted source, the procedure below can be considered.
- From the Windows Control Panel, select Administrative Tools.
- Select Microsoft .NET Framework 1.1 Wizards.
- When the dialog .NET Wizards appears, click Adjust .NET Security.
- On the page What would you like to modify?, select either “Make changes to this computer” or “Make changes for the current user only”, as appropriate. Click Next >.
- On the page Adjust the Security Level for Each Zone, click the Local Intranet icon.
- In the group Choose the level of trust for assemblies in this zone, drag the slider to “Full Trust”. Click Next >, then Finish.
Archive to Go 2.x
Archive to Go 2.x is based on the .NET Framework 2.0, which requires a different approach.
The Trust an Assembly wizard for .NET 2.0 is not included with a standard .NET 2.0 installation. It is only available with the .NET 2.0 Software Development Kit which is a 354 MB download.
We suggest you use the CasPol (code access security policy) utility which is included with a standard .NET 2.0 installation, as described below.
- Open a command window: go to the Windows Start menu and press Run… (or press the Windows key + R), then enter ‘cmd’.
- Navigate to the directory of .NET 2.0 utilities: either enter the text below by hand or copy it to the clipboard, right-click on the command window and press Paste.
cd WINDOWSMicrosoft.NETFrameworkv2.0.50727
- Similarly, enter the text below, but change ‘full path to a2gofinder.exe’ to the actual path on your network drive:
caspol -q -m -ag All_Code -strong -file “full path to a2gofinder.exe” -noname -noversion FullTrust -name “Advansys Archive To Go” -description “Advansys Archive To Go for GroupWise suite of applications.”
Advansys Support
[This message was edited by Support 1 on December 23, 2010 at 03:34 PM.]
- You must be logged in to reply to this topic.