Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • michaelgMay 19, 2009 1:29 AM PDT   
    Call Fortran dll or com server from web service under IIS

    Running under the debugger of Visual Studio 2008 ever thing works fine.

    Either a web service or WCF service (coded in C#)  can dllimport and successfully run either a Fortran DLL (that exports) or that same DLL packaged as a COM server (registered by regsvr32 and accessed via a NET generated reference thereof) . 

    Outside of the debugger there are problems. The invocation occurs, i.e. the DLL is imported and the entry point invoked, or the COM class is created and the interface invoked (using the COM reference ), but after that the service dies. This seems to be related to a lack of trust of the unmanaged FORTRAN by IIS. These problems cannot be conquered using <identity impersonate .../> element in the config file.

      So it seems like I should use the tlbimp.exe with the appropriate switches to create a strongly named assembly from the INTEL FORTRAN generated COM Server. Does that seem reasonable? Is there another way without resorting to COM?

    Anyone else solved the challenge of deploying a web service or WCF (wsHTTPBinding) that invokes FORTRAN DLL or COM Server?



Forum jump:  

Intel Software Network Forums Statistics

17,025 users have contributed to 48,321 threads and 172,753 posts to date.

In the past 24 hours, we have 16 new thread(s) 57 new posts(s), and 54 new user(s).

In the past 3 days, the most popular thread for everyone has been How to manage rounding by IVF ?? The most posts were made to Most likely, the issue is that The post with the most views is Optimalization of sine function\'s taylor expansion

Please welcome our newest member redfruit83


For more complete information about compiler optimizations, see our Optimization Notice.