PC Review


Reply
Thread Tools Rate Thread

Database Mirroring Causes .NET Internal Network Provider Error 6

 
 
bryans@archtest.com
Guest
Posts: n/a
 
      29th Aug 2007
When implementing database mirroring using SQL 2005, our .NET
Framework 2.0 Windows Forms Application clients are intermittently
receiving the following error:

Internal .Net Framework Data Provider error 6.
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection
owningObject)
at
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection
owningObject)
at
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection
owningObject)
at
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
owningConnection)
at
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()

AND

The SQL server log on the mirror server indicates that at the time the
clients are receiving this error, the following error is also being
logged:

Login failed for user DOMAIN/user
Error 18456, Severity: 14, State: 16.

AND

at the same time, a "Success Audit" entry, in the Security section of
the mirror machine's event log is also logged. This is happening to
random clients at random times, throughout the entire range of modules
in our application. The clients can be local to our network,
connected via VPN or connected over WAN.

We have attempted mirroring on two mirror servers, one inside a
virtual machine, and one living inside its own box, both yielding the
same errors to our clients.

The software is as follows:

PRINCIPAL SERVER: SQL2005 9.0.3042 / WINDOWS SERVER 2003 SP1
(Running on its own machine)

1st TEST USING MIRROR SERVER: SQL2005 9.0.3042 / WINDOWS SERVER 2003
SP1
(Running inside a virtual machine)

2nd TEST USING MIRROR SERVER: SQL2005 9.0.2050 / WINDOWS SERVER 2003
SP2
(Running on its own machine - I wanted to eliminate any problems
using a virtual machine)

WITNESS SERVER: <none>

CLIENT CONNECTION STRING: Data Source=PrincipalServer;Initial
Catalog=database;Integrated Security=True;Max Pool
Size=200;Asynchronous Processing=True;Packet Size=26000
(Note that we do not have a failover server name included in the
client connection string)

We have approximately 200 clients and approximately every 30 minutes
or so error 6 will occur, and even though the error is related to a
failure audit on the mirror server, it will not allow a connection to
the primary server. This is of course interfering with our production
environment.

For testing and to eliminate security issues, we have temporarily
assigned all users server administration (the sysadmin server role)
rights to the mirror server, but with no change in the amount of .NET
error 6 errors.

Removing database mirroring eliminates the problem entirely. Also,
there are no errors being logged on the principal server.

Other than abandoning our goal of implementing mirroring, can anyone
suggest a solution to this problem?

Any help would be greatly appreciated!

Bryan

 
Reply With Quote
 
 
 
 
joresm@gmail.com
Guest
Posts: n/a
 
      6th Sep 2007
On Aug 29, 1:12 pm, bry...@archtest.com wrote:
> When implementing database mirroring using SQL 2005, our .NET
> Framework 2.0 Windows Forms Application clients are intermittently
> receiving the following error:
>
> Internal .Net Framework Data Provider error 6.
> at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection
> owningObject)
> at
> System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection
> owningObject)
> at
> System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection
> owningObject)
> at
> System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
> owningConnection)
> at
> System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
> outerConnection, DbConnectionFactory connectionFactory)
> at System.Data.SqlClient.SqlConnection.Open()
>
> AND
>
> The SQL server log on the mirror server indicates that at the time the
> clients are receiving this error, the following error is also being
> logged:
>
> Login failed for user DOMAIN/user
> Error 18456, Severity: 14, State: 16.
>
> AND
>
> at the same time, a "Success Audit" entry, in the Security section of
> the mirror machine's event log is also logged. This is happening to
> random clients at random times, throughout the entire range of modules
> in our application. The clients can be local to our network,
> connected via VPN or connected over WAN.
>
> We have attempted mirroring on two mirror servers, one inside a
> virtual machine, and one living inside its own box, both yielding the
> same errors to our clients.
>
> The software is as follows:
>
> PRINCIPAL SERVER: SQL2005 9.0.3042 / WINDOWS SERVER 2003 SP1
> (Running on its own machine)
>
> 1st TEST USING MIRROR SERVER: SQL2005 9.0.3042 / WINDOWS SERVER 2003
> SP1
> (Running inside a virtual machine)
>
> 2nd TEST USING MIRROR SERVER: SQL2005 9.0.2050 / WINDOWS SERVER 2003
> SP2
> (Running on its own machine - I wanted to eliminate any problems
> using a virtual machine)
>
> WITNESS SERVER: <none>
>
> CLIENT CONNECTION STRING: Data Source=PrincipalServer;Initial
> Catalog=database;Integrated Security=True;Max Pool
> Size=200;Asynchronous Processing=True;Packet Size=26000
> (Note that we do not have a failover server name included in the
> client connection string)
>
> We have approximately 200 clients and approximately every 30 minutes
> or so error 6 will occur, and even though the error is related to a
> failure audit on the mirror server, it will not allow a connection to
> the primary server. This is of course interfering with our production
> environment.
>
> For testing and to eliminate security issues, we have temporarily
> assigned all users server administration (the sysadmin server role)
> rights to the mirror server, but with no change in the amount of .NET
> error 6 errors.
>
> Removing database mirroring eliminates the problem entirely. Also,
> there are no errors being logged on the principal server.
>
> Other than abandoning our goal of implementing mirroring, can anyone
> suggest a solution to this problem?
>
> Any help would be greatly appreciated!
>
> Bryan


Hi Bryan,
do you sitll have this problem. did you ever find a solution. we are
experiencing the same problem.

I can't seem to find a solution anywhere!!!

Cheers

 
Reply With Quote
 
bryans@archtest.com
Guest
Posts: n/a
 
      12th Sep 2007
On Sep 6, 1:56 pm, jor...@gmail.com wrote:
> On Aug 29, 1:12 pm, bry...@archtest.com wrote:
>
>
>
>
>
> > When implementing database mirroring using SQL 2005, our .NET
> > Framework 2.0 Windows Forms Application clients are intermittently
> > receiving the following error:

>
> > Internal .Net Framework Data Provider error 6.
> > at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection
> > owningObject)
> > at
> > System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection
> > owningObject)
> > at
> > System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection
> > owningObject)
> > at
> > System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
> > owningConnection)
> > at
> > System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
> > outerConnection, DbConnectionFactory connectionFactory)
> > at System.Data.SqlClient.SqlConnection.Open()

>
> > AND

>
> > The SQL server log on the mirror server indicates that at the time the
> > clients are receiving this error, the following error is also being
> > logged:

>
> > Login failed for user DOMAIN/user
> > Error 18456, Severity: 14, State: 16.

>
> > AND

>
> > at the same time, a "Success Audit" entry, in the Security section of
> > the mirror machine's event log is also logged. This is happening to
> > random clients at random times, throughout the entire range of modules
> > in our application. The clients can be local to our network,
> > connected via VPN or connected over WAN.

>
> > We have attempted mirroring on two mirror servers, one inside a
> > virtual machine, and one living inside its own box, both yielding the
> > same errors to our clients.

>
> > The software is as follows:

>
> > PRINCIPAL SERVER: SQL2005 9.0.3042 / WINDOWS SERVER 2003 SP1
> > (Running on its own machine)

>
> > 1st TEST USING MIRROR SERVER: SQL2005 9.0.3042 / WINDOWS SERVER 2003
> > SP1
> > (Running inside a virtual machine)

>
> > 2nd TEST USING MIRROR SERVER: SQL2005 9.0.2050 / WINDOWS SERVER 2003
> > SP2
> > (Running on its own machine - I wanted to eliminate any problems
> > using a virtual machine)

>
> > WITNESS SERVER: <none>

>
> > CLIENT CONNECTION STRING: Data Source=PrincipalServer;Initial
> > Catalog=database;Integrated Security=True;Max Pool
> > Size=200;Asynchronous Processing=True;Packet Size=26000
> > (Note that we do not have a failover server name included in the
> > client connection string)

>
> > We have approximately 200 clients and approximately every 30 minutes
> > or so error 6 will occur, and even though the error is related to a
> > failure audit on the mirror server, it will not allow a connection to
> > the primary server. This is of course interfering with our production
> > environment.

>
> > For testing and to eliminate security issues, we have temporarily
> > assigned all users server administration (the sysadmin server role)
> > rights to the mirror server, but with no change in the amount of .NET
> > error 6 errors.

>
> > Removing database mirroring eliminates the problem entirely. Also,
> > there are no errors being logged on the principal server.

>
> > Other than abandoning our goal of implementing mirroring, can anyone
> > suggest a solution to this problem?

>
> > Any help would be greatly appreciated!

>
> > Bryan

>
> Hi Bryan,
> do you sitll have this problem. did you ever find a solution. we are
> experiencing the same problem.
>
> I can't seem to find a solution anywhere!!!
>
> Cheers- Hide quoted text -
>
> - Show quoted text -


We have not yet found any solutions.

For now we have abandoned mirroring until we can eliminate this
error! If you find anything on your end any help would be great
appreciated!

 
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
Internal .Net Framework Data Provider Error 30 Klaudiusz Bryja Microsoft C# .NET 2 15th May 2008 09:43 AM
Internal .Net Framework Data Provider error 6 Trolane Microsoft ADO .NET 0 6th May 2008 08:44 PM
Internal .Net Framework Data Provider error 6. monkeyboydan@gmail.com Microsoft ADO .NET 5 20th Nov 2007 03:00 PM
Internal .Net Framework Data Provider error 1 Andrew Microsoft ASP .NET 2 8th Apr 2006 12:24 AM
Oracle Data Provider for .NET: Data provider internal error(-3000) Heidi Hundåla Microsoft ADO .NET 1 29th Oct 2003 02:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:41 AM.