472,954 Members | 1,556 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,954 software developers and data experts.

Error in OLEDB Transaction

Hello,

I am using transaction in aspx code

Set myCon = Server.CreateObject("ADODB.Connection")
myCon .Open = GetConString()
.....

myCon.BeginTrans

....

call myCon.CommitTrans

For a reason I don't know,

I get the message (sometimes) :

MICROSOFT OLE DB PROVIDER FOR SQL SERVER ERROR '80004005'

What may be the reason for that message

Thanks :)


Jul 21 '05 #1
5 2456
Cyn
Is the connection trusted?
-----Original Message-----
Hello,

I am using transaction in aspx code

Set myCon = Server.CreateObject("ADODB.Connection")
myCon .Open = GetConString()
.....

myCon.BeginTrans

....

call myCon.CommitTrans

For a reason I don't know,

I get the message (sometimes) :

MICROSOFT OLE DB PROVIDER FOR SQL SERVER ERROR '80004005'

What may be the reason for that message

Thanks :)


.

Jul 21 '05 #2
VN
This is a very broad error code: E_FAIL. If it is not accompanied by anything
else it would be pretty hard to find out what failed. You could also try to
see what happens on the server when the failure is returned.

"Eitan" wrote:
Hello,

I am using transaction in aspx code

Set myCon = Server.CreateObject("ADODB.Connection")
myCon .Open = GetConString()
.....

myCon.BeginTrans

....

call myCon.CommitTrans

For a reason I don't know,

I get the message (sometimes) :

MICROSOFT OLE DB PROVIDER FOR SQL SERVER ERROR '80004005'

What may be the reason for that message

Thanks :)


Jul 21 '05 #3
Avi
I didn't understand.
Do you think the error related to the transaction somehow ?
Would you help me find out what the error is ?

Thanks :)

"VN" <VN@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
This is a very broad error code: E_FAIL. If it is not accompanied by
anything
else it would be pretty hard to find out what failed. You could also try
to
see what happens on the server when the failure is returned.

"Eitan" wrote:
Hello,

I am using transaction in aspx code

Set myCon = Server.CreateObject("ADODB.Connection")
myCon .Open = GetConString()
.....

myCon.BeginTrans

....

call myCon.CommitTrans

For a reason I don't know,

I get the message (sometimes) :

MICROSOFT OLE DB PROVIDER FOR SQL SERVER ERROR '80004005'

What may be the reason for that message

Thanks :)


Jul 21 '05 #4
VN
You put "transaction" into the subject, not me. As I said you should try to
localize where it happens. Servers log may also be useful.

"Avi" wrote:
I didn't understand.
Do you think the error related to the transaction somehow ?
Would you help me find out what the error is ?

Thanks :)

"VN" <VN@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
This is a very broad error code: E_FAIL. If it is not accompanied by
anything
else it would be pretty hard to find out what failed. You could also try
to
see what happens on the server when the failure is returned.

"Eitan" wrote:
Hello,

I am using transaction in aspx code

Set myCon = Server.CreateObject("ADODB.Connection")
myCon .Open = GetConString()
.....

myCon.BeginTrans

....

call myCon.CommitTrans

For a reason I don't know,

I get the message (sometimes) :

MICROSOFT OLE DB PROVIDER FOR SQL SERVER ERROR '80004005'

What may be the reason for that message

Thanks :)



Jul 21 '05 #5
SQL Server sometimes puts helpful information in the Application event log.
Try Control Panel\Administrative Tools\Event Viewer\Application and look in
the Source column for MSSQLSERVER, look at all errors and warnings.

Tad

"VN" <VN@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
You put "transaction" into the subject, not me. As I said you should try
to
localize where it happens. Servers log may also be useful.

"Avi" wrote:
I didn't understand.
Do you think the error related to the transaction somehow ?
Would you help me find out what the error is ?

Thanks :)

"VN" <VN@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
> This is a very broad error code: E_FAIL. If it is not accompanied by
> anything
> else it would be pretty hard to find out what failed. You could also
> try
> to
> see what happens on the server when the failure is returned.
>
> "Eitan" wrote:
>
>> Hello,
>>
>>
>>
>> I am using transaction in aspx code
>>
>> Set myCon = Server.CreateObject("ADODB.Connection")
>> myCon .Open = GetConString()
>> .....
>>
>> myCon.BeginTrans
>>
>> ....
>>
>> call myCon.CommitTrans
>>
>>
>>
>> For a reason I don't know,
>>
>> I get the message (sometimes) :
>>
>> MICROSOFT OLE DB PROVIDER FOR SQL SERVER ERROR '80004005'
>>
>>
>>
>> What may be the reason for that message
>>
>>
>>
>> Thanks :)
>>
>>
>>
>>
>>
>>
>>


Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tzanko | last post by:
Hi, We are using ADO with the Otacle Provider for OLEDB in our COM+ MTS C++ client (Oracle 8.1. It seems there is no way to timeout our ORACLE SQL calls, in case the database is verry slow for...
0
by: jp | last post by:
------=_NextPart_000_016C_01C3453B.E114CE50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable i downloaded oledb provider from mysql.com, i use Delphi's...
2
by: Martin Hazell | last post by:
I am attempting to get the maximum value from a specific table (select max(id) from transactions) and it seems to work... that is until you do the following - select the maximu - insert a new...
0
by: Eyal Cohen | last post by:
Hello, i have a windows form application and i want to use an insert command within a transaction so i satrt the transaction : ( Conn is my connection object ) System.Data.OleDb.OleDbTransaction...
4
by: Troy | last post by:
We recently installed the .Net framework on a windows 2000 server. Shortly after that we experienced intermitant problems running a web based program that accesses an Access 2002 database. The...
4
by: Eitan | last post by:
Hello, I am using transaction in aspx code Set myCon = Server.CreateObject("ADODB.Connection") myCon .Open = GetConString() .....
4
by: coosa | last post by:
Hi, I was installing SQL Server on my machine and during installation my PC freezed. It happens frequently on my machine. So i tried after restarting to install it again and since then i always...
2
by: srinivasan.shanmugapillai | last post by:
Hi, I'm running a VB.NET windows applicatrion that is using the enterprise services transactions. While running this application without enterprise services support, a connection is...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
1
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.