Is it possible to execute a Windows application which uses a .net DLL on Linux

  • Thread starter Thread starter Balu Asokan
  • Start date Start date
B

Balu Asokan

Hi,

We created a .net windows forms application which uses a .net dll and placed
it on Apache(not using MONO, using Apache just to serve our .net application
files) on Linux machine . We tried to access the URL which points to the
application on the IE on a windows machine. Running the application on the
IE throws an exception. Application works fine if its placed on the IIS.

Is it possible to run the .net windows forms application with the .net dll
on Linux machines.

Thank you,

Balu
 
I am just guessing here, but I would guess that your problem is that Apache is sending the wrong MIME type since it doesn't know anything about .NET

I have heard that the asp.net mono plugin for Apache is quite robust, why not try that? Maybe it will help Apache feed you the correct MIME type to enable to client to automatically launch the exe instead of treating it like a file

Hope this helps
-Cla

Clayton Gulick, MCSD
 
Clay,

We dont have problem executing the application on the browser but raises an
exception while referencing the .net dll within the application. Application
and DLL is developed by us and both are running on the Apache.

Thank you,

Balu

Clayton Gulick said:
I am just guessing here, but I would guess that your problem is that
Apache is sending the wrong MIME type since it doesn't know anything about
..NET.
I have heard that the asp.net mono plugin for Apache is quite robust, why
not try that? Maybe it will help Apache feed you the correct MIME type to
enable to client to automatically launch the exe instead of treating it like
a file.
 
Back
Top