Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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 December 28th, 2005, 08:30 AM
Registered User
 
Join Date: Apr 2005
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default client server installation

Hi,
All these days I was developing applications in Access (mdb) (file-server). Now, I want to put my hands on Access Project (adp) (client-server). I am a new born at this. So any thing I ask might be silly, u know ;)

I want to develop my cleints (front-end) on Access and database on (SQL-Server 7). I have installed SQL-Server 7, on the Server-Computer (Win-2003 advanced server). My Client-Computers run on Win2KPro. Pls let me know on what to install on the client side so that my clients can connect to the SQL-Server. (Is it the complete SQL-Server that I have installed on the Sever side or anything else ???)
Thanks in advance.

Prodigy


(
 )
 
Old December 28th, 2005, 12:36 PM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

You just install SQL Server on your server, and Access on your client. Then create an Access Data Project, and give it the credentials to connect to the server.

That's all you need.

You can also just use an Access mdb file instead of an adp, and then you would just need a system DSN to get your credentials from.

HTH

mmcdonal
 
Old December 29th, 2005, 02:29 AM
Registered User
 
Join Date: Apr 2005
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the prompt reply. Will try it. But am sure to get back again as the new platform has lotta things to teach me.

Prodigy.

(
 )
 
Old December 30th, 2005, 05:34 AM
Registered User
 
Join Date: Apr 2005
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Tried as you had suggested but didn't work.
The network has 1 Domain Controller (Server) and multiple clients (logging into the domain). As I try to connect to the SQL-SERVER from the clients (logged in the domain) it gives error "Unable to connect".

However, as I try to connect to the SQL-SERVER from the clients (not logged into domain but logged in the local machine) am able to connect. Any suggestions.

Prodigy.

|)
||^|)(,
 
Old December 30th, 2005, 08:00 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

It sounds like you are using NT Credentials for logging in to the server instead of SQL server authentication.

Try creating an account for your domain users on the sql server (remember to give them the correct rights). Then the SQL server will take the domain credentials from the logged in users. You will have to create an account for each user, or for a group that you define in ADS.

An alternative would be to code the user credentials in the db provider code.

HTH

mmcdonal




Similar Threads
Thread Thread Starter Forum Replies Last Post
sql server installation problem lily82 SQL Server 2000 2 May 15th, 2007 02:08 PM
DLLs on server pulling server time or client? mussitsch Classic ASP Professional 1 March 1st, 2005 05:38 AM
Client Tools Installation error? morpheus SQL Server 2000 1 April 27th, 2004 01:29 PM
Client - Server installation shamsad Oracle 0 October 3rd, 2003 07:42 AM





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