asp.net com 80040154 Class not registered

http://www.cnblogs.com/hgblog/archive/2013/02/02/2890298.html


When deploying an asp.net site containing a com component reference, it always prompts the following error

Retrieving the COM class factory for component with CLSID {OMMITTED3F344F00E93D} failed due to the following error: 80040154 Class not registered,

but I wrote a console program and referenced the same com, but it was successful. This should be because the settings on IIS are not correct.

So I searched for "ASP.NET error 80040154 Class not registered" on the Internet. Some people say that the application pool is set,

that is, allow 32-bit applicationse is true in the advanced settings of the application pool.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326432372&siteId=291194637