Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

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.
 
Share this answer
 
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.
 
Share this answer
 
Comments
Member 8699156 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 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 8-Aug-12 23:35pm    
Had you try the Dependency Walker Tool to see what Dll's are missing?
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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900