Solved

Delphi 7 :: MS SQL Connection Error

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

630 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