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

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

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
  • 3 replies
  • 3839 views
  • 0 likes
  • 2 in conversation