Error when Deployed to Web Server

This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
Post Reply
RBygrave
Posts: 24
Joined: Mon Jan 14, 2008 8:36 pm

Error when Deployed to Web Server

Post by RBygrave » Tue Mar 27, 2012 2:21 pm

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

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Error when Deployed to Web Server

Post by mb » Tue Mar 27, 2012 2:45 pm

Contact support at smartftp
Last edited by mb on Tue Mar 27, 2012 2:46 pm, edited 1 time in total.

RBygrave
Posts: 24
Joined: Mon Jan 14, 2008 8:36 pm

Re: Error when Deployed to Web Server

Post by RBygrave » Tue Mar 27, 2012 2:56 pm

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

RBygrave
Posts: 24
Joined: Mon Jan 14, 2008 8:36 pm

Re: Error when Deployed to Web Server

Post by RBygrave » Tue Mar 27, 2012 6:17 pm

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>

Post Reply