Error when Deployed to Web Server

Windows Server 2008 R2.

When running on dev machine works fine. Deployed to a web server and now when client tries to run I get
Retrieving the COM class factory for component with CLSID {52D6E699-9256-414F-8FCD-F38FDF6AC8EE} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).


So what step am I missing? Code works fine as a windows form application, but we need to get this moved to a web based app.

Thanks

Richard

Contact support at smartftp

So is this a known issue? Allready tried reregistering the dll, but that did not help. Just trying to figure out a path forward.

Richard

I now have it working. Did a few things so not sure exactly which one fixed it.
Using VS2010
Platform Target x64
Items to deploy "All files in project"
did add a app.manifest file (don't think this did anything though)
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="sfFTPLib"
version="1.5.0.0"
language="*"
processorArchitecture="amd64"
/>
</dependentAssembly>
</dependency>