Solved

SSRS Duplicate DSN

Posted on 2014-01-16
12
371 Views
Last Modified: 2014-02-05
I have deployed reports for an ERP application, For a handful of reports I am getting this message about bad DSN. I discovered the reason is because for some reason a second DSN exists for the report when there should only be one. I tried redeploying the reports but that did not help. If you look at the attached screenshot, the DSN called dsGP10PM should not be there. How do I remove it for just this report? This is SQL Server 2008 R2.
Duplicate DSN
0
Comment
Question by:rwheeler23
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
12 Comments
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39787708
Looks like your report is not connected to the right data source.  I assume you're using shared data sources, right?

Now, this can be fixed through the Report Manager.  Open the dropdown menu on your report and select Manage.  This gives you the report's properties.  Open the Data Sources page.  The radio button next to A shared data source should be activated.  Use the Browse button and select the right data source for your report.  That should solve the issue.
0
 

Author Comment

by:rwheeler23
ID: 39788176
These report do have a shared datasource but the problem is under manage it lists two shared datasources. That is the problem. It has the one it is supposed to use and this other "dsGP10PM" that I have no idea from where it is coming. There is no delete or remove button. Here is a screenshot of what I mean. How do I get rid of it?Duplicate DSN Screenshot
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39788212
If that screen shows two data sources it means that the report has got those two data sources defined.  So to remove one you should open the RDL in an SSRS project (BIDS) and remove it from there, then redeploy.  Or point both to the same shared data source as you did, AFAIK that should work too? (though it's not a best practice)
0
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 

Author Comment

by:rwheeler23
ID: 39788224
Thanks. I will need to check with Microsoft then as this report is part of an ERP package so I have no idea where the rdl is kept. These reports are all deployed via their control panel.
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39788320
Ow I see.  Is the report operating as expected with the data sources set as they are?  Because in that case I wouldn't bother too much (me personally)...

You can always download the RDLs from the Report Manager (using the dropdown menu on a report) but if they ship with a third-party product then changing them is probably not the best way forward...
0
 

Author Comment

by:rwheeler23
ID: 39788343
The reports do not work. They are trying to use the dsGP10PM data source which is pointing to god knows what. I need that data source gone. I have tried redeploying them but that did not work. I am reluctant to open a case with Microsoft because they will charge $259 for the call.
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 39788421
According to your screenshot both data sources in the report are pointing to the same data source on the server: Data Sources\GPPROD

To test if the data source is working, open its properties in Report Manager and click the Test Connection button. This way you can also check if it's configured as expected...
0
 

Author Comment

by:rwheeler23
ID: 39788463
I wish I could do that. The Test Connection button is always dim.
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 39799308
Ow, that's weird. Are you sure your user has got admin rights on SSRS?

Perhaps something else worth trying: delete one of the reports through the Report Manager and then deploy it again.  I've solved strange parameter issues this way in the past...
0
 

Author Comment

by:rwheeler23
ID: 39799659
That is a good thought. I will try to delete it first and then deploy it again and let you know. I even contacted Microsoft and they do not know what it is or how to get rid of it.
0

Featured Post

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question