BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
AMK
Fluorite | Level 6 AMK
Fluorite | Level 6

Hi,

 

we are migrating to SAS 9.4/Enterprise Guide 7.1 from SAS 9.1/EG 4.1 and we have a good few addins that need to migrate. EG7 picked up on the addins from EG4, but unfortunately none of them run when I try to use them.

 

The addins were all developed in .Net 1.1, and I have tried compiling them in .Net 4, and inserting them with the add-in manager, but it didn't seem to work.

 

I have included an example below of an application error that I get, but the summary message is:

 

Could not load file or assembly 'file:///C:\Program Files\SASHome\SASEnterpriseGuide\7.1\SAS.Shared.AddIns.Bridge.dll' or one of its dependencies. The system cannot find the file specified.

 

 

I did check the support site, but I could not find documentation on migrating addins. However there is so much documentation it can be difficult to find anything.

 

Is there an easy way to migrate them, or failing that, is there a guide somewhere to migrating them?

 

Thanks,

Adrian.

 

 
Problem report created: 11 July 2017 12:03:19 UTC
Application Error
SAS Enterprise Guide has encountered a problem
We recommend that you save your work and restart SAS Enterprise Guide.
-------------------------------------------------------------------------------------------------------
Exception information
-------------------------------------------------------------------------------------------------------
Could not load file or assembly 'file:///C:\Program Files\SASHome\SASEnterpriseGuide\7.1\SAS.Shared.AddIns.Bridge.dll' or one of its dependencies. The system cannot find the file specified.

-------------------------- Technical Information Follows --------------------------
Exception Details:
----------------------------------------
Exception type:  System.IO.FileNotFoundException
Message:         Could not load file or assembly 'file:///C:\Program Files\SASHome\SASEnterpriseGuide\7.1\SAS.Shared.AddIns.Bridge.dll' or one of its dependencies. The system cannot find the file specified.
Source:          mscorlib
Target Site:     _nLoad
Stack Trace:
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
1 ACCEPTED SOLUTION

Accepted Solutions
AMK
Fluorite | Level 6 AMK
Fluorite | Level 6

Thanks for helping me with this Chris.

 

The link you sent was very useful, so I am adding it here:

 

http://support.sas.com/documentation/onlinedoc/guide/customtasks/

 

Also the video you sent on:

 

http://blogs.sas.com/content/sasdummy/2015/06/11/creating-custom-tasks-for-sas-enterprise-guide-expe...

 

And the information about the SAS.Tasks.Toolkit dll takes a good bit of the hard work out of task creation.

 

Thanks,

Adrian.

View solution in original post

2 REPLIES 2
ChrisHemedinger
Community Manager

In general, SAS EG 4.1 tasks can work in v7.1 without modification or rebuild, even though they are designed with .NET 1.1.  Things can fail if your task strays from some of the published APIs or relies on other assemblies that aren't part of later versions of EG.

 

To learn whether this is the case for your tasks, I'd need to see one of them.  If you like, you can zip up one of the DLLs and e-mail to me (chris.hemedinger@sas.com) -- or open a TS track with this and tell the consultant I sent you, and supply the DLL in the track. 

 

Rather than using the Add-In Manager, I recommend "installing" the tasks by using the drop-in deployment method.  Put the task DLLs in %appdata%\SAS\EnterpriseGuide\7.1\Custom, or in PROGRAMFILES\SASHome\x86\SASEntepriseGuide\7.1\Custom (where EG is installed) -- either way, you'll have to create the Custom folder in those spaces.  When EG starts it will detect and load the tasks.  

 

If that doesn't work, turn on the Application Logging (Tools->Options) and restart EG.  Then exit EG and send the generated application log along in your track or e-mail.  The log will contain some diagnostic information that will help us determine why it wasn't loaded properly.

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
AMK
Fluorite | Level 6 AMK
Fluorite | Level 6

Thanks for helping me with this Chris.

 

The link you sent was very useful, so I am adding it here:

 

http://support.sas.com/documentation/onlinedoc/guide/customtasks/

 

Also the video you sent on:

 

http://blogs.sas.com/content/sasdummy/2015/06/11/creating-custom-tasks-for-sas-enterprise-guide-expe...

 

And the information about the SAS.Tasks.Toolkit dll takes a good bit of the hard work out of task creation.

 

Thanks,

Adrian.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 966 views
  • 0 likes
  • 2 in conversation