Help using Base SAS procedures

C# connection string to SAS

Reply
N/A
Posts: 0

C# connection string to SAS

I'm very very new to SAS so i'm sorry if I posted this in the incorrect place.

I'm trying to connect to SAS from a C#.net web app. I can't find a good tutorial on how to do this and with what objects.

Do I have to use some SAS objects or can I use the .net OLE DB connection object?

Thank You for any help

Jerry
Super User
Posts: 5,426

Re: C# connection string to SAS

Posted in reply to deleted_user
If you just want to retrieve data, other possibilities might exist (and requirements for licensed software). See on-line doc for OLE DB processing with SAS:

http://support.sas.com/documentation/tools/oledb/

/Linus
Data never sleeps
N/A
Posts: 0

Re: C# connection string to SAS

Thank you both for your tips.
I have it going now but I keep getting errors with the Com components.
How can I get the workspacemanager component to show up in dcomcnfg?

I keep getting an error on this line of code:
Workspace ws = (Workspace)wsm.Workspaces.CreateWorkspaceByServer("",
SASWorkspaceManager.Visibility.VisibilityProcess, null, "", "", out
errorMessage);

Error
System.Runtime.InteropServices.COMException:



0

0x80080005
Server execution failed




Thank you
Jerry
Ask a Question
Discussion stats
  • 3 replies
  • 1400 views
  • 0 likes
  • 2 in conversation