Desktop productivity for business analysts and programmers

FileNotFound exception in Enterprise Guide Add-in

Reply
Occasional Contributor
Posts: 5

FileNotFound exception in Enterprise Guide Add-in

We are using some Add-ins in Enterprise Guide.
The dll's with the Add-ins are loaded in the Add-in manager using an URL path (not a drive letter).
In EG3 this works perfectly. In EG4.1 I get the error System.IO.FileNotFoundException at MRAddIn.WegingForm.PrijsmeterForm_Load(Object sender, EventArgs e).
Whenever I register one of the Add-ins from a network location with a drive letter, the thing works. Even more strange: the other Add-in (still registered from an URL location) also works.
Has anyone seen this behaviour?
Community Manager
Posts: 2,884

Re: FileNotFound exception in Enterprise Guide Add-in

Does your "MRAddIn" assembly have any dependencies that the other add-ins do not have (references to other .NET dlls)?

This might be related to a similar problem reported for using certain EG 3 tasks within EG 4.1, which has been fixed in a forthcoming hotfix (see SAS Note SN-017595). You might want to contact tech support about this issue.

Chris
Occasional Contributor
Posts: 5

Re: FileNotFound exception in Enterprise Guide Add-in

We solved this by recompiling our Add-ins after replacing the Enterprise guide 3 DLLs SAS.EG.Addins and Interop.SAS by the Enterprise Guide 4 DLLs SAS.Shared.Addins and SAS.Interop.SAS. In the code we replaced the namespaces with the new 'shared' namespaces.
LouisBB.
Ask a Question
Discussion stats
  • 2 replies
  • 141 views
  • 0 likes
  • 2 in conversation