Hi,

I'm having this error in a VB.NET-application at the moment that I attempt
to read data from an SQL Server:


The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data
Access Components(MDAC) version 2.6 or later. at
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction)
at
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
tionString options, Boolean& isInTransaction)
at System.Data.SqlClient.SqlConnection.Open()
Failed to Load Call Data Call Data Failure


However the MDAC 2.7 is installed! And when I look into the registry it is
indicated as installed too:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
"2.71.9040.2"

The .NET Framework is installed (1.1), and it is on a Windows NT (Sp 6a) pc.

Does anybody know about thisp roblem? And some solution? Could it be because
of some restictions (although I do have full Admin rights on the pc).

I'ts really urgent and bothering me (I have to do a demo in 20 minutes,
hehe).

Thanks a lot in advance, any help, hints etc will be really appreciated!

Pieter

Re: "MDAC required" but it's installed... by Ken

Ken
Tue Jun 01 03:34:24 CDT 2004

Hi,

Maybe this will help. You might have to install the latest sql
server service pack.
http://support.microsoft.com/default.aspx?scid=kb;en-us;315059&Product=sql

Ken
--------------------
"DraguVaso" <pietercoucke@hotmail.com> wrote in message
news:%23R5BWv6REHA.3476@tk2msftngp13.phx.gbl...
> Hi,
>
> I'm having this error in a VB.NET-application at the moment that I attempt
> to read data from an SQL Server:
>
>
> The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data
> Access Components(MDAC) version 2.6 or later. at
> System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
> isInTransaction)
> at
> System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> tionString options, Boolean& isInTransaction)
> at System.Data.SqlClient.SqlConnection.Open()
> Failed to Load Call Data Call Data Failure
>
>
> However the MDAC 2.7 is installed! And when I look into the registry it is
> indicated as installed too:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
> "2.71.9040.2"
>
> The .NET Framework is installed (1.1), and it is on a Windows NT (Sp 6a)
> pc.
>
> Does anybody know about thisp roblem? And some solution? Could it be
> because
> of some restictions (although I do have full Admin rights on the pc).
>
> I'ts really urgent and bothering me (I have to do a demo in 20 minutes,
> hehe).
>
> Thanks a lot in advance, any help, hints etc will be really appreciated!
>
> Pieter
>
>



Re: "MDAC required" but it's installed... by Arne

Arne
Tue Jun 01 03:47:46 CDT 2004

DraguVaso wrote:

> I'm having this error in a VB.NET-application at the moment that I attempt
> to read data from an SQL Server:
> >
> The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data
> Access Components(MDAC) version 2.6 or later. at
> System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction)
> at
> System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> tionString options, Boolean& isInTransaction)
> at System.Data.SqlClient.SqlConnection.Open()
> Failed to Load Call Data Call Data Failure
>
>
> However the MDAC 2.7 is installed! And when I look into the registry it is
> indicated as installed too:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
> "2.71.9040.2"
>
> The .NET Framework is installed (1.1), and it is on a Windows NT (Sp 6a) pc.
>
> Does anybody know about thisp roblem? And some solution? Could it be because
> of some restictions (although I do have full Admin rights on the pc).
>
> I'ts really urgent and bothering me (I have to do a demo in 20 minutes,
> hehe).
>
> Thanks a lot in advance, any help, hints etc will be really appreciated!

Hi DraguVaso,

seems you're not alone:

http://groups.google.de/groups?selm=ONQONIiiDHA.1952%40TK2MSFTNGP10.phx.gbl

http://groups.google.de/groups?selm=1575b01c1b9a7%24f5afca20%243def2ecf%40TKMSFTNGXA14

The MDAC Utility: Component Checker might help

http://www.microsoft.com/downloads/details.aspx?familyid=8f0a8df6-4a21-4b43-bf53-14332ef092c9&displaylang=en

Cheers

Arne Janning


Re: "MDAC required" but it's installed... by Miha

Miha
Tue Jun 01 03:12:02 CDT 2004

Hi,

Does it help if you reinstall mdac?

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"DraguVaso" <pietercoucke@hotmail.com> wrote in message
news:%23R5BWv6REHA.3476@tk2msftngp13.phx.gbl...
> Hi,
>
> I'm having this error in a VB.NET-application at the moment that I attempt
> to read data from an SQL Server:
>
>
> The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data
> Access Components(MDAC) version 2.6 or later. at
> System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
> at
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> tionString options, Boolean& isInTransaction)
> at System.Data.SqlClient.SqlConnection.Open()
> Failed to Load Call Data Call Data Failure
>
>
> However the MDAC 2.7 is installed! And when I look into the registry it is
> indicated as installed too:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
> "2.71.9040.2"
>
> The .NET Framework is installed (1.1), and it is on a Windows NT (Sp 6a)
pc.
>
> Does anybody know about thisp roblem? And some solution? Could it be
because
> of some restictions (although I do have full Admin rights on the pc).
>
> I'ts really urgent and bothering me (I have to do a demo in 20 minutes,
> hehe).
>
> Thanks a lot in advance, any help, hints etc will be really appreciated!
>
> Pieter
>
>



Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Tue Jun 01 05:25:16 CDT 2004

I reinstalled it but it doesn't work...

"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:%23goAAB8REHA.3596@tk2msftngp13.phx.gbl...
> Hi,
>
> Does it help if you reinstall mdac?
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & development
> miha at rthand com
> www.rthand.com
>
> "DraguVaso" <pietercoucke@hotmail.com> wrote in message
> news:%23R5BWv6REHA.3476@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > I'm having this error in a VB.NET-application at the moment that I
attempt
> > to read data from an SQL Server:
> >
> >
> > The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft
Data
> > Access Components(MDAC) version 2.6 or later. at
> > System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
> isInTransaction)
> > at
> >
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> > tionString options, Boolean& isInTransaction)
> > at System.Data.SqlClient.SqlConnection.Open()
> > Failed to Load Call Data Call Data Failure
> >
> >
> > However the MDAC 2.7 is installed! And when I look into the registry it
is
> > indicated as installed too:
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
> > "2.71.9040.2"
> >
> > The .NET Framework is installed (1.1), and it is on a Windows NT (Sp 6a)
> pc.
> >
> > Does anybody know about thisp roblem? And some solution? Could it be
> because
> > of some restictions (although I do have full Admin rights on the pc).
> >
> > I'ts really urgent and bothering me (I have to do a demo in 20 minutes,
> > hehe).
> >
> > Thanks a lot in advance, any help, hints etc will be really appreciated!
> >
> > Pieter
> >
> >
>
>



Re: "MDAC required" but it's installed... by Cor

Cor
Tue Jun 01 05:53:56 CDT 2004

Hi Pieter,

And the message from Ken, I was not looking for you because I thought that
was it?

Cor



Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Tue Jun 01 06:06:43 CDT 2004

It doesn't have much to do with that:
- VS.NET is not installed, so reisntalling won't do much :-)
- I use the framwork 1.1 an VS.NET 2003, not 1.0 and 2002 (for which the
article is made)

"Ken Tucker [MVP]" <vb2ae@bellsouth.net> wrote in message
news:u69kAN7REHA.3528@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> Maybe this will help. You might have to install the latest sql
> server service pack.
> http://support.microsoft.com/default.aspx?scid=kb;en-us;315059&Product=sql
>
> Ken
> --------------------
> "DraguVaso" <pietercoucke@hotmail.com> wrote in message
> news:%23R5BWv6REHA.3476@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > I'm having this error in a VB.NET-application at the moment that I
attempt
> > to read data from an SQL Server:
> >
> >
> > The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft
Data
> > Access Components(MDAC) version 2.6 or later. at
> > System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
> > isInTransaction)
> > at
> >
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> > tionString options, Boolean& isInTransaction)
> > at System.Data.SqlClient.SqlConnection.Open()
> > Failed to Load Call Data Call Data Failure
> >
> >
> > However the MDAC 2.7 is installed! And when I look into the registry it
is
> > indicated as installed too:
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
> > "2.71.9040.2"
> >
> > The .NET Framework is installed (1.1), and it is on a Windows NT (Sp 6a)
> > pc.
> >
> > Does anybody know about thisp roblem? And some solution? Could it be
> > because
> > of some restictions (although I do have full Admin rights on the pc).
> >
> > I'ts really urgent and bothering me (I have to do a demo in 20 minutes,
> > hehe).
> >
> > Thanks a lot in advance, any help, hints etc will be really appreciated!
> >
> > Pieter
> >
> >
>
>



Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Tue Jun 01 06:09:05 CDT 2004

See thread: it doesn't have much to do with that. I'm gonna try to look with
the Component Checker, and do some trial and error :-)

Maybe MDAC 2.8 will help. And would Jet have something to do with it?


"Cor Ligthert" <notfirstname@planet.nl> wrote in message
news:%236Q0Ib8REHA.3628@TK2MSFTNGP12.phx.gbl...
> Hi Pieter,
>
> And the message from Ken, I was not looking for you because I thought that
> was it?
>
> Cor
>
>



Re: "MDAC required" but it's installed... by Cor


Re: "MDAC required" but it's installed... by Armin

Armin
Tue Jun 01 06:03:41 CDT 2004

"DraguVaso" <pietercoucke@hotmail.com> schrieb
>
> I'm having this error in a VB.NET-application at the moment that I
> attempt to read data from an SQL Server:

Please post only to the appropriate groups. I don't see that the question is
specific to the VB.net language.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html


Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Tue Jun 01 07:13:48 CDT 2004

Ok: some 'funny' results:

I installed JET 4.0 SP7: It worked once (ONCE!!), and afterwarths I got the
same error... :-(

Than I installed JET 4.0 SP8 and MDAC 2.8: It still doesn't work, but the
Error-message is different now:
Object reference not set to an instance of an object. at
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction)
at
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
tionString options, Boolean& isInTransaction)
at System.Data.SqlClient.SqlConnection.Open()


I'm still not able to find out what causes the problem and how to find a
resolution :-( Any help would really be appreciated!! The weird thing is
that it only happens on one pc (NT SP6a), on the others I tested it (a 2000
and a NT SP6A) it works fine...

Thanks in advance,

Pieter



"DraguVaso" <pietercoucke@hotmail.com> wrote in message
news:%23R5BWv6REHA.3476@tk2msftngp13.phx.gbl...
> Hi,
>
> I'm having this error in a VB.NET-application at the moment that I attempt
> to read data from an SQL Server:
>
>
> The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data
> Access Components(MDAC) version 2.6 or later. at
> System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
> at
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> tionString options, Boolean& isInTransaction)
> at System.Data.SqlClient.SqlConnection.Open()
> Failed to Load Call Data Call Data Failure
>
>
> However the MDAC 2.7 is installed! And when I look into the registry it is
> indicated as installed too:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
> "2.71.9040.2"
>
> The .NET Framework is installed (1.1), and it is on a Windows NT (Sp 6a)
pc.
>
> Does anybody know about thisp roblem? And some solution? Could it be
because
> of some restictions (although I do have full Admin rights on the pc).
>
> I'ts really urgent and bothering me (I have to do a demo in 20 minutes,
> hehe).
>
> Thanks a lot in advance, any help, hints etc will be really appreciated!
>
> Pieter
>
>



Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Tue Jun 01 07:15:09 CDT 2004

I checked this alreaddy in the beginning, but everything looks fine
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
"2.71.9040.2")


"Cor Ligthert" <notfirstname@planet.nl> wrote in message
news:OhgN%23m8REHA.904@TK2MSFTNGP12.phx.gbl...
> Hi Pieter,
>
> Does this page maybe help,
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxtskAddingLaunchConditionForMicrosoftDataAccessComponents.asp
>
> Cor
>
>



Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Tue Jun 01 08:27:18 CDT 2004

Ok it's absolutely not my lucky day :-(
On the other NT I get the same error now...

Couldn't it be because of an error on the SQL Server? Some security-stuff? I
checked with the administrator and he didn't change anything...

"DraguVaso" <pietercoucke@hotmail.com> wrote in message
news:Of78XH9REHA.1396@TK2MSFTNGP12.phx.gbl...
> Ok: some 'funny' results:
>
> I installed JET 4.0 SP7: It worked once (ONCE!!), and afterwarths I got
the
> same error... :-(
>
> Than I installed JET 4.0 SP8 and MDAC 2.8: It still doesn't work, but the
> Error-message is different now:
> Object reference not set to an instance of an object. at
> System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
> at
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> tionString options, Boolean& isInTransaction)
> at System.Data.SqlClient.SqlConnection.Open()
>
>
> I'm still not able to find out what causes the problem and how to find a
> resolution :-( Any help would really be appreciated!! The weird thing is
> that it only happens on one pc (NT SP6a), on the others I tested it (a
2000
> and a NT SP6A) it works fine...
>
> Thanks in advance,
>
> Pieter
>
>
>
> "DraguVaso" <pietercoucke@hotmail.com> wrote in message
> news:%23R5BWv6REHA.3476@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > I'm having this error in a VB.NET-application at the moment that I
attempt
> > to read data from an SQL Server:
> >
> >
> > The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft
Data
> > Access Components(MDAC) version 2.6 or later. at
> > System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
> isInTransaction)
> > at
> >
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> > tionString options, Boolean& isInTransaction)
> > at System.Data.SqlClient.SqlConnection.Open()
> > Failed to Load Call Data Call Data Failure
> >
> >
> > However the MDAC 2.7 is installed! And when I look into the registry it
is
> > indicated as installed too:
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
> > "2.71.9040.2"
> >
> > The .NET Framework is installed (1.1), and it is on a Windows NT (Sp 6a)
> pc.
> >
> > Does anybody know about thisp roblem? And some solution? Could it be
> because
> > of some restictions (although I do have full Admin rights on the pc).
> >
> > I'ts really urgent and bothering me (I have to do a demo in 20 minutes,
> > hehe).
> >
> > Thanks a lot in advance, any help, hints etc will be really appreciated!
> >
> > Pieter
> >
> >
>
>



Re: "MDAC required" but it's installed... by Boris

Boris
Tue Jun 01 09:04:37 CDT 2004

DraguVaso wrote:
> Maybe MDAC 2.8 will help. And would Jet have something to do with it?

Wild guess: Do you use Windows Update? A recent critical update included a
JET update, and since then my Access 2003 seems to be a little bit confused.
See
http://groups.google.com/groups?lr=&ie=UTF-8&threadm=Ofl4%24TCNEHA.3572%40tk2msftngp13.phx.gbl&rnum=1&prev=/groups%3Fhl%3Dde%26lr%3D%26ie%3DUTF-8%26selm%3DOfl4%2524TCNEHA.3572%2540tk2msftngp13.phx.gbl

Boris



Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Tue Jun 01 09:29:25 CDT 2004

Ok, I modified my source-code a little bit so I can se where it goes wrong:

This is my function:

Private Sub ShowClientInfo(ByVal strIndice As String)
If strIndice.Length <= 0 Then
txtInfo.Text = "No Identification"
Exit Sub
End If

Dim strSql As String
strSql = "SELECT TOP 1 (tdprNFoy + tdprNCCD) AS DossierNr,
(tcliLSigl1 + ' ' + tcliLNomPren1) AS Cl1, " & _
"(tcliLSigl2 + ' ' + tcliLNomPren2) AS Cl2, tdcaNCartphy, Auto,
Choice " & _
"FROM tblCalls LEFT JOIN tblDossiers ON tblCalls.DossierID =
tblDossiers.DossierID " & _
"WHERE (Indice = '" & strIndice & "') " & _
"ORDER BY CallID DESC"

MessageBox.Show("a1")
Dim dtrSql As SqlDataReader
Dim conSql As SqlConnection
conSql = New SqlConnection(strConn)
Dim cmdSql As SqlCommand
MessageBox.Show("a2" & conSql.ConnectionString)
Try
MessageBox.Show("a3")
conSql.Open()
MessageBox.Show("a4")
cmdSql = New SqlCommand(strSql, conSql)
MessageBox.Show("b")
dtrSql = cmdSql.ExecuteReader(CommandBehavior.SingleRow)
MessageBox.Show("c")
dtrSql.Read()
MessageBox.Show("d")
If dtrSql.HasRows Then
MessageBox.Show("e")
strDossierNr = dtrSql.Item("DossierNr").ToString
MessageBox.Show("f")
txtInfo.Text = "DOSSIER: " & strDossierNr & cstDelimit & _
"CARD: " & dtrSql.Item("tdcaNCartphy").ToString & cstDelimit
& _
dtrSql.Item("Choice").ToString & cstDelimit & vbCrLf & _
dtrSql.Item("Cl1").ToString & ", " &
dtrSql.Item("Cl2").ToString
MessageBox.Show("g")
If chkAuto.Checked Then
'Auto-handeling doen
Select Case dtrSql.Item("Auto").ToString
Case "SAVE"
Dim clsVBS As New clsVBScripts
clsVBS.SAVE(strDossierNr)
clsVBS = Nothing

Case "CONT"
Dim clsVBS As New clsVBScripts
clsVBS.CONT(strDossierNr)
clsVBS = Nothing

End Select
End If
Else
MessageBox.Show("Failed to Load Call Data", "Call Data
Failure", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
End If

Catch ex As Exception
ErrorMessage(Me, ex, "Failed to Load Call Data", "Call Data
Failure")
Finally
MessageBox.Show("k")
dtrSql.Close()
MessageBox.Show("k1")
cmdSql.Dispose()
MessageBox.Show("k2")
If conSql.State = ConnectionState.Open Then
MessageBox.Show("l")
conSql.Close()
End If
MessageBox.Show("m")
dtrSql = Nothing
cmdSql = Nothing
conSql = Nothing
MessageBox.Show("n")
End Try

End Sub


I get this messageboxes: a1, a2, a3, than the error, k
So the error seems to happen on the "conSql.Open()"-statement.
Really weird is also that it only shows the "k" of the finally, and not the
k1, k2, l, m and n... :-(

And much weirder: I managed to get it working one time again, but the next
time it didn't work anymore :-( So it works kind of randomly: 2 times it
worked, +- 15 times it didn't work... :-( Couldn't it be because something
on the SQL Server?

please help :-(

Pieter


"DraguVaso" <pietercoucke@hotmail.com> wrote in message
news:Of78XH9REHA.1396@TK2MSFTNGP12.phx.gbl...
> Ok: some 'funny' results:
>
> I installed JET 4.0 SP7: It worked once (ONCE!!), and afterwarths I got
the
> same error... :-(
>
> Than I installed JET 4.0 SP8 and MDAC 2.8: It still doesn't work, but the
> Error-message is different now:
> Object reference not set to an instance of an object. at
> System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
> at
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> tionString options, Boolean& isInTransaction)
> at System.Data.SqlClient.SqlConnection.Open()
>
>
> I'm still not able to find out what causes the problem and how to find a
> resolution :-( Any help would really be appreciated!! The weird thing is
> that it only happens on one pc (NT SP6a), on the others I tested it (a
2000
> and a NT SP6A) it works fine...
>
> Thanks in advance,
>
> Pieter
>
>
>
> "DraguVaso" <pietercoucke@hotmail.com> wrote in message
> news:%23R5BWv6REHA.3476@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > I'm having this error in a VB.NET-application at the moment that I
attempt
> > to read data from an SQL Server:
> >
> >
> > The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft
Data
> > Access Components(MDAC) version 2.6 or later. at
> > System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
> isInTransaction)
> > at
> >
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> > tionString options, Boolean& isInTransaction)
> > at System.Data.SqlClient.SqlConnection.Open()
> > Failed to Load Call Data Call Data Failure
> >
> >
> > However the MDAC 2.7 is installed! And when I look into the registry it
is
> > indicated as installed too:
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
> > "2.71.9040.2"
> >
> > The .NET Framework is installed (1.1), and it is on a Windows NT (Sp 6a)
> pc.
> >
> > Does anybody know about thisp roblem? And some solution? Could it be
> because
> > of some restictions (although I do have full Admin rights on the pc).
> >
> > I'ts really urgent and bothering me (I have to do a demo in 20 minutes,
> > hehe).
> >
> > Thanks a lot in advance, any help, hints etc will be really appreciated!
> >
> > Pieter
> >
> >
>
>



Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Tue Jun 01 09:30:58 CDT 2004

No I dodn't use Windows Update on these pc's. In fact there are all NT, and
there isn't any Windows Update on NT (or am I wrong?).
As a matter of fact: I use Windows Update on my pc, and here it works? Maybe
I should use Windows Update? hehe :-)

"Boris" <boris@gtemail.net> wrote in message
news:OUSffF%23REHA.2604@TK2MSFTNGP10.phx.gbl...
> DraguVaso wrote:
> > Maybe MDAC 2.8 will help. And would Jet have something to do with it?
>
> Wild guess: Do you use Windows Update? A recent critical update included a
> JET update, and since then my Access 2003 seems to be a little bit
confused.
> See
>
http://groups.google.com/groups?lr=&ie=UTF-8&threadm=Ofl4%24TCNEHA.3572%40tk2msftngp13.phx.gbl&rnum=1&prev=/groups%3Fhl%3Dde%26lr%3D%26ie%3DUTF-8%26selm%3DOfl4%2524TCNEHA.3572%2540tk2msftngp13.phx.gbl
>
> Boris
>
>



Re: "MDAC required" but it's installed... by scorpion53061

scorpion53061
Tue Jun 01 09:38:47 CDT 2004

reinstall jet.

http://www.microsoft.com/downloads/details.aspx?FamilyID=4335216C-8CDD-4168-A030-46F815D3F5CD&displaylang=en

It is time. Then reinstall MDAC 2.8.



Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Tue Jun 01 09:54:10 CDT 2004

I tryed that, but it didn't work: the error becomes now:
Object reference not set to an instance of an object. at
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction)
at
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
tionString options, Boolean& isInTransaction)
at System.Data.SqlClient.SqlConnection.Open()

"scorpion53061" <scorpion_53061@nospamhereeveryahoo.com> wrote in message
news:u5tHsY%23REHA.3988@tk2msftngp13.phx.gbl...
> reinstall jet.
>
>
http://www.microsoft.com/downloads/details.aspx?FamilyID=4335216C-8CDD-4168-A030-46F815D3F5CD&displaylang=en
>
> It is time. Then reinstall MDAC 2.8.
>
>



Re: "MDAC required" but it's installed... by scorpion53061

scorpion53061
Tue Jun 01 10:07:34 CDT 2004

This error normally occurs when a connection cannot be established with the
server.

Create a new project (do not use anything from this current project you are
in) and attempt to create a connection there. Don't get fancy.

If this does not work, copy and paste here the code you are using.

If this does not work then

1. reinstall Jet
2. reinstall the Framework
3. Reinstall MDAC 2.8

If this does not work reinstall Windows. Others may disagree with me but
trying all this if it fails it is clear the corrpution is in your operating
environment.

"DraguVaso" <pietercoucke@hotmail.com> wrote in message
news:urgk6e%23REHA.3628@TK2MSFTNGP12.phx.gbl...
> I tryed that, but it didn't work: the error becomes now:
> Object reference not set to an instance of an object. at
> System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
> at
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> tionString options, Boolean& isInTransaction)
> at System.Data.SqlClient.SqlConnection.Open()
>
> "scorpion53061" <scorpion_53061@nospamhereeveryahoo.com> wrote in message
> news:u5tHsY%23REHA.3988@tk2msftngp13.phx.gbl...
> > reinstall jet.
> >
> >
>
http://www.microsoft.com/downloads/details.aspx?FamilyID=4335216C-8CDD-4168-A030-46F815D3F5CD&displaylang=en
> >
> > It is time. Then reinstall MDAC 2.8.
> >
> >
>
>



Re: "MDAC required" but it's installed... by Leo

Leo
Wed Jun 02 01:42:19 CDT 2004

Hi,

Make sure that the MDAC is also installed on the database server.

Leo


"DraguVaso" <pietercoucke@hotmail.com> wrote in message
news:%23R5BWv6REHA.3476@tk2msftngp13.phx.gbl...
> Hi,
>
> I'm having this error in a VB.NET-application at the moment that I attempt
> to read data from an SQL Server:
>
>
> The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data
> Access Components(MDAC) version 2.6 or later. at
> System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
> at
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> tionString options, Boolean& isInTransaction)
> at System.Data.SqlClient.SqlConnection.Open()
> Failed to Load Call Data Call Data Failure
>
>
> However the MDAC 2.7 is installed! And when I look into the registry it is
> indicated as installed too:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
> "2.71.9040.2"
>
> The .NET Framework is installed (1.1), and it is on a Windows NT (Sp 6a)
pc.
>
> Does anybody know about thisp roblem? And some solution? Could it be
because
> of some restictions (although I do have full Admin rights on the pc).
>
> I'ts really urgent and bothering me (I have to do a demo in 20 minutes,
> hehe).
>
> Thanks a lot in advance, any help, hints etc will be really appreciated!
>
> Pieter
>
>



Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Wed Jun 02 02:50:30 CDT 2004

MDAC 2.7 SP1 REFRESH is isntalled on the Server...

"Leo Muller" <leo-m@keshet-i.com> wrote in message
news:c9jpcm$ifm$1@news2.netvision.net.il...
> Hi,
>
> Make sure that the MDAC is also installed on the database server.
>
> Leo
>
>
> "DraguVaso" <pietercoucke@hotmail.com> wrote in message
> news:%23R5BWv6REHA.3476@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > I'm having this error in a VB.NET-application at the moment that I
attempt
> > to read data from an SQL Server:
> >
> >
> > The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft
Data
> > Access Components(MDAC) version 2.6 or later. at
> > System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
> isInTransaction)
> > at
> >
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> > tionString options, Boolean& isInTransaction)
> > at System.Data.SqlClient.SqlConnection.Open()
> > Failed to Load Call Data Call Data Failure
> >
> >
> > However the MDAC 2.7 is installed! And when I look into the registry it
is
> > indicated as installed too:
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
> > "2.71.9040.2"
> >
> > The .NET Framework is installed (1.1), and it is on a Windows NT (Sp 6a)
> pc.
> >
> > Does anybody know about thisp roblem? And some solution? Could it be
> because
> > of some restictions (although I do have full Admin rights on the pc).
> >
> > I'ts really urgent and bothering me (I have to do a demo in 20 minutes,
> > hehe).
> >
> > Thanks a lot in advance, any help, hints etc will be really appreciated!
> >
> > Pieter
> >
> >
>
>



Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Wed Jun 02 04:17:14 CDT 2004

Ok, today's news: I tested it: it worked once, than it didn't work anymore.

After that I made a small Test-appliation to test the conenction: I make my
connection etc the same way as in my application, and it works all the
time!!
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim strConn As String
strConn = "Server=BESQL1;DataBase=VocalcomCetelem;User
ID=vocalcomcetelem;Password=vocalcomcetelem;Trusted_Connection=False"

Dim strSql As String
strSql = "SELECT TOP 1 * " & _
"FROM tblCalls " & _
"ORDER BY CallID DESC"

Dim dtrSql As SqlDataReader
Dim conSql As SqlConnection
conSql = New SqlConnection(strConn)
Dim cmdSql As SqlCommand
Try
conSql.Open()
cmdSql = New SqlCommand(strSql, conSql)
dtrSql = cmdSql.ExecuteReader(CommandBehavior.SingleRow)
dtrSql.Read()
If dtrSql.HasRows Then
MessageBox.Show(dtrSql.Item("tdcaNCartphy").ToString)
End If
Catch ex As Exception
MessageBox.Show(ex.Message & ex.StackTrace)
End Try

End Sub


Afterwurths I did some more tests with my application: on one pc it still
didn't work, on the other miraculously it worked 6-7 times one after the
other without error!! I really can't get it why it works sometimes and other
times it doesn't.

Are there 'better' ways to open the connection? Maybe I should make my query
on another way so it doesn't need to open the connection like this? Or I
don't know how?

Thanks, Pieter

"scorpion53061" <scorpion_53061@nospamhereeveryahoo.com> wrote in message
news:utNIzo%23REHA.1256@TK2MSFTNGP09.phx.gbl...
> This error normally occurs when a connection cannot be established with
the
> server.
>
> Create a new project (do not use anything from this current project you
are
> in) and attempt to create a connection there. Don't get fancy.
>
> If this does not work, copy and paste here the code you are using.
>
> If this does not work then
>
> 1. reinstall Jet
> 2. reinstall the Framework
> 3. Reinstall MDAC 2.8
>
> If this does not work reinstall Windows. Others may disagree with me but
> trying all this if it fails it is clear the corrpution is in your
operating
> environment.
>
> "DraguVaso" <pietercoucke@hotmail.com> wrote in message
> news:urgk6e%23REHA.3628@TK2MSFTNGP12.phx.gbl...
> > I tryed that, but it didn't work: the error becomes now:
> > Object reference not set to an instance of an object. at
> > System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
> isInTransaction)
> > at
> >
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> > tionString options, Boolean& isInTransaction)
> > at System.Data.SqlClient.SqlConnection.Open()
> >
> > "scorpion53061" <scorpion_53061@nospamhereeveryahoo.com> wrote in
message
> > news:u5tHsY%23REHA.3988@tk2msftngp13.phx.gbl...
> > > reinstall jet.
> > >
> > >
> >
>
http://www.microsoft.com/downloads/details.aspx?FamilyID=4335216C-8CDD-4168-A030-46F815D3F5CD&displaylang=en
> > >
> > > It is time. Then reinstall MDAC 2.8.
> > >
> > >
> >
> >
>
>



Re: "MDAC required" but it's installed... by scorpion53061

scorpion53061
Wed Jun 02 05:59:51 CDT 2004

> After that I made a small Test-appliation to test the conenction: I make
my
> connection etc the same way as in my application, and it works all the
> time!!
> "scorpion53061" <scorpion_53061@nospamhereeveryahoo.com> wrote in message
> news:utNIzo%23REHA.1256@TK2MSFTNGP09.phx.gbl...
> > This error normally occurs when a connection cannot be established with
> the
> > server.
> >

connection issue just like I had said!! :)




Re: "MDAC required" but it's installed... by Leo

Leo
Wed Jun 02 07:13:39 CDT 2004

Hi,

Obviously the connection has problems, that's why it can't open it, and in
your "finally" part it can't close it either, since it wasn't opened.

I think you can isolate the problem by just creating the connection, open
and close it. The same will happen then.

If the connection does work sometimes, then there isn't anything wrong with
your application, or MDAC. Rather you may be experiencing a network problem,
or a SQL problem.

use try and catch while opening the connection, and check the error
description and source that it will return.

Leo


"DraguVaso" <pietercoucke@hotmail.com> wrote in message
news:O4AnFR%23REHA.1448@TK2MSFTNGP11.phx.gbl...
> Ok, I modified my source-code a little bit so I can se where it goes
wrong:
>
> This is my function:
>
> Private Sub ShowClientInfo(ByVal strIndice As String)
> If strIndice.Length <= 0 Then
> txtInfo.Text = "No Identification"
> Exit Sub
> End If
>
> Dim strSql As String
> strSql = "SELECT TOP 1 (tdprNFoy + tdprNCCD) AS DossierNr,
> (tcliLSigl1 + ' ' + tcliLNomPren1) AS Cl1, " & _
> "(tcliLSigl2 + ' ' + tcliLNomPren2) AS Cl2, tdcaNCartphy, Auto,
> Choice " & _
> "FROM tblCalls LEFT JOIN tblDossiers ON tblCalls.DossierID =
> tblDossiers.DossierID " & _
> "WHERE (Indice = '" & strIndice & "') " & _
> "ORDER BY CallID DESC"
>
> MessageBox.Show("a1")
> Dim dtrSql As SqlDataReader
> Dim conSql As SqlConnection
> conSql = New SqlConnection(strConn)
> Dim cmdSql As SqlCommand
> MessageBox.Show("a2" & conSql.ConnectionString)
> Try
> MessageBox.Show("a3")
> conSql.Open()
> MessageBox.Show("a4")
> cmdSql = New SqlCommand(strSql, conSql)
> MessageBox.Show("b")
> dtrSql = cmdSql.ExecuteReader(CommandBehavior.SingleRow)
> MessageBox.Show("c")
> dtrSql.Read()
> MessageBox.Show("d")
> If dtrSql.HasRows Then
> MessageBox.Show("e")
> strDossierNr = dtrSql.Item("DossierNr").ToString
> MessageBox.Show("f")
> txtInfo.Text = "DOSSIER: " & strDossierNr & cstDelimit & _
> "CARD: " & dtrSql.Item("tdcaNCartphy").ToString &
cstDelimit
> & _
> dtrSql.Item("Choice").ToString & cstDelimit & vbCrLf & _
> dtrSql.Item("Cl1").ToString & ", " &
> dtrSql.Item("Cl2").ToString
> MessageBox.Show("g")
> If chkAuto.Checked Then
> 'Auto-handeling doen
> Select Case dtrSql.Item("Auto").ToString
> Case "SAVE"
> Dim clsVBS As New clsVBScripts
> clsVBS.SAVE(strDossierNr)
> clsVBS = Nothing
>
> Case "CONT"
> Dim clsVBS As New clsVBScripts
> clsVBS.CONT(strDossierNr)
> clsVBS = Nothing
>
> End Select
> End If
> Else
> MessageBox.Show("Failed to Load Call Data", "Call Data
> Failure", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
> End If
>
> Catch ex As Exception
> ErrorMessage(Me, ex, "Failed to Load Call Data", "Call Data
> Failure")
> Finally
> MessageBox.Show("k")
> dtrSql.Close()
> MessageBox.Show("k1")
> cmdSql.Dispose()
> MessageBox.Show("k2")
> If conSql.State = ConnectionState.Open Then
> MessageBox.Show("l")
> conSql.Close()
> End If
> MessageBox.Show("m")
> dtrSql = Nothing
> cmdSql = Nothing
> conSql = Nothing
> MessageBox.Show("n")
> End Try
>
> End Sub
>
>
> I get this messageboxes: a1, a2, a3, than the error, k
> So the error seems to happen on the "conSql.Open()"-statement.
> Really weird is also that it only shows the "k" of the finally, and not
the
> k1, k2, l, m and n... :-(
>
> And much weirder: I managed to get it working one time again, but the next
> time it didn't work anymore :-( So it works kind of randomly: 2 times it
> worked, +- 15 times it didn't work... :-( Couldn't it be because something
> on the SQL Server?
>
> please help :-(
>
> Pieter
>
>
> "DraguVaso" <pietercoucke@hotmail.com> wrote in message
> news:Of78XH9REHA.1396@TK2MSFTNGP12.phx.gbl...
> > Ok: some 'funny' results:
> >
> > I installed JET 4.0 SP7: It worked once (ONCE!!), and afterwarths I got
> the
> > same error... :-(
> >
> > Than I installed JET 4.0 SP8 and MDAC 2.8: It still doesn't work, but
the
> > Error-message is different now:
> > Object reference not set to an instance of an object. at
> > System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
> isInTransaction)
> > at
> >
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> > tionString options, Boolean& isInTransaction)
> > at System.Data.SqlClient.SqlConnection.Open()
> >
> >
> > I'm still not able to find out what causes the problem and how to find a
> > resolution :-( Any help would really be appreciated!! The weird thing is
> > that it only happens on one pc (NT SP6a), on the others I tested it (a
> 2000
> > and a NT SP6A) it works fine...
> >
> > Thanks in advance,
> >
> > Pieter
> >
> >
> >
> > "DraguVaso" <pietercoucke@hotmail.com> wrote in message
> > news:%23R5BWv6REHA.3476@tk2msftngp13.phx.gbl...
> > > Hi,
> > >
> > > I'm having this error in a VB.NET-application at the moment that I
> attempt
> > > to read data from an SQL Server:
> > >
> > >
> > > The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft
> Data
> > > Access Components(MDAC) version 2.6 or later. at
> > > System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
> > isInTransaction)
> > > at
> > >
> >
>
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
> > > tionString options, Boolean& isInTransaction)
> > > at System.Data.SqlClient.SqlConnection.Open()
> > > Failed to Load Call Data Call Data Failure
> > >
> > >
> > > However the MDAC 2.7 is installed! And when I look into the registry
it
> is
> > > indicated as installed too:
> > > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\FullInstallVer =
> > > "2.71.9040.2"
> > >
> > > The .NET Framework is installed (1.1), and it is on a Windows NT (Sp
6a)
> > pc.
> > >
> > > Does anybody know about thisp roblem? And some solution? Could it be
> > because
> > > of some restictions (although I do have full Admin rights on the pc).
> > >
> > > I'ts really urgent and bothering me (I have to do a demo in 20
minutes,
> > > hehe).
> > >
> > > Thanks a lot in advance, any help, hints etc will be really
appreciated!
> > >
> > > Pieter
> > >
> > >
> >
> >
>
>



Re: "MDAC required" but it's installed... by DraguVaso

DraguVaso
Wed Jun 02 06:45:38 CDT 2004

I made a small test-application, and that works all the time (tested it
20-30 times), but the 'real' application works like 20% of the time.

My test-application:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim strConn As String
strConn = "Server=BESQL1;DataBase=VocalcomCetelem;User
ID=vocalcomcetelem;Password=vocalcomcetelem;Trusted_Connection=False"

Dim strSql As String
strSql = "SELECT TOP 1 * " & _
"FROM tblCalls " & _
"ORDER BY CallID DESC"

Dim dtrSql As SqlDataReader
Dim conSql As SqlConnection
conSql = New SqlConnection(strConn)
Dim cmdSql As SqlCommand
Try
conSql.Open()
cmdSql = New SqlCommand(strSql, conSql)
dtrSql = cmdSql.ExecuteReader(CommandBehavior.SingleRow)
dtrSql.Read()
If dtrSql.HasRows Then
MessageBox.Show(dtrSql.Item("tdcaNCartphy").ToString)
End If
Catch ex As Exception
MessageBox.Show(ex.Message & ex.StackTrace)
End Try

End Sub


The error's:
Like this with MDAC 2.7 installed:
The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data
Access Components(MDAC) version 2.6 or later.
at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
at
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
tionString options, Boolean& isInTransaction)
at System.Data.SqlClient.SqlConnection.Open()
Or this with MDAC 2.8:
Object reference not set to an instance of an object.
at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
at
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
tionString options, Boolean& isInTransaction)
at System.Data.SqlClient.SqlConnection.Open()


Any idea? :-(

"Leo Muller" <leo-m@keshet-i.com> wrote in message
news:c9kcps$ohv$1@news2.netvision.net.il...
> Hi,
>
> Obviously the connection has problems, that's why it can't open it, and in
> your "finally" part it can't close it either, since it wasn't opened.
>
> I think you can isolate the problem by just creating the connection, open
> and close it. The same will happen then.
>
> If the connection does work sometimes, then there isn't anything wrong
with
> your application, or MDAC. Rather you may be experiencing a network
problem,
> or a SQL problem.
>
> use try and catch while opening the connection, and check the error
> description and source that it will return.
>
> Leo
>
>
> "DraguVaso" <pietercoucke@hotmail.com> wrote in message
> news:O4AnFR%23REHA.1448@TK2MSFTNGP11.phx.gbl...
> > Ok, I modified my source-code a little bit so I can se where it goes
> wrong:
> >
> > This is my function:
> >
> > Private Sub ShowClientInfo(ByVal strIndice As String)
> > If strIndice.Length <= 0 Then
> > txtInfo.Text = "No Identification"
> > Exit Sub
> > End If
> >
> > Dim strSql As String
> > strSql = "SELECT TOP 1 (tdprNFoy + tdprNCCD) AS DossierNr,
> > (tcliLSigl1 + ' ' + tcliLNomPren1) AS Cl1, " & _
> > "(tcliLSigl2 + ' ' + tcliLNomPren2) AS Cl2, tdcaNCartphy, Auto,
> > Choice " & _
> > "FROM tblCalls LEFT JOIN tblDossiers ON tblCalls.DossierID =
> > tblDossiers.DossierID " & _
> > "WHERE (Indice = '" & strIndice & "') " & _
> > "ORDER BY CallID DESC"
> >