Sign Up |  Live StatsLive Stats    Articles 35,345| Comments 159,790| Members 17,820, Newest waheguruhelpme| Online 198
Home Contact
 (Forgotten?): 
    Sikhism

   
                                                                     Your Banner Here!    

No Support for Microsoft.Jet?

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 400 USD, Received: 35 USD (9%)
Please Donate...
Related Topics...
Thread Thread Starter Forum Replies Last Post
Support from God simpy Gurmat Vichaar 3 14-Jun-2007 21:46 PM
convert from Microsoft Picture Manager to Microsoft word HELP! Information Technology 3 28-Jul-2006 08:14 AM
microsoft scott Information Technology 1 28-Jul-2006 08:04 AM
[Microsoft][ODBC Microsoft Access Driver] Syntax Error in ORDER BY clause Marc Everlove Information Technology 15 14-Nov-2005 15:28 PM
microsoft marc le pennec Information Technology 1 05-Nov-2005 12:48 PM


Tags
support, microsoftjet
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:31 AM
Mike Zehner's Avatar Mike Zehner
Guest
 
Posts: n/a
   
   
No Support for Microsoft.Jet?

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Hi All -

I have written several vbs scripts over the years to perform active
directory functions. In these scripts I often write to or read from an
Access database. Normally I just copy the script and db onto a server and
run it with no problems.

Lately we have deployed a few 64 Windows 2003 servers. To my surprise it
appears that the 64 bit version of Windows no longer supports the
Microsoft.Jet provider. I have found a copy of articles that confirm that.

To access an Access DB I would use the following commands:

' Create Connection object to access DB
Set objConnection = CreateObject("ADODB.Connection")

' Create DB Recordset object
Set objRecordset = CreateObject("ADODB.Recordset")

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/12696-no-support-for-microsoft-jet.html
' Open DB Connection
objConnection.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12696
Source=ChangePW.mdb;Jet OLEDB:System Database=System.mdw;"


Question:

Now that MS won't support this method on 64 bit servers does anyone out here
have an alternate way of using vbs to access an Access DB?

TIA

Mike





 
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:31 AM
Albert D.Kallal's Avatar Albert D.Kallal
Guest
 
Posts: n/a
   
   
Re: No Support for Microsoft.Jet?

Are you sure it is a jet problem? Perhaps the ADO provider is broken, or not
installed correctly?

It is possible that the JET don't work on windows 64, but I would also check
if the ADO provider is at stake.

Can you try a script without using ADO?

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12696
Set dbeng = CreateObject("DAO.DBEngine.36")
strMdbFile = "C:\Documents and Settings\Albert\My
Documents\Access\ScriptExample\MultiSelect.mdb"
Set db = dbeng.OpenDatabase(strMdbFile)
strQuery = "select * from contacts"
Set rs = db.OpenRecordset(strQuery)
rs.movefirst
If rs.EOF = true Then
quit
End If

strTextOut = "C:\t5.txt"
set fs = Wscript.CreateObject("Scripting.FileSystemObject")
Set ts = fs.OpenTextFile(strTextOut, 2, True)
' 2 = write, 1 = read

do while rs.EOF = false
strOutText = rs("LastName")
ts.Writeline strOutText
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12696
rs.movenext
loop
ts.close
rs.close

Try by-passing ADO...and see if DAO works.....

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
http://www.members.shaw.ca/AlbertKallal


Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:31 AM
Mike Zehner's Avatar Mike Zehner
Guest
 
Posts: n/a
   
   
Re: No Support for Microsoft.Jet?

Albert -

Thanks for your help. I tried DAO but I get an error saying that "ActiveX
component can't create object DAO.DBEngine.36".

MS has published a paper "Data Technologies Road Map" which says that MDAC
2.6 and later will not contain Microsoft Jet or Microsoft Jet OLE DB.

The server in which this fails is Windows Server 2003 R2 x64.

Mike

"Albert D.Kallal" wrote in message
news:eeCitoRoGHA.4784@TK2MSFTNGP04.phx.gbl...
> Are you sure it is a jet problem? Perhaps the ADO provider is broken, or
> not installed correctly?
>
> It is possible that the JET don't work on windows 64, but I would also
> check if the ADO provider is at stake.
>
> Can you try a script without using ADO?
>
> Set dbeng = CreateObject("DAO.DBEngine.36")
> strMdbFile = "C:\Documents and Settings\Albert\My
> Documents\Access\ScriptExample\MultiSelect.mdb"
> Set db = dbeng.OpenDatabase(strMdbFile)
> strQuery = "select * from contacts"
> Set rs = db.OpenRecordset(strQuery)
> rs.movefirst
> If rs.EOF = true Then
> quit
> End If
>
> strTextOut = "C:\t5.txt"
> set fs = Wscript.CreateObject("Scripting.FileSystemObject")
> Set ts = fs.OpenTextFile(strTextOut, 2, True)
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12696
> ' 2 = write, 1 = read
>
> do while rs.EOF = false
> strOutText = rs("LastName")
> ts.Writeline strOutText
> rs.movenext
> loop
> ts.close
> rs.close
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12696
>
> Try by-passing ADO...and see if DAO works.....
>
> --
> Albert D. Kallal (Access MVP)
> Edmonton, Alberta Canada
> pleaseNOOSpamKallal@msn.com
> http://www.members.shaw.ca/AlbertKallal
>



Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:31 AM
Albert D.Kallal's Avatar Albert D.Kallal
Guest
 
Posts: n/a
   
   
Re: No Support for Microsoft.Jet?

Hum, see, EVERY copy of windows xp ships with JET...so, it is ALWAYS
installed....

The above was much the reason why no one cried when jet was removed from
MDAC, since EVERYONE already has it!!!

I really like the fact that windows ships with jet/dao built in.

Your case seems to be that of using the 64 bit version of windows. I suppose
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12696
a possible solution is to build a small application in VB6 that includes
jet, or perhaps even consider building a ms-access runtime. Both of these
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12696
approaches would ensure dao/jet is a installed. As for ADO...I just not
sure....


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
http://www.members.shaw.ca/AlbertKallal


Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:31 AM
Brendan Reynolds's Avatar Brendan Reynolds
Guest
 
Posts: n/a
   
   
Re: No Support for Microsoft.Jet?

  Donate Today!  
As far as I can tell, Mike, it does seem to be the case that JET and DAO are
no longer supported on 64-bit versions of Windows. I don't know whether the
new Access Database Engine used by Access 2007 will or will not work on
64-bit versions of Windows. If it does, that might be one possible solution
for you. (I believe you would have to install Office or Access on the
server, my understanding is that the database engine can not be distributed
separately.) If not, then it seems you may have to use another database
engine. If you don't have access to a full SQL Server instance, there's
always SQL Server Express.

--
Brendan Reynolds
Access MVP

"Mike Zehner" wrote in message
news:%23ELQgWRoGHA.4292@TK2MSFTNGP05.phx.gbl...
> Hi All -
>
> I have written several vbs scripts over the years to perform active
> directory functions. In these scripts I often write to or read from an
> Access database. Normally I just copy the script and db onto a server and
> run it with no problems.
>
> Lately we have deployed a few 64 Windows 2003 servers. To my surprise it
> appears that the 64 bit version of Windows no longer supports the
> Microsoft.Jet provider. I have found a copy of articles that confirm that.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12696
>
> To access an Access DB I would use the following commands:
>
> ' Create Connection object to access DB
> Set objConnection = CreateObject("ADODB.Connection")
>
> ' Create DB Recordset object
> Set objRecordset = CreateObject("ADODB.Recordset")
>
> ' Open DB Connection
> objConnection.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
> Source=ChangePW.mdb;Jet OLEDB:System Database=System.mdw;"
>
>
> Question:
>
> Now that MS won't support this method on 64 bit servers does anyone out
> here have an alternate way of using vbs to access an Access DB?
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12696
>
> TIA
>
> Mike
>



Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

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

» Gurbani Jukebox
Listen to Gurbani while surfing SPN!
» Active Discussions
sikhism Who is "Mohan"?
Today 08:46 AM
22 Replies, 335 Views
sikhism How important is Matha...
Today 08:12 AM
59 Replies, 1,038 Views
sikhism need urgent advice.......
Today 06:46 AM
6 Replies, 81 Views
sikhism ਨਾਮਾ
Today 06:37 AM
2 Replies, 53 Views
sikhism Sikh Diamonds Video...
Today 04:23 AM
6 Replies, 116 Views
sikhism Are Creator and Creation...
Today 01:30 AM
44 Replies, 2,837 Views
sikhism Herman Hesse,...
Today 00:54 AM
13 Replies, 229 Views
sikhism On a Scale of Most...
Yesterday 21:42 PM
30 Replies, 1,277 Views
sikhism I became victim by...
Yesterday 19:50 PM
0 Replies, 44 Views
sikhism Sikh Books downloads
Yesterday 15:39 PM
2 Replies, 66 Views
sikhism Salok Sheikh Farid ji...
Yesterday 09:35 AM
0 Replies, 47 Views
sikhism In Punjab, three farmers...
Yesterday 05:36 AM
0 Replies, 49 Views
sikhism Supernatural Sikhs, what...
Yesterday 03:45 AM
19 Replies, 414 Views
sikhism Sukhmani Sahib Astpadi...
26-May-2012 22:57 PM
0 Replies, 51 Views
Do You Think You Are...
26-May-2012 09:59 AM
94 Replies, 8,258 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.2

All times are GMT +6.5. The time now is 09:09 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.38700 seconds with 30 queries