Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Delphi 7 :: MS SQL Connection Error

Posted on 2007-12-07
4
Medium Priority
?
2,174 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
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 the fundamental information of how to create a table.

705 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