Anthony Matovu
asked on
calling sas from vb.net
I am trying to call SAS from vb.net and i getting message
on line
i have imported
Imports SASWorkspaceManager
Imports SAS
Thank you
System.Runtime.InteropServ ices.COMEx ception was caught
ErrorCode=-2147221164
HResult=-2147221164
Message=Retrieving the COM class factory for component with CLSID {440196D4-90F0-11D0-9F41-0 0A024BB830 C} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Source=mscorlib
StackTrace:
at System.RuntimeTypeHandle.C reateInsta nce(Runtim eType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInterna l& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateI nstanceSlo w(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateI nstanceDef aultCtor(B oolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateIns tance(Type type, Boolean nonPublic)
at System.Activator.CreateIns tance(Type type)
at test_sas.Form1.Button1_Cli ck(Object sender, EventArgs e) in C:\bi\test sas\Form1.vb:line 14
InnerException:
on line
Dim sasWS As New SAS.Workspace
i have imported
Imports SASWorkspaceManager
Imports SAS
Thank you
System.Runtime.InteropServ
ErrorCode=-2147221164
HResult=-2147221164
Message=Retrieving the COM class factory for component with CLSID {440196D4-90F0-11D0-9F41-0
Source=mscorlib
StackTrace:
at System.RuntimeTypeHandle.C
at System.RuntimeType.CreateI
at System.RuntimeType.CreateI
at System.Activator.CreateIns
at System.Activator.CreateIns
at test_sas.Form1.Button1_Cli
InnerException:
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Make sure assemblies are okay
ASKER