Solved

Crystal Reports and SQL Port Number Change

Posted on 2011-02-28
8
1,431 Views
Last Modified: 2012-05-11
I recently had a database restored from backups and the technician who did the job changed the port number for my database to a non-standard number.  Now Crystal Reports cannot access the SQL database unless I am running it on the machine that physically hosts the database. When I try to access the database from other machine son the domain I get cannot connect errors. I know the new port, but I can figure out where in Crsytal reports to enter it.  Can someone just point me in the right direction?  If you give me a direction I will go hunting for info. I realize this question probably generates more questions than it does answers so i dont mind being pointed toward a concept.
0
Comment
Question by:hitsend
  • 5
  • 2
8 Comments
 
LVL 26

Expert Comment

by:Kurt Reinhardt
ID: 35002383
How are you connecting to the database?  Native Driver? ODBC?

~Kurt
0
 

Author Comment

by:hitsend
ID: 35002857
SQL driver I think I would call it.

In the data explorer I follow > More Data Sources > OLE DB > Make New Connection > MSoft OLE DB Provider for SQL Server > Select Next > SQL server is listed, selected > Specific User Name and Pass is entered > Login Fails
0
 

Author Comment

by:hitsend
ID: 35002875
Using Windows NT Authintication works but only on the physical machine that hosts the database.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 125 total points
ID: 35003086
That is just OLE.

Can you test the connection?

mlmcc
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:hitsend
ID: 35013060
I have that option near the bottom of the dialogue but it fails when I test.

The error is "Test connection failed because of an error in initializing provider. Cannot open user default database. Login failed.
0
 

Author Comment

by:hitsend
ID: 35013083
Ahhhh, when I refreshed the list of server names, and tried to connect again it came to life. The server list didnt change any on the surface but maybe the ports behind the scene updated.  Spooky but Im glad its working.
0
 

Author Closing Comment

by:hitsend
ID: 35013092
Great help!!!! Thanks alot.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35013322
I had never seen a need or way to enter/change the port so I didn't know what you were looking at.

mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

20 Experts available now in Live!

Get 1:1 Help Now