Need help using dll on windows server 2012 R2

Back to topics list To post a new topic, please log in or register
avatar
4
gingnoa 2014.09.07 18:33
 

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! 

avatar
3134
avatar
4
gingnoa 2014.09.08 08:35 #
 
Are you sure this is the link? I'm having trouble loading this page.
avatar
1211
deysmacro 2014.09.08 08:37 #
 
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.
avatar
4
gingnoa 2014.09.08 09:21 #
 

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

How do I download this fix? 

avatar
4
gingnoa 2014.09.09 13:26 #
 

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!! 

avatar
1
LOLIK 2015.11.12 16:44 #
 
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? 

Back to topics list  

To add comments, please log in or register