Showing posts with label services. Show all posts
Showing posts with label services. Show all posts

Sunday, March 25, 2012

Connection Pooling on Analysis Services

Please may I have your assistance with the following issue. Let me 1st describe the scenario. The front end uses BEA Web Logic which queries an IIS Web Service that in turns queries MS Analysis Services 2005.

The Web Service builds the MDX queries dynamically and returns the results in XML.

Each time we run a query we open a connection using ADOMD, fire the MDX to return the result set then close the connection. However we don't think this will provide the best performance. So

1. Does the AS OLEDB provider handle connection pooling internally?

2. If not, is it possible to implement connection pooling in code inside our web service?

3. Are there other ways to implement connection pooling? for example does using HTTP connections automatically provide us with connection pooling?

Thanks

Here is an article about implementing connection pooling in AS2000, the same should apply for AS2005.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/sql2k_connpooling.asp

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||

Hi Edward,

Many thanks for the document. Please have a look at the following.

http://www.codecomments.com/archive364-2005-1-379959.html

What would be ideal is when the web service starts this will automatically create a fixed number of connection pools to an AS Db

Our objective is to be able to reuse these connection pools by different users connecting to the same web service, obviously not simultaneously. The above suggests that the connection pool is destroyed?

Any thoughts would be greatly appreciated

Thanks

John

|||

No.

The post you mention suggests only that you should apply a bit more logic beyond simple 3 step;

1. Application starts.
2. It creates pool of open connecitions size N.
3. Pool of connections is destroyed when you shut down your web service.

It suggests you implement logic in your application that allows your application to grow conneciton pool above pre-set limit N:
In beginning your conneciton pool is N , if application used all of the connections from the conneciton pool and still needs more connections, connection pool will grow to N +x ... Your application will periodically check if it needs to srink connection pool back to N.

As for the different users connecting to your application. You can re-use connections if application is using same credentials to retrevie data from Analysis Server.
For instance if user A and B connecting to your web service running under W credentials. If your connections are opened under W , you can re-use them . If you open connections under A , you should not let B re-use that conneciton , otherwize you might show B too much data.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||

Hi Edward, Many thanks for your tips and based on your recommendation (to pursue AS 2000) downloaded the MS XML FOR AS SDK (AS 2000) and started to look at the various options

We used the reference to this

Public Shared p As New MSXmlAnalysisSCLib.ADOConPool

p.MaxSessions = 5

cnadomd = p.GetConnection("Data Source=myASServer" & ";Provider=msolap.3; initial catalog=myASDb")

Unfortunately we dropped the above method because there are no options to use XML? This will mean we would need to read the cells and construct our own XML string

Then we looked at the option of using http connection using the latest AS 2005 connection provider which seems to be set up to use connection pooling

conn.ConnectionString = "Data Source=http://myWebServer/OLAPhttp/msmdpump.dll" & ";Provider=msolap.3; initial catalog=myASDb"

As the content of the msmdpump.ini file suggests ::

<ConfigurationSettings>

<ServerName>localhost</ServerName>

<SessionTimeout>3600</SessionTimeout>

<ConnectionPoolSize>10</ConnectionPoolSize>

<MinThreadPoolSize>1</MinThreadPoolSize>

<MaxThreadPoolSize>10</MaxThreadPoolSize>

<MaxThreadsPerClient>5</MaxThreadsPerClient>

</ConfigurationSettings>

However from perfmon as well as SQL profiler, when issuing multiple connections simultaneously using the above http method it will use the same connection Id, but create multiple ‘current user sessions’. Also the observed execution time was rather slow.

The alternative is to use the following

conn.ConnectionString = "Data Source=myASServer;Provider=msolap.3; initial catalog=myASDb"

which is observed to work correctly when we use multiple connection simultaneously and performs well.

However the issue I have with the above is where do I instantiate the above so that I can re-use the connection. I noticed in IIS we can configure application pooling.

A low level example would be greatly appreciated, if you don’t mind?

Thanks

John

|||

First you can try and increase the ConnectionPoolSize in the msmdpump.ini .

Creating a single connection and having it be reused across several sessions should have comparable or better performance to opening new TCP connections all the time.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

Tuesday, March 20, 2012

Connection OLAP with VS.NET

Hello,
I'm trying to connect with Analysis Service's Database and create, see,
drop cubes with ASP.NET (programming in VB.NET). What I need to do this?
(I'm beginner with Analysis Server, but already I knew SQL Server).
Thanks.
Gema.
You want ADOMD.NET
See this download:
http://www.microsoft.com/downloads/d...DisplayLang=en
Dave Wickert [MSFT]
dwickert@.online.microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
This posting is provided "AS IS" with no warranties, and confers no rights.
"Gema Snchez" <gema.sanchez@.grupo-episteme.com> wrote in message
news:e3AGeYTXFHA.616@.TK2MSFTNGP12.phx.gbl...
> Hello,
> I'm trying to connect with Analysis Service's Database and create, see,
> drop cubes with ASP.NET (programming in VB.NET). What I need to do this?
> (I'm beginner with Analysis Server, but already I knew SQL Server).
> Thanks.
> Gema.
>
|||Can I connect only with XML? (ADOMD.NET)
Thanks.
"Dave Wickert [MSFT]" <dwickert@.online.microsoft.com> escribi en el mensaje
news:ueh%23%23OYXFHA.2348@.TK2MSFTNGP14.phx.gbl...
> You want ADOMD.NET
> See this download:
>
http://www.microsoft.com/downloads/d...DisplayLang=en
> --
> Dave Wickert [MSFT]
> dwickert@.online.microsoft.com
> Program Manager
> BI SystemsTeam
> SQL BI Product Unit (Analysis Services)
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.[vbcol=seagreen]
>
> "Gema Snchez" <gema.sanchez@.grupo-episteme.com> wrote in message
> news:e3AGeYTXFHA.616@.TK2MSFTNGP12.phx.gbl...
see,
>
|||Hello Dave,
I've installed ADOMD.NET and that is de way that I want. Thanks. If I
have questions, I'll ask here.
Regards.
"Gema Snchez" <gema.sanchez@.grupo-episteme.com> escribi en el mensaje
news:%23aDqR55XFHA.796@.TK2MSFTNGP10.phx.gbl...
> Can I connect only with XML? (ADOMD.NET)
> Thanks.
> "Dave Wickert [MSFT]" <dwickert@.online.microsoft.com> escribi en el
mensaje
> news:ueh%23%23OYXFHA.2348@.TK2MSFTNGP14.phx.gbl...
>
http://www.microsoft.com/downloads/d...DisplayLang=en[vbcol=seagreen]
> rights.
> see,
this?
>

Connection Managers not installed?

apologies if this is the wrong group ..

whenever I create an Integrated Services project and attempt to add a Connection Manager I get the error

Connection Manager 'blah' is not properly installed on this computer.

(Microsoft.DataTransformationServices.Design)

This happens with all menu options except New Connection..

I have uninstalled and reinstalled both Visual Studio 2005 and SQL Server 2005 and made sure I have selected everything in each case

what am I missing?

Thanks

Chris

seems this has happened to others

see Jason Lodice thread for solution

Chris

Monday, March 19, 2012

Connection Limit of express's reporting services

Hi,
Do you know the connection limit of express's reporting services?
As i know standard's version is unlimited, so how about the adv version.
Can I use this free version as web reporting tool for more than 100 users?
Many Thanks....Hi,
yes, you have no query governor anymore, but you are restricted to the
hardware limitations of SQL Server Express, so scaling up with Express
is limited. There are also no connection limitations.
HTH, Jens K. Suessmeyer.
--
http://www.sqlserver2005.de
--|||Hi Jens,
Thanks.
Do you have any benchmarking info between express & standard in term of RS
performance (no db installed in express) where express only support One CPU
& allocate 1G Mem.
What I want to know how RS consume server resources so i can make a decision
to choose express RS or standard RS for my web report which will support 100
users.
Many thanks again.
"Jens" <Jens@.sqlserver2005.de> wrote in message
news:1169538427.949486.105720@.v45g2000cwv.googlegroups.com...
> Hi,
> yes, you have no query governor anymore, but you are restricted to the
> hardware limitations of SQL Server Express, so scaling up with Express
> is limited. There are also no connection limitations.
> HTH, Jens K. Suessmeyer.
> --
> http://www.sqlserver2005.de
> --
>|||Hi,
this is really hard to tell, there is no rule of thumb as it has many
influencing factors. What about processing time for the reports, how
often do they access the reports, how big are the reports, which
reporting format will they produce, etc. You will have to run a load
test on the machine to see how your report are performing for getting a
performance measure to scale you machine.
HTH, Jens K. Suessmeyer.
--
http://www.sqlserver2005.de
--|||Thanks jens, will try and test.
"Jens" <Jens@.sqlserver2005.de> wrote in message
news:1169584143.023207.298610@.j27g2000cwj.googlegroups.com...
> Hi,
> this is really hard to tell, there is no rule of thumb as it has many
> influencing factors. What about processing time for the reports, how
> often do they access the reports, how big are the reports, which
> reporting format will they produce, etc. You will have to run a load
> test on the machine to see how your report are performing for getting a
> performance measure to scale you machine.
>
> HTH, Jens K. Suessmeyer.
> --
> http://www.sqlserver2005.de
> --
>

Connection Issues To Report Services

Hello all,

I just installed the SQL 2k5 standard suite of services on a w2k3 enterprise edition server. All went well except for the connection to the reporting server. I get the error below.

"No connection could be made because the target machine actively refused it"

I can't seem to find any information on this error and have no clue where to even start. I've done 10+ installations of this software on various machines and have not encountered this error on any of them.

I have uninstalled, then reinstalled the reporting services and still no solution. All connection attempts are being made on the actual server, not from a desktop. sp1 for sql 2k5 is also installed, if that helps.

Windows Firewall is off.

What web searches I've done have turned up nothing useful. I'm pretty good at figuring this stuff out but this error provides very little of any use.

Anyone out there have any ideas?

Thanks in advance,

Greg

Have you seen this page: http://www.sqljunkies.com/WebLog/edwardm/ ?|||

First, thanks for the link. I'll make note of the ports used by SSAS and some of the other information in there.

I did figure this out, though. Not a very scientific approach so I'll have to run into this problem again to verify but, at a minimum, backing up the encryption key from within Reporting Services Configuration seemed to do the trick. I had a few other things out of whack, too.

At one point, the Backup option was disabled, but disabling "Web Server and HTTP Access" via SQL Server Surface Area Configuration -> Surface Area Configuration for Feature -> Reporting Services enabled the Backup button (kind of a round-about way of making that happen).

After backing up the encryption key, I enabled that option and could connect after that. Problem Solved!

This was further complicated by the fact that the reporting services install didn't conform to some "default" system configuration and performed only a "files-only" install. I really didn't pay that much attention during the install and the difference never really registered in my mind. So, I had to manually configure the reporting server (web directories, db connections, dbs and all).

So, chalk this up to experience and I'll know the next time I run into this.

Other things I addressed, but I'm not sure were relevant were:

the state of the IIS Admin and WWW publishing services (these were stopped and in manual mode during the install - I would think the install would start these if needed)

The execution permissions and application protection modes of the reporting server virtual directories (these were different on the problem installation than a "default" installation - an install on another machine that did work fine)

I don't think I needed to do the reporting services re-install.

When creating the databases manually, I ended up having to do that with scripts. For some reason, the database creation was timing out. The creation of the two databases was ok, but the reporting server temp db did not have any objects in it (no tables, views, etc).

There are a myriad of other things, but I'm almost certain these weren't relevant. All-in-all, a hassle.

Greg

|||Greg: Thanks for your post. I have a problem getting SSRS to work on one of my servers, too. I posted on Sunday:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1215786&SiteID=1
but no one answered. In my case, the local SSRS does not even appear in the list of servers to initialize, within the RS Config Manager. When I installed SSRS, I got the message "Reporting Services was installed, but not configured". This was on a reinstall of SQL05 needed to place the files on a drive other than C:

I will see if backing up the key fixes my problem, next time I'm at that site.|||I'm back at the server with the problem. When I run RS Config Mgr, the button to back up the encryption key is disabled. The only enabled buttons on that page are the 'Restore' button, and the 'Delete' (delete encrypted content) button.

I tried disabling HTTP and Web Access using the Surface Area tool, but the 'Backup' button is still disabled.

Any ideas on how to diagnose and fix this?|||

Hmm. That's what I did. One other thing you might try is deleting the encrypted content. At some point in my troubleshooting process, I pressed that button. I would assume that if encrypted content did exist, and you didn't have the proper encryption key to restore from, the encrypted content would be un-accessible (that's rather obvious). I was comfortable deleting encrypted content because the installation was new and there was nothing to lose.

After doing that, you could then go throught the HTTP and Web Access routine again.

|||No luck for me. Could not get the 'Backup' button enabled on the Encryption Key page. I found in the event log I'm getting EventID 7000 from the RS Service saying "...cannot connect to the report server database". I tried scripting out the DB creation and running that separately. The script ran without errors, but I still get the connection failure event.

I tried running "rsconfig.exe -t -c -d SSRS -a windows -s mssqlserver", where SSRS is my RS db name and mssqlserver is the SQL Server instance name (the default instance), and it came back with "The command completed successfully"

Now since running rsconfig, in the GUI version, RS Configuration Mgr, I'm getting error popups saying it can't connect to SQL Server at all. The popups say it was trying to connect using named pipes. I went to the Surface Area tool and enabled named pipes on remote connections, but RS Config Mgr still can't connect.

It seems like my installation is hosed. I thought Crystal Enterprise was hard to use, but this SSRS is worse! I'm open to suggestions. Does anyone know a reliable way to configure the db connection for Reporting Services?|||I uninstalled and reinstalled the Reporting Services components. This at least allowed RS Config Mgr to connect to SQL Server. However, when I attempt to create a new database for RS, each step succeeds except the last one. For the "Setting Connection Info for the Reporting Server" task, there

was a yellow '!', with the explanation, "Although saving the database

connection succeeded, the report server cannot access internal

information about this deployment to determine if the current

configuration is valid for this edition. ..." The RS Service is still logging errors in the event log saying it cannot connect. I give up.

Connection issue with Management Console

When i try to connect to Integration Services on a SQL 2005 Machine, it Gives me a Class not registeed.

But i can connect to SQL 2008 Integration Services without a issue.

I tried Restarting the 2008 machine and Also Reinstalling the SSIS Piece and also Reinstalled SQL 2008, but nothing seems to Help.

Could you provide more details? Do you have SQL 2005 and SQL 2008 installed on the same machine?

Thanks,

Bob

|||

No, I dont

I Just Have SQL 2008 July CTP installed on a Windows Xp SP2 MAchine and I try to connect to another SQL Server 2005 Server (Integration Services)

I am Even Having Trouble opening the Maintenance Plan in SQL 2008.

|||

Hi there,

In the July CTP you can not connect to a 2005 SSIS service through 2008 Management Studio. To manage a 2005 SSIS service, you'll need to use the 2005 version of SSMS.

We're currently investigating ways to resolve this issue, but it's unclear whether we'll be able to solve this for the 2008 release.

~Matt

Saturday, February 25, 2012

Connection error ( from MS Analysis to Applix TM1)

Hi All,

I am trying to connect from MS Analysis Services 2000 to Applix TM1.
Applix has got Applix OLE DB MD Prodiver.It is installed on my machine.
I create a datasource in MSAS.
In Data Link I can see the this Applix OLE DD driver and I choose it. Then I can see Applix login and password screen. Then I logged in. When I test my connection, the connection is succeed.
But when I create a cube from data source,it gets an error message as below;

Connection teamnb-cem data source failed.
Object or provider is not capable of performing requested operation
Do you want to retry_?

How can I fix it?

BEst Regards

Cem DAGLI

AS2000 has list of supported providers, and TM1 is not one of them. There are many requirements for OLEDB provider to work properly with AS2000, so I am not optimistic you will succeed with this kind of direct connection. I suggest exporting data from TM1 cube into SQL Server first, and then processing AS2000 cube off SQL Server.|||

Dear Mosha,

I am using Applix OLE DB MD Provider. Not Microsoft providers.
When you install Applix , you have Applix OLE DB MD provider. I connected from Excel to Applix TM1.
But for AS2000 not.

Does AS2005 support Applix OLE DB MD Provider? If I try it from MSAS 2005 ,can I connect it?

Best Regards
Cem dAGLI

|||So, what exactly do you mean when you say "Connect AS2000 to Applix". The only way AS2000 "connects" to external databases is for processing or ROLAP, and there is a list of supported providers (SQL Server, Oracle etc) - Applix is not on that list.|||

Dear Mosha,

I mean connect from MSAS 2000 to Applix TM1 OLAP Server.

There is a Applix OLE DB MD Provider in Data Link screen in MSAS 2000. The Driver is provided by Applix.
I also connected from MS Excel to Applix OLAP server with this driver.
If you send me your e-mail , I will send all printed screen in MSAS 2000.

Best Regards

Cem DAGLI

|||

Cem

Unfortunately, you don't make yourself clear - you just repeated the information that you already provided earlier. The only way the statement "connect MSAS 2000 to Applix TM1 OLAP Server" can be interpreted is that you try to process MSAS cube out of the TM1 cube, and use Applix OLEDB provider for that. As I explained above - this is not supported scenario. If you have some clarifying screenshots - please attach them to this post.

|||

Hi Mosha,

I need to extract some data from Applix TM1 cubes into MS SQL Server. Here are the steps i tried to create a connection in MS SQL 2000 DTS package using Applix TM1 OLE DB MD Provider (v8.4.2).

1) Create a new DTS package
2) Add Connection Properties. Applix TM1 OLE DB MD Provider is not listed in the 'Data Source' list. So i choose Microsoft OLE DB Provider for OLAP Services 8.0

3) Click Properties...

4) On Provider tab, choose Applix TM1 OLE DB MD Provider.

5) On Connection tab, specify the TM1 server location & instance. Test Connection is successful.

6) Click OK to complete the configuration.

When i edit the connection properties again, the provider reverts to Micosoft OLMicrosoft OLE DB Provider for OLAP Services 8.0. It doesn't seem to save the configuration done above.

Could you please shed some lights on how to get this to work? Thanks a lot.

Friday, February 24, 2012

Connection Error

I am having a problem with creating any report in Visual Studio 2003 and
Reporting Services 2000.
I can create a datasource and test the connection without any problems.
However, when I create a report that uses this datasource (or try to create
an new one) it fails with the error message "A connection cannot be made to
the database. Set and check the connection string". This problem occurs using
a brand new VS Project and report and all existing projects/reports.
All my existing reports fail now too with the same error in all projects.
Unfortunately, I do no know what would have changed that would cause this
error. Did any recent security patches cause any problems?
Any suggestions would be most appreciated.
--
WCUI was able to determine the solution. The data source is for Oracle. The
password for the account that I was using was expiring. Oracle throws and ORA
error message when connecting with a password that is about to expire.
Testing the connection in Visual Studio must trap and ignore this password
expire warning (oracle error) while trying to use this data source in a
report just fails.
Hope this helps someone in the future...
--
WCU
"StanleyHammer" wrote:
> I am having a problem with creating any report in Visual Studio 2003 and
> Reporting Services 2000.
> I can create a datasource and test the connection without any problems.
> However, when I create a report that uses this datasource (or try to create
> an new one) it fails with the error message "A connection cannot be made to
> the database. Set and check the connection string". This problem occurs using
> a brand new VS Project and report and all existing projects/reports.
> All my existing reports fail now too with the same error in all projects.
> Unfortunately, I do no know what would have changed that would cause this
> error. Did any recent security patches cause any problems?
> Any suggestions would be most appreciated.
> --
> WCU

Connection designer in RS 2005?

I have upgraded our Custom Data Extension from SQL 2000 Reporting Services
to 2005. I see that the Report Wizard will now launch my Query Designer for
editing command strings (thank you!) but I still can not see a way to get RS
to launch my "Connection Designer" dialog. When running Report Wizard or
Add New Data Source dialog, the "Edit" button becomes greyed out when I
change the Data Source Type to my Provider. How can I plug my Connection
String editor user interface at this point?
Thanks!Hello Stephen,
This is a quick note that I am consulting in the internal discussion group
to discuss this issue. I appreciate your patience.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================(This posting is provided "AS IS", with no warranties, and confers no
rights.)|||Any update on this issue?
"Wei Lu [MSFT]" <weilu@.online.microsoft.com> wrote in message
news:an29mv$yGHA.3392@.TK2MSFTNGXA01.phx.gbl...
> Hello Stephen,
> This is a quick note that I am consulting in the internal discussion group
> to discuss this issue. I appreciate your patience.
> Sincerely,
> Wei Lu
> Microsoft Online Community Support
>|||Hello Stephen,
Sorry Stephen, I did not get update from the discussion group, I am still
performing research now. Thank you for your patience.
Sincerely,
Wei Lu
Microsoft Online Community Support|||Hello Stephen,
How are you doing on this issue? I'm posting to inform you that we're still
focus on this issue, since Wei is absent due to some urgent issue, he'll
udpate you when he get any update from product team later.
Meanwhile, if you have any further questions or concerns, please feel free
to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.|||I look forward to the resolution of this importan issue. Thansk for staying
on top of it.
"Steven Cheng[MSFT]" <stcheng@.online.microsoft.com> wrote in message
news:ArAs09k1GHA.4464@.TK2MSFTNGXA01.phx.gbl...
> Hello Stephen,
> How are you doing on this issue? I'm posting to inform you that we're
> still
> focus on this issue, since Wei is absent due to some urgent issue, he'll
> udpate you when he get any update from product team later.
> Meanwhile, if you have any further questions or concerns, please feel free
> to post here.
> Sincerely,
> Steven Cheng
> Microsoft MSDN Online Support Lead
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>|||Hello Stephen,
Unfortunately, I got the response from the product team that Report
Designer does not support customer-written connection string editors at
this time.
I also contact to them that whether this feature is under consideration. So
far, I do not get the feedback on this.
If I get any information, I will update you ASAP.
Sincerely,
Wei Lu
Microsoft Online Community Support|||Hello,
From the feedback of product team, they will add this to their list of
potential considerations.
For now, if you have any concerns, please feel free to send your feedback
to product team:
http://connect.microsoft.com/SQLServer.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Connection denied. Please help

Hello, everyone. I'm new in Reporting Services 2005. I encountered a confused connection problem. I'm running a named instance (called 'sql05') of SQL Server 2005 Standard Edition(a SQL Server 2000 instance as my default) on my Windows XP Professional machine. I log in Windows XP as a member of Administrators group. When I came into SQL Server Management Studio and connect to my local reporting server using Windows Authentication, the report server denied my connection request 'actively'. The service is running but it denied my connection. But when I use the same method to connect to my database engine and Analysis Services in Management Studio, no problem has happened. Does anyone have similar experiences? I appreciate for any help. Thank you!Ha, I found the solution. I mistakely altered the settings in Reporting Services Configuation Manager. On the 'Database Setup' page, I mistakely changed the 'Credential Type' from 'Service Credentials' to 'Windows Credentials' and input my WindowsXP username and password. This seems error-prone. When I changes back to 'Service Credentials' and apply it, the problem above solved. Can you help me distinguish between these Credential Types? Which type is suitable?

Tuesday, February 14, 2012

Connecting toTeradata .NET data provider

I need help connecting to the Teradata .NET data provider inReporting Services.

In Visual Studio I selectNew Project thenBusiness IntelligenceProject.

Once open, in theSolution Explorer I right-click onSharedData Sources and clickAdd New Data Source.

I do not understand how to get "Teradata" to show in theType list ofavailable data sources. I do not want toconnect to Teradata via ODBC or OLD DB. I want to connect directly to the Teradata .NET data provider.

Can anyone with more experience with SSRS help me shed somelight on this?

Add a new report say Test.rdl. Double click on it. The on click on Data tab. This is where you set Datasource etc.

-kushpaw

|||

kushpaw:

Add a new report say Test.rdl. Double click on it. The on click on Data tab. This is where you set Datasource etc.

-kushpaw


Hi kushpaw, that did not answer my question.

I am aware of how to set a datasource of type ODBC, SQL Server, XML, OLE DB, or Orical. What I want to know is how add Teradata to that list. Keep in mind, from my original question, I do not want to connect to Teradata through ODBC or OLE DB, but connect directly to the Teradata .NET data provider.

|||

Here is the solution for others who may want to do the same thing:

Inrsreportserver.config andRSReportDesigner.config add to the <data> tag
<ExtensionName="Teradata"Type="Teradata.Client.Provider.TdConnection,Teradata.Client.Provider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=76b417ee2e04956c"/>
*note* The Version, Cutlure, and PublicKeyToken can be found in C:\Windows\assembly

In RSReportDesigner.config add to the <Designer> tag
<ExtensionName="Teradata"Type="Microsoft.ReportingServices.QueryDesigners.GenericQueryDesigner,Microsoft.ReportingServices.QueryDesigners"/>

Connecting to the remote database

Hi!
We have the Reporting Services 2005 installed on the one server and the SQL
Server 2000 database on the other. I am trying to create the report with data
from this database. When I deploy the report on the RS 2005 server, and try
to open it from my client machine, I get the message: Login Failed for user
(null). If I browse the report directly from the server (with my contex), it
works. It seems that this is a delegation problem. Both of the servers are
Windows 2003 servers in the same domain, and I use the windows authentication.
How can I resolve the problem?
Thanks,
Yuliaan.When you deploy a report it also deploys the datasource. However, the
datasource still needs to be configured. Open up the datasource on the
server and go to the properties for it.
BTW, what I do is have all my reports use integrated security for
permission to run the report. Then for where the data is coming from I have
the database running in mixed mode and have a read only user that I create
with for it. This is much much easier than perpetually messing with the
database giving appropriate rights to the users for the data. Plus, if you
have a subscription you have to have a user that is used for the report
anyway (it is run once and then the report can be mailed to multiple users).
Another advantage is the use of connection pooling. If you go your route
then connection pooling will only come into play for a particular user, if
you do what I am suggesting (having a single special user for the database
connection) then all the users of the reports will get the benefit of
connection pooling.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Yuliaan" <Yuliaan@.discussions.microsoft.com> wrote in message
news:BDDF0314-A188-46A3-88EE-5B5A922C7F2E@.microsoft.com...
> Hi!
> We have the Reporting Services 2005 installed on the one server and the
> SQL
> Server 2000 database on the other. I am trying to create the report with
> data
> from this database. When I deploy the report on the RS 2005 server, and
> try
> to open it from my client machine, I get the message: Login Failed for
> user
> (null). If I browse the report directly from the server (with my contex),
> it
> works. It seems that this is a delegation problem. Both of the servers are
> Windows 2003 servers in the same domain, and I use the windows
> authentication.
> How can I resolve the problem?
> Thanks,
> Yuliaan.|||Thank you Bruce, but in our database the different users has the different
rights, moreover I need to connect to the Analysis Services data that also
has the different permissions.So I have to transfer the user context to the
database server. Is it possible?
Thanks,
Yuliaan
"Bruce L-C [MVP]" wrote:
> When you deploy a report it also deploys the datasource. However, the
> datasource still needs to be configured. Open up the datasource on the
> server and go to the properties for it.
> BTW, what I do is have all my reports use integrated security for
> permission to run the report. Then for where the data is coming from I have
> the database running in mixed mode and have a read only user that I create
> with for it. This is much much easier than perpetually messing with the
> database giving appropriate rights to the users for the data. Plus, if you
> have a subscription you have to have a user that is used for the report
> anyway (it is run once and then the report can be mailed to multiple users).
> Another advantage is the use of connection pooling. If you go your route
> then connection pooling will only come into play for a particular user, if
> you do what I am suggesting (having a single special user for the database
> connection) then all the users of the reports will get the benefit of
> connection pooling.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
>
> "Yuliaan" <Yuliaan@.discussions.microsoft.com> wrote in message
> news:BDDF0314-A188-46A3-88EE-5B5A922C7F2E@.microsoft.com...
> > Hi!
> >
> > We have the Reporting Services 2005 installed on the one server and the
> > SQL
> > Server 2000 database on the other. I am trying to create the report with
> > data
> > from this database. When I deploy the report on the RS 2005 server, and
> > try
> > to open it from my client machine, I get the message: Login Failed for
> > user
> > (null). If I browse the report directly from the server (with my contex),
> > it
> > works. It seems that this is a delegation problem. Both of the servers are
> > Windows 2003 servers in the same domain, and I use the windows
> > authentication.
> > How can I resolve the problem?
> >
> > Thanks,
> > Yuliaan.
>
>|||What you need to do in your case is make sure the user has the appropriate
rights on the database that has the data you are reporting off of. And then
in Report Manager click on the data source and make sure it is using
integrated security. When you deploy this property does not get set and you
need need to do this for all newly deployed data sources.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Yuliaan" <Yuliaan@.discussions.microsoft.com> wrote in message
news:74D2F2F4-CBB2-4882-A275-BCAB3A38EBED@.microsoft.com...
> Thank you Bruce, but in our database the different users has the different
> rights, moreover I need to connect to the Analysis Services data that also
> has the different permissions.So I have to transfer the user context to
> the
> database server. Is it possible?
> Thanks,
> Yuliaan
> "Bruce L-C [MVP]" wrote:
>> When you deploy a report it also deploys the datasource. However, the
>> datasource still needs to be configured. Open up the datasource on the
>> server and go to the properties for it.
>> BTW, what I do is have all my reports use integrated security for
>> permission to run the report. Then for where the data is coming from I
>> have
>> the database running in mixed mode and have a read only user that I
>> create
>> with for it. This is much much easier than perpetually messing with the
>> database giving appropriate rights to the users for the data. Plus, if
>> you
>> have a subscription you have to have a user that is used for the report
>> anyway (it is run once and then the report can be mailed to multiple
>> users).
>> Another advantage is the use of connection pooling. If you go your route
>> then connection pooling will only come into play for a particular user,
>> if
>> you do what I am suggesting (having a single special user for the
>> database
>> connection) then all the users of the reports will get the benefit of
>> connection pooling.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>>
>> "Yuliaan" <Yuliaan@.discussions.microsoft.com> wrote in message
>> news:BDDF0314-A188-46A3-88EE-5B5A922C7F2E@.microsoft.com...
>> > Hi!
>> >
>> > We have the Reporting Services 2005 installed on the one server and the
>> > SQL
>> > Server 2000 database on the other. I am trying to create the report
>> > with
>> > data
>> > from this database. When I deploy the report on the RS 2005 server, and
>> > try
>> > to open it from my client machine, I get the message: Login Failed for
>> > user
>> > (null). If I browse the report directly from the server (with my
>> > contex),
>> > it
>> > works. It seems that this is a delegation problem. Both of the servers
>> > are
>> > Windows 2003 servers in the same domain, and I use the windows
>> > authentication.
>> > How can I resolve the problem?
>> >
>> > Thanks,
>> > Yuliaan.
>>

connecting to sqlserver reporting services

how to connect sqlserver reporting services

can i connect through sql server management studio

Note: this is no joke a serious Question

Yes, under File->Connect Object Explorer. Select 'Reporting Services' as the server type. Your server name is the server that the ReportingServices virtual directory is installed (which is not always your SQL Server server).

You can also do a bulk of your administration and report execution through the web app: http://yourservername/reports

connecting to sqlserver reporting services

how to connect sqlserver reporting services

can i connect through sql server management studio

Note: this is no joke a serious Question

Yes, under File->Connect Object Explorer. Select 'Reporting Services' as the server type. Your server name is the server that the ReportingServices virtual directory is installed (which is not always your SQL Server server).

You can also do a bulk of your administration and report execution through the web app: http://yourservername/reports