06-05-2010 07:17 PM
I tried to develop a web application by implementing measure studio 8. (under Visual Studio 2008, VB language). The application run well on the local machine (VS local server). However, whenever I deploy it on the IIS server, the error comes like:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
[DllNotFoundException: Unable to load DLL 'nianlys.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)] |
However, If do not utilize the Gamma function in my program, there is not such error information and the plotting works well.
Can someone give me helps to correctly deploy the web applicatioin on the server?
06-08-2010 12:33 AM - edited 06-08-2010 12:33 AM
Hi there,
Create a WebSetup project and add the required files and assemblies. Build the setup project. Use this setup to install on to your machine (machine where you want to host the website).
Once the installation is complete, host the web application on the IIS as you would normally host a web application. Be sure the provide the correct installed path for the website when you create a virtual directory.
Hope this helps.
06-08-2010 06:13 AM
Dear,
Many thanks four your proposal. However, it cann't seems to be my solution. Websetup project will buid a 'installable' package that should be run on the server hosting web applcation. Because our server is situated in the university's computer certer that host all the web sites for the educations/research. The IIS server adminstrator can not accept to run any setup program on the server (afraid of introducing virus or modifing setting to impact the others applications).
Actually, I am using the MS Web Deployment Project for making/sending all the files, assemblies to the server. I am wondering if there are other solutions for this problem?
Thanks agains