Solved

Delphi 7 :: MS SQL Connection Error

Posted on 2007-12-07
4
2,165 Views
Last Modified: 2013-11-23
Hi All,

I have 2 app who connect to the same SQL database.
Both applications is connecting 100% on my local environment.
But when published to our testing server one of the apps gives the following error at startup:

[DBNETLIB][CONNECTIONOPEN (Connect()).]SQL Server does not exist or access denied.

Like I said, one app is connecting  without any problem but the other one NOT.
I am using same connectionstring for both and also same windows login.

Why this?

Thanks!
0
Comment
Question by:Marius0188
[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
  • 2
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
ziolko earned 500 total points
ID: 20426502
check firewall settings, is this SQLSever or SQLExpress?

ziolko.
0
 

Author Comment

by:Marius0188
ID: 20426558
Server.

But I got the problem, or hope at least it looks like it and makes sense.

In the design time the ADOConnection was connected.
When disconnecting the TADOConnection it works fine.
0
 

Author Comment

by:Marius0188
ID: 20426559
I will give you the poins for replying first.
:)
0
 
LVL 21

Expert Comment

by:ziolko
ID: 20426632
ok thanks:)
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

738 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