Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: Migration from 14.5 to 15 DLL nightmare
Started by pyttroll at 02-07-2008 12:35. Topic has 7 replies.

Print Search « Previous Thread Next Thread »
  02-07-2008, 12:35
pyttroll is not online. Last active: 1/24/2008 5:07:26 PM pyttroll

Not Ranked
Joined on 01-24-2008
Posts 5
Migration from 14.5 to 15 DLL nightmare
Reply Quote
Hello,<br />
<br />
I'm trying to migrate from v14.5 to v15. <br />
Everything works perfectly on the development machine.<br />
Things started to get ugly when I tried to build the solution on our teambuild server, even though the DLLs (Leadtools DLLs, Microsoft.VC80.CRT.manifest, msvcm80.dll, msvcp80.dll, msvcr80.dll) were in the application directory it never built until I installed VC++ 2005 Redist Package x86.<br />
Now that the solution builds I can install the application through ClickOnce but I get the following error:<br />
<br />
System.IO.FileLoadException: Could not load file or assembly 'Leadtools.Codecs, Version=15.0.0.0, Culture=neutral, PublicKeyToken=9cf889f53ea9b907' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)<br />
File name: 'Leadtools.Codecs, Version=15.0.0.0, Culture=neutral, PublicKeyToken=9cf889f53ea9b907' ---> System.Runtime.InteropServices.COMException (0x800736B1): This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)<br />
<br />
The file list in ma application directory is:<br />
<br />
<ul>
<li>Leadtools.cdf-ms</li>
<li>Leadtools.Codecs.cdf-ms</li>
<li>Leadtools.Codecs.Cmp.cdf-ms</li>
<li>Leadtools.Codecs.Cmp.dll</li>
<li>Leadtools.Codecs.Cmp.manifest</li>
<li>Leadtools.Codecs.dll</li>
<li>Leadtools.Codecs.manifest</li>
<li>Leadtools.dll</li>
<li>Leadtools.ImageProcessing.Color.cdf-ms</li>
<li>Leadtools.ImageProcessing.Color.dll</li>
<li>Leadtools.ImageProcessing.Color.manifest</li>
<li>Leadtools.ImageProcessing.Utilities.cdf-ms</li>
<li>Leadtools.ImageProcessing.Utilities.dll</li>
<li>Leadtools.ImageProcessing.Utilities.manifest</li>
<li>Leadtools.manifest</li>
<li>Leadtools.WinForms.cdf-ms</li>
<li>Leadtools.WinForms.dll</li>
<li>Leadtools.WinForms.manifest</li>
<li>msvcm80.cdf-ms</li>
<li>msvcm80.dll</li>
<li>msvcm80.manifest</li>
<li>msvcp80.dll</li>
<li>msvcr80.dll</li>
</ul>
<br />
<p>(Note that the manifest files & cdf-ms are generated by the mage.exe tool for publishing ClickOnce apps)</p>

I spent the last 4 days trying to figure this out. <br />
What do I need to do to get this to work?<br />
It use to work fine with v14.5, I noticed that some of the core DLLs are no longer MSIL but x86.<br />
<br />
Thanks in advance for the help<br />
<br />
Pierre-Yves Troel<br />
<a href="http://www.ayudasystems.com">Ayuda Media Systems</a><br />
   Report 
  02-07-2008, 13:10
pyttroll is not online. Last active: 1/24/2008 5:07:26 PM pyttroll

Not Ranked
Joined on 01-24-2008
Posts 5
Re: Migration from 14.5 to 15 DLL nightmare
Reply Quote
(Same message with no HTML tags)

Hello,

I'm trying to migrate from v14.5 to v15.
Everything works perfectly on the development machine.
Things started to get ugly when I tried to build the solution on our teambuild server, even though the DLLs (Leadtools DLLs, Microsoft.VC80.CRT.manifest, msvcm80.dll, msvcp80.dll, msvcr80.dll) were in the application directory it never built until I installed VC++ 2005 Redist Package x86.
Now that the solution builds I can install the application through ClickOnce but I get the following error:

System.IO.FileLoadException: Could not load file or assembly 'Leadtools.Codecs, Version=15.0.0.0, Culture=neutral, PublicKeyToken=9cf889f53ea9b907' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
File name: 'Leadtools.Codecs, Version=15.0.0.0, Culture=neutral, PublicKeyToken=9cf889f53ea9b907' ---> System.Runtime.InteropServices.COMException (0x800736B1): This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)

The file list in ma application directory is:

Leadtools.cdf-ms
Leadtools.Codecs.cdf-ms
Leadtools.Codecs.Cmp.cdf-ms
Leadtools.Codecs.Cmp.dll
Leadtools.Codecs.Cmp.manifest
Leadtools.Codecs.dll
Leadtools.Codecs.manifest
Leadtools.dll
Leadtools.ImageProcessing.Color.cdf-ms
Leadtools.ImageProcessing.Color.dll
Leadtools.ImageProcessing.Color.manifest
Leadtools.ImageProcessing.Utilities.cdf-ms
Leadtools.ImageProcessing.Utilities.dll
Leadtools.ImageProcessing.Utilities.manifest
Leadtools.manifest
Leadtools.WinForms.cdf-ms
Leadtools.WinForms.dll
Leadtools.WinForms.manifest
msvcm80.cdf-ms
msvcm80.dll
msvcm80.manifest
msvcp80.dll
msvcr80.dll

(Note that the manifest files & cdf-ms are generated by the mage.exe tool for publishing ClickOnce apps)

I spent the last 4 days trying to figure this out.
What do I need to do to get this to work?
It use to work fine with v14.5, I noticed that some of the core DLLs are no longer MSIL but x86.

Thanks in advance for the help,

Pierre-Yves Troel
Ayuda Media Systems
   Report 
  02-11-2008, 17:56
Travis is not online. Last active: 9/26/2008 11:27:59 AM Travis



Top 25 Posts
Joined on 07-07-2003
In house
Posts 287
Re: Migration from 14.5 to 15 DLL nightmare
Reply Quote
It sounds like you've come across the same issue we have.  If you noticed we have our own demos on our web site using ClickOnce (or No Touch Deploy).  http://www.leadtools.com/Home2/general/ClickOnce-Technology.htm

In creating these demos we have found an issue with Visual Studio.  As a prerequisite for our DLLs you need the SP1 Redistributable.  Unfortunately if you select this, Visual Studio doesn't actually deploy the SP1 Redistributables. 

As a test browse to:
(x86) http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en
(x64) http://www.microsoft.com/downloads/details.aspx?familyid=EB4EBE2D-33C0-4A47-9DD4-B9A6D7BD44DA&displaylang=en

and install the redistributables yourself and see if this issue goes away.  If so, then this is what your issue is.  I can post back instructions on how to workaround the issue so your ClickOnce still works as it should.

If the issue still occurs however let me know and we can go from there.

Travis Montgomery
LEAD Technical Support
   Report 
  02-14-2008, 16:47
pyttroll is not online. Last active: 1/24/2008 5:07:26 PM pyttroll

Not Ranked
Joined on 01-24-2008
Posts 5
Re: Migration from 14.5 to 15 DLL nightmare
Reply Quote
Hello,

I installed "CS MainDemo" on my client machine and it prompted me to install the SP1 Redistributable, which I did. After the install was done, the demo application started and I managed to open an image.

I then tried to start my application but it still failed with the same error.

Any ideas?

Thanks,

Pierre-Yves Troel
   Report 
  02-15-2008, 10:37
Travis is not online. Last active: 9/26/2008 11:27:59 AM Travis



Top 25 Posts
Joined on 07-07-2003
In house
Posts 287
Re: Migration from 14.5 to 15 DLL nightmare
Reply Quote
Try removing the *.manifest files and the Microsoft files from your application's directory.  Your application maybe still pulling them from that directory.

Travis Montgomery
LEAD Technical Support
   Report 
  02-15-2008, 10:56
pyttroll is not online. Last active: 1/24/2008 5:07:26 PM pyttroll

Not Ranked
Joined on 01-24-2008
Posts 5
Re: Migration from 14.5 to 15 DLL nightmare
Reply Quote
I removed the dll and manifest files from my clickonce application's directory but the problem is still there.
   Report 
  02-15-2008, 11:38
Travis is not online. Last active: 9/26/2008 11:27:59 AM Travis



Top 25 Posts
Joined on 07-07-2003
In house
Posts 287
Re: Migration from 14.5 to 15 DLL nightmare
Reply Quote
Let's do this then.  We need to know which DLLs are in use and from where they are being loaded.  Let's use Process Explorer to do this: http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx

Run your application, then run ProcessExplorer. In the top pane select your application. Next click, View | Show Lower Pane, then View | Lower Pane | Show DLLs. You should now see a list of all the DLLs currently loaded by your application. Click the Description tab to sort them by name to group all the LEADTOOLS DLLs together. Also you may need to right click the column and check "path" to show the full path of where each DLL is being loaded from.
Next use your application a bit on the development machine to see if any more DLLs are used. You can then see a list of all the DLLs you application uses. Make sure these are all in your setup. You can also click File | Save to save this list as a text file to disk.
This should help in making sure you have included all the DLLs necessary to deploy your application.

Travis Montgomery
LEAD Technical Support
   Report 
  02-15-2008, 12:01
pyttroll is not online. Last active: 1/24/2008 5:07:26 PM pyttroll

Not Ranked
Joined on 01-24-2008
Posts 5
Re: Migration from 14.5 to 15 DLL nightmare
Reply Quote
Thanks Travis, I will check this out.
   Report 
Post
LEAD Support Fo... » Developer » Deployment » Re: Migration from 14.5 to 15 DLL nightmare

Powered by Community Server, by Telligent Systems