Solved

Delphi 7 :: MS SQL Connection Error

Posted on 2007-12-07
4
2,145 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
  • 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

760 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