473,385 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 2472
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.