Library error: Side-by-side configuration is incorrect

Arokh

Centurion
Joined
Apr 11, 2006
Messages
124
Hi, I've been searching for a specific library which fits my need and now I finally found it,
but I can't get it to work :/

The first problem was I forgot to change the settings from Any CPU to 86x,
but as soon as I git rid of that error another came:

Code:
System.IO.FileLoadException was unhandled
  Message="Could not load file or assembly 'AvDnCpp, Version=0.7.2526.26249, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
  The application has failed to start because its side-by-side configuration is incorrect.
  Please see the application event log for more detail. (Exception from HRESULT: 0x800736B1)"
  Source="CsOutputExample"
  FileName="AvDnCpp, Version=0.7.2526.26249, Culture=neutral, PublicKeyToken=null"
  FusionLog=""
  StackTrace:
       at CsOutputExample..ctor(String args0)
       at CsOutputExample.Main(String[] args) in D:\My Stuff\Downloads\AVDump2\avdn_v0_7\CsOutputExample\CsOutputExample.cs:line 24
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.Runtime.InteropServices.COMException
       Message="The application has failed to start because its side-by-side configuration is incorrect.
              Please see the application event log for more detail. (Exception from HRESULT: 0x800736B1)"
       ErrorCode=-2147010895
       InnerException:

Event Vier log:
Code:
Activation context generation failed for "D:\My Stuff\Downloads\AVDump2\avdn_v0_7\CsOutputExample\bin\Debug\AvDnCpp.dll".
Dependent Assembly Microsoft.VC80.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0" could not be found.
Please use sxstrace.exe for detailed diagnosis.


Here is the library (it has an example included):
http://www.informikon.com/downloads/informikon/tutorials/avdn_v0_7.zip

After it has compiled, you should be able to drop a video file over it (CsAvcodecSample.exe), which then results in 5 bmp files in the working directory,
representing the first 5 frames of that video file.
 
It looks like there is a version mis-match with the Microsoft.VC80.DebugCRT files, not sure how the best way to solve the problem is though short of rebuilding the original dll.

Sorry I can't be of any more help...
 
Back
Top