Solved

Getting error: Getting error: Cannot create a connection to data source Data source 1 SOME USERS

Posted on 2015-02-18
32
21 Views
Last Modified: 2015-03-04
My client is reporting an errror

Getting error: Cannot create a connection to data source Data source 1 when they try to view reports in report manager.

Interesting though this is only happening to SOME USERS. Other users can see reports without any issues.
0
Comment
Question by:vbnetcoder
  • 18
  • 14
32 Comments
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616524
Check their ODBC. Something must be different or missing in the complaining users machines.
0
 

Author Comment

by:vbnetcoder
ID: 40616535
A bit hard to do because it is a remote clients machine. Where would i go to check this?
0
 

Author Comment

by:vbnetcoder
ID: 40616542
Actually, i believe 2 users are getting this error and for one it is working
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616552
You need to have access to their machine. Or ask them to send you a print screen of their ODBC DSN configuration.
They can check it in Control Panel / Administrative Tools / Data Sources (ODBC) / System DSN.
0
 

Author Comment

by:vbnetcoder
ID: 40616555
What should they see .... when i look at the one on my local box i don't see anything
0
 

Author Comment

by:vbnetcoder
ID: 40616564
This is mine.  I am able to connect to reports on my local machine
0
 

Author Comment

by:vbnetcoder
ID: 40616566
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616578
By the error message I had the impression that they were using Data Source Names (DSN).
So, if they aren't using an ODBC connection means that they are connecting directly with SQL Server Native Client (SNAC) maybe.
I don't have any clues by now.
0
 

Author Comment

by:vbnetcoder
ID: 40616587
Let me know if you have any ideas of what i can check ....

the screenshot was from my computer but the same is on their server where i am able to run reports
0
 

Author Comment

by:vbnetcoder
ID: 40616592
is it possible that they don't have drivers installed under drivers in the Data Sources (ODBC)?
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616602
You check if they have the SNAC installed. That's a good idea.
0
 

Author Comment

by:vbnetcoder
ID: 40616610
How do i do that? sorry i am a complete newbie
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616614
You can check in ODBC for SQL Server drivers and also in the Add/Remove Programs for SQL Server Native Client (SNAC).
0
 

Author Comment

by:vbnetcoder
ID: 40616618
I assume we are talking about what i am pointing to in the screenshot.  Where should they go to download it if they don't?
Capture.JPG
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616633
You can download it from Microsoft download center. This is the full Feature Pack and you just need to download the ENU\x64\sqlncli.msi (for 64bit) or ENU\x86\sqlncli.msi (for 32bit). It's a msi file (windows installer) so just double-click on it to get it installed.
0
 

Author Comment

by:vbnetcoder
ID: 40616642
ok i should only do this if i don't see what i highlighted in the screen shot above correct?
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616652
I can't confirm that. I don't know how is configured the report connections.
0
 

Author Comment

by:vbnetcoder
ID: 40616661
if it's not on their computer it wouldn't hurt to download it though right?
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616666
No, not at all but you should check what the user that has no issues have different on his machine from the others.
0
 

Author Comment

by:vbnetcoder
ID: 40616670
True will do that first.
0
 

Author Comment

by:vbnetcoder
ID: 40616672
To do that should i go through all the tabs in the Data Sources (ODBC)?
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616681
I'm not talking only about ODBC. You should see everything. Applications, drivers, user permissions and anything do you remember.
0
 

Author Comment

by:vbnetcoder
ID: 40616683
hmmm not sure what i all need to check then
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616694
I would start to check if the users have access to the SQL Server database.
0
 

Author Comment

by:vbnetcoder
ID: 40616710
How would i do that?
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616716
You need to connect to the database and check if the users are created there.
I would also review the report connections.
0
 

Author Comment

by:vbnetcoder
ID: 40616829
I am looking at the error logs and the message is Login Failed for user (followed by the user)
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616837
Ok, that's a more clear error message. That user doesn't have access to SQL Server. Or if he have the password is wrong.
0
 

Author Comment

by:vbnetcoder
ID: 40616861
What would  i need to do to resolve it?  I don't see the user that work in SQL server either
0
 
LVL 45

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40616865
You need to create it. I think I already told you how yesterday in one of your SSRS questions.
0
 
LVL 45

Expert Comment

by:Vitor Montalvão
ID: 40616872
Yes, I did. Check it here.
0
 

Author Closing Comment

by:vbnetcoder
ID: 40645139
ty
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now