Need help using dll on windows server 2012 R2

 

Hi,

I have written a dll in C# (used dllExport). The dll basically connects to a host and performs sql queries. 

This dll works perfectly on my laptop.

When I try to run this dll on my VPS which runs on windows server 2012 R2, I receive an error: Unhandled exception 0xE0434352.

I know this is a very general exception.

I tried installing .Net 4.5 but it didn't help. 

Any ideas how I can fix this error?

Thanks in advance! 

 
Are you sure this is the link? I'm having trouble loading this page.
 
FIX: You receive an "Unhandled Exception" error message when you run an application that uses valid C code
That's the title when I load the page.
 

Thanks! I had problems loading the page on chrome but explorer came to the rescue.

How do I download this fix? 

 

OK so I fixed the problem.

I installed visual studio 2013 on the server and compiled my project.

Then I transferred the compiled dll to the Libraries folder and that's it.

It works perfectly now.

Not sure exactly what caused the problem or what was missing but this solved my problem.

Thanks for your help!! 

 
gingnoa:

OK so I fixed the problem.

I installed visual studio 2013 on the server and compiled my project.

Then I transferred the compiled dll to the Libraries folder and that's it.

It works perfectly now.

Not sure exactly what caused the problem or what was missing but this solved my problem.

Thanks for your help!! 

Hi 

I have the same problem

using windows 8 and VS community 2015

how to solve it? 

Reason: