473,394 Members | 1,802 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.

System.Transactions vs System.Data

Ken
I used the classes (SqlCommand, SqlConnection) of part of System.Data
namespace.
I got an error which mentioned "Could not load file or assembly assembly
'System.Transactions, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089 or noe of its dependencies.

What should I do to fix this issue?

Strange enough, this application works fine other boxes except one box
Jun 19 '07 #1
3 1355
"Ken" <kl**@jeromegroup.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>I used the classes (SqlCommand, SqlConnection) of part of System.Data
namespace.
I got an error which mentioned "Could not load file or assembly assembly
'System.Transactions, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089 or noe of its dependencies.

What should I do to fix this issue?
What happens when you add a reference to System.Transactions?
--
John Saunders [MVP]
Jun 19 '07 #2
Ken
It start working for a while then stop working.
and when I debug remotely, then it mentioned "Could not load file or
assembly assembly
'System.Transactions, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089 or none of its dependencies.

"John Saunders [MVP]" <john.saunders at trizetto.comwrote in message
news:Oa**************@TK2MSFTNGP02.phx.gbl...
"Ken" <kl**@jeromegroup.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>>I used the classes (SqlCommand, SqlConnection) of part of System.Data
namespace.
I got an error which mentioned "Could not load file or assembly assembly
'System.Transactions, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089 or noe of its dependencies.

What should I do to fix this issue?

What happens when you add a reference to System.Transactions?
--
John Saunders [MVP]


Jun 22 '07 #3
"Ken" <kl**@jeromegroup.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
It start working for a while then stop working.
and when I debug remotely, then it mentioned "Could not load file or
assembly assembly
'System.Transactions, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089 or none of its dependencies.
Ok, does it always work when you debug locally? If so, check whether both
systems have the same exact System.Transactions. In particular, make sure
the version, culture, and PublicKeyToken are exactly the same on both
systems.

Also, things don't usually change for no reason. Try to characterize the
times it stops working. For instance, does it stop working at a particular
time of day? Is there anything interesting in either the Application or
System event logs on either the local or remote systems when it stops
working?

I'm not as deep on this area of the CLR as I'd like to be, so these are
general troubleshooting tips. If these don't get you anywhere, you should
consider posting this question in the microsoft.public.dotnet.framework.clr
or microsoft.public.vsnet.debugging newsgroups (not both at the same time,
please).
--
John Saunders [MVP]

"John Saunders [MVP]" <john.saunders at trizetto.comwrote in message
news:Oa**************@TK2MSFTNGP02.phx.gbl...
>"Ken" <kl**@jeromegroup.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>>>I used the classes (SqlCommand, SqlConnection) of part of System.Data
namespace.
I got an error which mentioned "Could not load file or assembly
assembly
'System.Transactions, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089 or noe of its dependencies.

What should I do to fix this issue?

What happens when you add a reference to System.Transactions?
--
John Saunders [MVP]


Jun 23 '07 #4

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

Similar topics

7
by: Richard Maher | last post by:
Hi, I am seeking the help of volunteers to test some software that I've developed which facilitates distributed two-phase commit transactions, encompassing any resource manager (e.g. SQL/Server...
0
by: Chris Travers | last post by:
Hi All; I may be able to do this in Perl, but if there is enough interest in doing something like this in C, maybe I can still help (however, consider your self warned about my skill at coding...
9
by: TD | last post by:
I am trying to add transactions to my code. The original code worked fine until I followed an example to setup transactions, now the code does strange things, but no error messages. Could...
11
by: Mike P | last post by:
I've been using C# transactions for a while and had no problems with them. Using try catch blocks I can trap basically all possible errors and rollback all necessary data. Over the last few...
3
by: Lada 'Ray' Lostak | last post by:
Hello ppl, Imagine some online system, based on PgSql. There are 'many' parts which depends on each other. I will give small example, but instead of simple table imagine changing tenths various...
1
by: RAM | last post by:
Hello, I am learning .NET 2.0 (ASP.NET, ADO.NET). I would like to ask experienced programmers when to use System.Transactions. One programmer told me that he never used System.Transactions, he...
2
by: Sridhar | last post by:
Hi, I am trying to implement sql transactions. But I am not knowing how to do that. I created a data access layer which contains methods to select/insert/update tables in a database. I have also...
8
by: Allan Ebdrup | last post by:
I've implemented transactions in my dotNet 2.0 project using System.Transactions and TransactionScope. --- TransactionOptions options = new TransactionOptions(); options.IsolationLevel =...
5
by: Ken | last post by:
I used the classes (SqlCommand, SqlConnection) of part of System.Data namespace. I got an error which mentioned "Could not load file or assembly assembly 'System.Transactions, Version=2.0.0.0,...
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
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: 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
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...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.