473,786 Members | 2,404 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
5 2134
Ken,

Do you have the .NET framework 2.0 installed on that box?
System.Transact ions was introduced then.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ken" <kl**@jeromegro up.comwrote in message
news:Ol******** ******@TK2MSFTN GP04.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?

Strange enough, this application works fine other boxes except one box.

Jun 19 '07 #2
Ken
YES.....

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omwrote in
message news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
Ken,

Do you have the .NET framework 2.0 installed on that box?
System.Transact ions was introduced then.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ken" <kl**@jeromegro up.comwrote in message
news:Ol******** ******@TK2MSFTN GP04.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?

Strange enough, this application works fine other boxes except one box.


Jun 19 '07 #3
Ken
When I add like below in web.config, it works for a while then it shows
error such as "JIT error".
<add assembly="Syste m.Transactions, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= B77A5C561934E08 9"/>
"Ken" <kl**@jeromegro up.comwrote in message
news:eu******** ******@TK2MSFTN GP04.phx.gbl...
YES.....

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omwrote
in message news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>Ken,

Do you have the .NET framework 2.0 installed on that box?
System.Transac tions was introduced then.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ken" <kl**@jeromegro up.comwrote in message
news:Ol******* *******@TK2MSFT NGP04.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?

Strange enough, this application works fine other boxes except one box.



Jun 19 '07 #4
try to add system.data and system.transact ion.dll to the project' s
reference again..
Jun 19 '07 #5
Ken
I did.
but it just works for a while and then stop working as a usual.

"Hakan Fatih YILDIRIM" <hf*********@gm ail.comwrote in message
news:11******** **************@ p77g2000hsh.goo glegroups.com.. .
try to add system.data and system.transact ion.dll to the project' s
reference again..


Jun 22 '07 #6

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
1535
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
13001
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...
0
5676
by: NicK chlam via DotNetMonster.com | last post by:
this is the error i get System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement. at System.Data.Common.DbDataAdapter.Update(DataRow dataRows, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet) at TryThis.Form1.save() in C:\Documents and Settings\Nick\My Documents\...
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
1851
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
10947
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();
3
1385
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
9647
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
9492
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10163
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
10108
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7510
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
6744
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
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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.