PC Review


Reply
Thread Tools Rate Thread

dsn issue with windows 7

 
 
John
Guest
Posts: n/a
 
      24th Jun 2010
Have an Access 2007 mdb (retained from A2003) that connects to SQL
Server 2005 using ODBC/DSN connection. Here is the connection string
that has been used for several years on xppro machines without
problem;

conn.ConnectionString =
"ODBC;DATABASE=mtxmanin;DSN=mtxreal2005;UID=id;PWD=pswrd"

There are 2 new machines that now have Windows 7 on them. During a
process that has been used for many years with very little change has
now begun to give intermittent errors. Even to the point of the
process starting and then stopping and giving the error below. The
proces is transferring a part from point A to point B. The error is;

[Microsoft][ODBC Driver Manager] Data source name not found and no
default driver specified.

The non-W7 machines (xppro) do not have any problems with the
process. The code will construct the DSN if it detects that the
proper DSN is not present. Which is what has occurred the years.
But, what I have noticed is the DSN does not show in the ODBC Data
Source Admin. Even adding a system DSN in W7 machine with the same
name as the one in xppro does not work.

The odbc is the 32 bit.

Going dsn-less would be a task that currently is not an option.

Does anyone have any thoughts on this or have a similar issue or come
across this error?

Thanks...John

 
Reply With Quote
 
 
 
 
David W. Fenton
Guest
Posts: n/a
 
      26th Jun 2010
John <(E-Mail Removed)> wrote in
news:f30c0cc7-175c-4708-9c4e-(E-Mail Removed)
:

> Going dsn-less would be a task that currently is not an option.


Really? Why? Have you seen Doug Steele's code that converts a DSN
connect string to a DSN-less one?

http://www.accessmvp.com/djsteele/DSNLessLinks.html

Only your front ends would need to be altered, and that only before
distribution into production use (i.e., no changes after that).

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2007 issue on Windows Vista - Exchange connection issue NA Microsoft Outlook Installation 5 3rd Sep 2008 07:28 AM
Windows Vista mouse issue.. Possibly ease of use type issue? Malakie Windows Vista Hardware 0 10th Jul 2008 10:30 PM
Is this a windows issue or a laptop issue or something else? monty1945@lycos.com Windows XP General 5 9th Dec 2007 12:50 PM
Issue froim Meeting Space, Windows Contacts and Windows Mail =?Utf-8?B?SCBId2E=?= Windows Vista General Discussion 0 23rd Mar 2007 07:51 PM
Equally weighted MX records issue - OK on Windows 2003 but not Windows 2000 Phil Wright Microsoft Windows 2000 DNS 7 23rd Mar 2004 04:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:31 PM.