Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 15th, 2003, 02:48 AM
Registered User
 
Join Date: Jul 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ctanchan
Default Connectivity Problem To SQL Server 2k

Hi!

I need help on SQL Server Connectivity. I have a problem that it is always coming back. I'm currently using VB 6.0 to make a Database app. it is working fine when users connect to SQL Server but most of the time with in the day if a user log off and then log back to sql server then the problem while arise that "SQL Server connection.. Access Denied or does not exist." What is the remedy of this problem? Most of the Time i will restart the SQL Server then let the users connect back to it. which is a big hustle. Could any one HELP me on this matter?

Thanx

ctanchan

 
Old July 15th, 2003, 05:34 AM
Authorized User
 
Join Date: May 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default


 check your username, password and SQL server 2000 settings.

Quote:
quote:Originally posted by ctanchan
 Hi!

I need help on SQL Server Connectivity. I have a problem that it is always coming back. I'm currently using VB 6.0 to make a Database app. it is working fine when users connect to SQL Server but most of the time with in the day if a user log off and then log back to sql server then the problem while arise that "SQL Server connection.. Access Denied or does not exist." What is the remedy of this problem? Most of the Time i will restart the SQL Server then let the users connect back to it. which is a big hustle. Could any one HELP me on this matter?

Thanx

ctanchan

Deepesh Jain
VB,VBA & .NET Specialist
Wiley Support Team
 
Old July 16th, 2003, 03:57 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I had A similar problem here with my SQL 2k Box and one of the client machines.

1. I was using AD to manage my domain but I did not have DNS and DHCP on- I was serving DHCP from the router and had no local DNS. I installed DNS and DHCP (and set it up properly).

2. Since I am a developer, I use the MSDN version and never really bother with putting the licences in properly. I found that when I went to my Server logs that I was having lots of licencing conflicts. I put my licences in properly...

Once I did both of these things the problems went away- I don't know which one fixed it.


Hal Levy
Unemployed (Thanks GWB)
NOT a Wiley/Wrox Employee
 
Old July 17th, 2003, 01:41 AM
Registered User
 
Join Date: Jul 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ctanchan
Default

Deepesh Jain,

Username, password are correct. because i code connect directly. and sometimes when i reconnect it would error.
 
Old October 7th, 2003, 11:29 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are yhou closing your SQL Server connection after you open it?

Sal





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server 2K, Access 2003 and VBA SteveBH SQL Server 2000 1 January 11th, 2007 01:23 PM
AutoIncrement in Insert on SQL Server 2K CarlosV SQL Server 2000 5 January 19th, 2006 06:01 PM
SQL Server 2k to XML using DTS Problem kwilliams SQL Server DTS 1 December 12th, 2005 12:11 PM
ADO.NET connectivity problem with SQL Server !!! virajp ADO.NET 2 December 5th, 2005 11:51 PM
SQl Server Connectivity a_saravgi VB.NET 2002/2003 Basics 2 January 6th, 2005 12:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.