Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Password Reminder
Register
| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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


(
 )
Reply With Quote
  #2 (permalink)  
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
Reply With Quote
  #3 (permalink)  
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.

(
 )
Reply With Quote
  #4 (permalink)  
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.

|)
||^|)(,
Reply With Quote
  #5 (permalink)  
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:50 AM.


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