473,387 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SQL Server Connection

I've developed a program in VB 6 and SQL Server using ADO connections.
I am the owner of the database objects associated with the program.
On one form, I have dropdown combos and dbgrids associated with ADO
data controls. The data controls are connected to the server with ADO
using Windows security, although I've also tried using SQL Server
security with a user ID/password for the program.

The problem is that the dropdowns and grids populate on the
development machine with no problem, but fail to do so when deployed
to other machines on the same domain. I've set up the other users on
the server, giving them all the permissions I can think of without
success.

The development machine is running Windows 2000 and the targer machine
is running Windows XP.

Any ideas would be helpful.

TIA,
Bill Reynolds
Jul 20 '05 #1
2 1204
Bill Reynolds (Tr*********@ltol.com) writes:
I've developed a program in VB 6 and SQL Server using ADO connections.
I am the owner of the database objects associated with the program.
On one form, I have dropdown combos and dbgrids associated with ADO
data controls. The data controls are connected to the server with ADO
using Windows security, although I've also tried using SQL Server
security with a user ID/password for the program.

The problem is that the dropdowns and grids populate on the
development machine with no problem, but fail to do so when deployed
to other machines on the same domain. I've set up the other users on
the server, giving them all the permissions I can think of without
success.

The development machine is running Windows 2000 and the targer machine
is running Windows XP.


I guess this is the problem with these Rapid Application Development
techniques. When they work, they work, but when the program fails, you
have no clue what is going on.

There is too little information in your message to say what the problem
might be withour resorting to wild guesses.

The first point would be to augment your program to do proper error
checking. Once you have that rolling, you can find out if there is a
permissions problem. (Of course, you should test your error-handling
with a known error.)

If you have access to the SQL Server Profiler, you can also use this
tool to see what statements that is being generated, and you can also
trace for errors.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 20 '05 #2
Thanks for your response. The problem was typical for VB--the
packaging and deployment wizard didn't include all the files I needed
for SQL Server. I sure wish there were enough Delphi jobs around that
I didn't have to regress to VB. Anyway, after installing the SQL
Server client, the connection worked fine. Now all I have to do is
get Crystal working right.

Bill Reynolds

Erland Sommarskog <es****@sommarskog.se> wrote in message news:<Xn**********************@127.0.0.1>...
Bill Reynolds (Tr*********@ltol.com) writes:
I've developed a program in VB 6 and SQL Server using ADO connections.
I am the owner of the database objects associated with the program.
On one form, I have dropdown combos and dbgrids associated with ADO
data controls. The data controls are connected to the server with ADO
using Windows security, although I've also tried using SQL Server
security with a user ID/password for the program.

The problem is that the dropdowns and grids populate on the
development machine with no problem, but fail to do so when deployed
to other machines on the same domain. I've set up the other users on
the server, giving them all the permissions I can think of without
success.

The development machine is running Windows 2000 and the targer machine
is running Windows XP.


I guess this is the problem with these Rapid Application Development
techniques. When they work, they work, but when the program fails, you
have no clue what is going on.

There is too little information in your message to say what the problem
might be withour resorting to wild guesses.

The first point would be to augment your program to do proper error
checking. Once you have that rolling, you can find out if there is a
permissions problem. (Of course, you should test your error-handling
with a known error.)

If you have access to the SQL Server Profiler, you can also use this
tool to see what statements that is being generated, and you can also
trace for errors.

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Fortepianissimo | last post by:
Here is the situation: I want my server started up upon connection. When the first connection comes in, the server is not running. The client realizes the fact, and then starts up the server and...
2
by: Dicky Cheng | last post by:
Hi, I am using .net remoting technology. I set up a .net remoting client and server in IIS. When the client calls the server, the server will run a long duration method (30-60seconds). I have a...
5
by: Fred Zuckerman | last post by:
Hello All, After reading in this group about the preference for connecting to a SQL Server using a connection string instead of a DSN file, I have done just that. BUT, I cannot update my data....
12
by: RKay | last post by:
I have a Win2k server running SQL Server 2000. On that box I built a working web service that pulls data from the database. One of the services available simply accepts an ado.net connection string...
0
by: Suresh | last post by:
Hi Guys I have Db2 server installed on remote server. i am connecting to that remote server by using VPN. I want to connect that remote DB2 server instance using my local machine DB2...
14
by: Marcus | last post by:
I have a function that simply returns TRUE if it can connect to a particular Sql Server 2005 express, or FALSE if it cannot. I am getting some strange error codes returned when the computer that...
25
by: _DD | last post by:
I'd like to include a 'Test Connection' button in an app, for testing validity of a SQL connection string. I'd prefer to keep the timeout low. What is the conventional way of doing this?
17
by: Anil Gupte | last post by:
I am using the following to try to connect to the database, but it does not seem to be working. Dim sConnString sConnString = "Provider=SQLNCLI.1;Integrated Security=SSPI;Persist Security...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
5
by: Cirene | last post by:
I just deployed my new ASP.NET (3.5 FW) site to the hosting company I'm using, webhost4life. NOTE: I HAVE deployed other SQL Server sites to the same account with no issues. Now I'm getting...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.