HI
Iam using domino object to send email from my project,and after Programs execute correctly,but I uninstall the lotus application and install it again,and now i have domino object 1.2 version,something like that,once I run the application it gave me error messages.Below I mention what is error message,pls help me to slove this problem

[TEX]Error 1 An assembly with the same simple name 'Interop.Domino, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null has already been imported. Try removing one of the references or sign them to enable side-by-side.c:\Documents and Settings\Administrator\Desktop\Test\No\Noh\bin\Debug\Interop.Domino.dll Memo
[/TEX]

Recommended Answers

All 2 Replies

You could recompile your program against the new version.

In the configuration file the *.config file make this modification using the binding redirect element to redirect your appliation to use the new version and it will work

<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="AssemblyName"
publicKeyToken="32ab4ba45e0a69a1"
culture="neutral" />
<bindingRedirect oldVersion="1.0.0.0"
newVersion="2.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.