Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ C#
hello
i try to make windows application by using vs 2011
and i used ITapi3 dll but when i try to debug my project it give me this error
 
Could not load file or assembly 'ITapi3, Version=1.0.0.3, Culture=neutral, PublicKeyToken=36377d9f6f1f4883' 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 or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
Posted 13-Jul-12 23:47pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Could not load file or assembly 'ITapi3, Version=1.0.0.3, Culture=neutral, PublicKeyToken=36377d9f6f1f4883' or one of its dependencies
It says all. Your application is configured to use ITapi3.dll assembly. This assembly is missing for the application you are trying to use. Make sure it is present and referenced to your project. Place it in bin folder.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

If ITapi3 Dll present you can load your compiled exe in Dependency Walker Tool, and it shows you what library in dependency is missing. If it mfc or any Visual C++ runtime - Install Microsoft redistributable package. Note if you have lib file and linked using it you should specify same Runtime Libraries as that lib file (this configure in project settings C/C++ -> Code Generation node). Also you can try to set ITapi3 DLL as Delay Loaded DLL in linker options - this allows you to launch the exe, but you got the message then it require to load that DLL at runtime.
  Permalink  
Comments
Member 8699156 at 26-Jul-12 5:36am
   
i try to Install Microsoft redistributable but i have vs 2011
but i did not found it i found only this
http://www.microsoft.com/en-us/download/details.aspx?id=5555
and it does not match my vs2011
Member 8699156 at 26-Jul-12 5:53am
   
when i try to set up it it give me this message A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine
so i have it but i do not know what the problem
Maxim Kartavenkov at 8-Aug-12 23:35pm
   
Had you try the Dependency Walker Tool to see what Dll's are missing?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Open the Administrative Tools->Event Viewer, and see in Windows Logs->Application the Side By Side errors. Double click on error and see more info about it.
When using reg free com, you have to put all the isolation manifests and dll's in the same folder as your application. Maybe tapi is already in the system, and is not regfree, but you included it in the refree components list. In this case you should exclude it. Or maybe tapi is there but can not be loaded, or it is just missing. There could be even many reasons.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 379
1 Nirav Prabtani 266
2 Abhinav S 210
3 PIEBALDconsult 160
4 Dave Kreskowiak 155
0 OriginalGriff 7,545
1 Sergey Alexandrovich Kryukov 6,757
2 Maciej Los 3,909
3 Peter Leow 3,693
4 CHill60 2,712


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 17 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100