Tuesday, March 6, 2012

AdomdConnection via a UDL file

To connect to a database engine by using types such as OleDbConnection, I can create a UDL file to connect to the database, then just use that UDL file by a connection string like "File Name = \\My Documents\\my.udl".

It seems that I cannot use this way to connect to SSAS. I can create a UDL file to connect to a local SSAS without any problem. However, when I use connection string like "File Name = \\My Documents\\myssas.udl" for AdomdConnection, I get the following error:

"The 'File Name' property name is not formatted correctly."

Could anyone tell me what is the correct format?

Thanks,

hz

hello,

right now supplying conneciton information for an AdomdConnection in a UDL file is not supported in Adomd.Net.

hope this clarifies.

|||

Thanks, Mary.

It is good to have this confirmed.

hz

No comments:

Post a Comment