I was working on a project and stuck on this error "Unable to load DLL 'gsdll32.dll'.The specified module could not be found." and you will experience this error when your website/application is consuming Ghostscript gsdll32.dll dll file but unable to locate or load the gsdll32.dll.
Steps To Fix Gsdll32.dll Error:
You should take following steps to resolve the error:
- Please first check/verify that ghostscript is installed on your system or not. In my case it exists on below mentioned path: C:\Program Files (x86)\gs\gs8.64\bin\ gsdll32.dll. You will unable to find the "gs" folder if it is not installed on your system.
- Download ghostscript dll from ghostscript website and install it on your system. To avoid further error below mentioned are two additional steps just to make sure the error is gone.
- Make sure to add reference in your project from the path where this dll exist. In my case it is C:\Program Files (x86)\gs\gs8.64\bin\ gsdll32.dll
- In case of any error while adding reference please copy ghostscript "gsdll32.dll" dll from the installation path(in my case it is mentioned above) and paste/place it into your application/website project bin folder.
In this post I have explained the error "Unable to load DLL 'gsdll32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)" and I am sure you will be able to resolve your problem after reading this article. In the next article I will talk about another mind boggling error. In case of any queries or criticism please do write us in the comment section.
No comments:
Post a Comment
Please do not enter spam links.