Solved

Crystal Reports and SQL Port Number Change

Posted on 2011-02-28
8
1,443 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
[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
  • 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 100

Accepted Solution

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

Can you test the connection?

mlmcc
0
 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 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