Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Commerce Server Dataware Housing > Extending data ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 120 of 184
Post > Topic >>

Extending data warehouse using .Net

by Alexander Yushchenko <ayushchenko@[EMAIL PROTECTED] > Mar 29, 2005 at 03:12 PM

Hello!

     (CS2002 + SP3 + FP1)

     I tried to use code examples in VB Script and it worked.
     I rewrote it using ADODB interop assembly and it worked.
     Now I try to do the same using .Net data adaptor in c#.
     I use the following code: (server  and database names and password
has been changed):


using System;
using System.Data.OleDb;
namespace UpdateDWScheme
{
	class Class1
	{
		[STAThread]
		static void Main()
		{
			OleDbConnection c = new OleDbConnection
("Provider=commerce.dso.1;Data Source=mscop://InProcConnect/Server=serv:
Catalog=DWSchema:Database=site_dw:user=sa:password=pass:FastLoad=True");
			c.Open();
		
			//Everything else goes here
		}
	}
}


     After calling "c.Open();" the connection is opened and closed
immediately after it, with no exceptions.

     What's the matter? Why doesn't it work?

-- 
Yours faithfully,
Alexander Yushchenko
 




 2 Posts in Topic:
Extending data warehouse using .Net
Alexander Yushchenko <  2005-03-29 15:12:19 
Re: Extending data warehouse using .Net
"Max Akbar" <  2005-05-07 19:12:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 11:35:38 CST 2008.