Asp.net web works fine in VS but not working after pulsihing to site

HoneyBadger66 96 Reputation points
2021-05-09T03:34:50.757+00:00

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

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,463 questions
{count} votes

Accepted answer
  1. HoneyBadger66 96 Reputation points
    2021-05-10T02:15:11.747+00:00

    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".

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. HoneyBadger66 96 Reputation points
    2021-05-10T02:10:24.25+00:00

    I published using visual studio and it put it there.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.