I solved my problem. The DLL is a 32 bit. I had to modify in IIS the Application Pool that that is used to my website. The Setting is under Advanced Settings, there is a Setting called "Enable 32-Bit Applications".
Asp.net web works fine in VS but not working after pulsihing to site
HoneyBadger66
96
Reputation points
I have this application that I build. It is a APS.NET web application(.NET Framework) using C#. It compile fine and run fine, when I run it in Visual Studio. However, when I publish it to the wwwroot folder on the same machine that I'm developing on, it does not work. I traced my problem to a .DLL that I'm using. I see the dll under the wwwroot/websitename/bin and I registered it.
But still no luck getting it working. Anybody has any idea what might be causing something like that.
Thank you.
Hanna
Accepted answer
1 additional answer
Sort by: Most helpful
-
HoneyBadger66 96 Reputation points
2021-05-10T02:10:24.25+00:00 I published using visual studio and it put it there.