System.Transactions vs System.Data

  • Thread starter Thread starter Ken
  • Start date Start date
K

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.
 
Ken,

Do you have the .NET framework 2.0 installed on that box?
System.Transactions was introduced then.
 
YES.....

Nicholas Paldino said:
Ken,

Do you have the .NET framework 2.0 installed on that box?
System.Transactions was introduced then.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Ken said:
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.
 
When I add like below in web.config, it works for a while then it shows
error such as "JIT error".
<add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089"/>


Ken said:
YES.....

Nicholas Paldino said:
Ken,

Do you have the .NET framework 2.0 installed on that box?
System.Transactions was introduced then.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Ken said:
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.
 
try to add system.data and system.transaction.dll to the project' s
reference again..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top