473,765 Members | 1,957 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Transact ions 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.Transac tions, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= B77A5C561934E08 9 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 1382
"Ken" <kl**@jeromegro up.comwrote in message
news:%2******** ********@TK2MSF TNGP02.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.Transac tions, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= B77A5C561934E08 9 or noe of its dependencies.

What should I do to fix this issue?
What happens when you add a reference to System.Transact ions?
--
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.Transac tions, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= B77A5C561934E08 9 or none of its dependencies.

"John Saunders [MVP]" <john.saunder s at trizetto.comwro te in message
news:Oa******** ******@TK2MSFTN GP02.phx.gbl...
"Ken" <kl**@jeromegro up.comwrote in message
news:%2******** ********@TK2MSF TNGP02.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.Transa ctions, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken =B77A5C561934E0 89 or noe of its dependencies.

What should I do to fix this issue?

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


Jun 22 '07 #3
"Ken" <kl**@jeromegro up.comwrote in message
news:%2******** ********@TK2MSF TNGP02.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.Transac tions, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= B77A5C561934E08 9 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.Transact ions. 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.publi c.dotnet.framew ork.clr
or microsoft.publi c.vsnet.debuggi ng newsgroups (not both at the same time,
please).
--
John Saunders [MVP]

"John Saunders [MVP]" <john.saunder s at trizetto.comwro te in message
news:Oa******** ******@TK2MSFTN GP02.phx.gbl...
>"Ken" <kl**@jeromegro up.comwrote in message
news:%2******* *********@TK2MS FTNGP02.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.Trans actions, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToke n=B77A5C561934E 089 or noe of its dependencies.

What should I do to fix this issue?

What happens when you add a reference to System.Transact ions?
--
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
2382
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 or Oracle) controlled by Microsoft's Distributed Transaction Coordinator in a Windows2000 environment, with any resource manager under the control of DECdtm (e.g. Rdb (or Oracle via the XA Veneer)) in a VMS environment.
0
1534
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 C). I am looking at the following design. The clustering daemon either need to run on separate computer systems or separate interfaces of the same database servers. The program would basically pretend to be Postmaster and intercept the...
9
2067
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 someone please review my before and after code and tell me the proper way to add transactions to my code? Thanks, TD
11
12996
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 days I've been trying to convert some of this code to SQL Server stored procedures, but it seems to lack many of the benefits of C# transactions - a lot of the errors don't seem to be trapped by the SQL error trapping (e.g. if I do an update on a row...
3
1839
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 tables (editing). So, 'change table A' can be work for hours. There are tables tableA and tableB. Changes are made by thin client. If you change tableA, you have to also change tableB to 'finish' operation. Between starting changing tableA...
1
1850
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 only uses database transaction (SqlTransaction) and recommended me this method but he did not explained why. I have read a few pages about both transaction types in MSDN but I have little experience I don't know what are practical usages of...
2
2700
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 created a business logic layer to retrieve/update the data from the data access layer. All of this is working fine if there are no transactions involved. If I need to use transactions, I am not knowing how to do that. Lets say I have a webform...
8
10944
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 = System.Transactions.IsolationLevel.Serializable; options.Timeout = new TimeSpan(0, 5, 0); using (TransactionScope transactionScope = new TransactionScope(TransactionScopeOption.Required, options)) { DoWork();
5
2132
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, 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.
0
9568
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10161
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7378
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.