BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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
3 REPLIES 3
LinusH
Tourmaline | Level 20
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
deleted_user
Not applicable
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
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 4555 views
  • 0 likes
  • 2 in conversation