473,394 Members | 1,724 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,394 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 2474
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.