VS 2012 Express - Desktop - System.Transactions.dll Error

Recently a few of my desktop applications stopped working, so I opened them up in VS 2012 Express Desktop, and tried debugging them.

It seems when the code tries to connect to the database I get the following error.  

Could not load file or assembly 'System.Transactions.dll' or one of its dependencies.  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

I am not sure what has changed or how to fix it - any help would be great.
dkilbyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jacques Bourgeois (James Burger)PresidentCommented:
If this is a Web application, I have heard in many places that there are issues when trying to run 32-bits applications on a 64-bits IIS. The solution that seems to work most of the time is describes toward the middle of the page at http://forums.asp.net/t/983377.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dkilbyAuthor Commented:
no it is a desktop application - also inside VS Express i am unable to actually pull  up a database in database explorer as i get the same error
0
Jacques Bourgeois (James Burger)PresidentCommented:
Please give a little more details. For instance, if the database is a Microsoft Access database and you are developing in the 64-bits version of Visual Studio, you need to set the compiler for 32-bits.

There is not enough information in your question to be able to see all the possible causes.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.