Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / February 2006

Tip: Looking for answers? Try searching our database.

Using a UDL as a Data Source in Reporting Services

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JStandard - 28 Feb 2006 19:31 GMT
Greetings,

In an attempt to avoid hardcoding of server / database names in Reporting
Services Reports, I'm attempting to use a UDL for all of the Datasets.

I already have a datasource established, using the Data Link properties box,
which I then employ for each dataset, but I'm uncertain how I can change this
to use a UDL I created.

I've tried going into the data source for each data set I use and setting
the connection string to "File Name = R:\Datasource.udl" as well as tried:
Data Source = R:\Datasource.udl".
(Just a note, I use R:\ as the UDL is on a mapped network drive, if that
makes a difference)

The first, "File Name =" tells me it doesn't recognize the keywords "File
Name", the latter yields an error message (after a bit of a pause) telling me
"Could not connection to the database.  Set and test the connection.  Invalid
connection."

I know my UDL works as I use it in some DTS tools as a global variable to
insert into the code.

As of this point I'm a bit stumped, is it possible to use UDLs in reporting
services?  Is there another, possibly better method than UDLs to achieve a
single-datasource point that many of the Microsoft tools we write in (such as
ASP.Net, Reporting Services, Data Transformation Services) could easily
reference?

Thanks kindly,
Bruce L-C  [MVP] - 28 Feb 2006 21:18 GMT
I'm using ODBC and I have successfully done the following:
filedsn=C:\somedirectory\somename.dsn

I'm not familiar with udl but perhaps something similar would work for you.

Signature

Bruce Loehle-Conger
MVP SQL Server Reporting Services

> Greetings,
>
[quoted text clipped - 32 lines]
>
> Thanks kindly,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.