Search the web
Sign In
New User? Sign Up
dtsearch · dtSearch Users Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
64/32 bit dtSearch engine DLL for ASP.NET Application   Message List  
Reply | Forward Message #1890 of 1900 |
Re: [dtsearch] 64/32 bit dtSearch engine DLL for ASP.NET Application


>Currently we have a testing server which is 32 bit and Production
>server is 64 bit.
>and DTSearch engine DLL version: 7.61.7769.1 installed on both servers.
>
>Scenario:
>We have .Net Wrapper DLL which we compiling with AnyCPU option as we
>have to use this DLL on 32 bit as well as 64 bit cpu.
>Now we have added a reference of dt search DLL (i.e dtengine64.dll)
>in wrapper .Net DLL . when we run this on 32 bit testing server it
>works fine, but when we run the same DLL on 64 bit cpu
>it is giving below error message
>
>
>Error Details:
>
>Error Message: Retrieving the COM class factory for component with
>CLSID {A967E5D2-B0E1-11D3-B57C-00105AA461D0} failed due to the
>following error: 80040154.
>
>Can you please suggest what we are missing.
>
>Searching on the web revealed that we may have to complile the .net
>wrapper with x86. We would like to keep the ANY CPU option since we
>want the .net wrapper DLL to run 64 bit on 64 bit servers and 32 bit
>on 32 bit server.

Compiling for AnyCPU can be problematic because there are two
different dtSearchNetApi2.dll versions, a 64-bit version and a 32-bit
version. If the wrong one tries to load in a process, you can get an
error. However, usually the symptom you get is a BadImageFormat
exception rather than a COM error. (See:
http://support.dtsearch.com/faq/dts0223.htm)

Based on the CLSID, it looks like you are using the dtSearch Engine's
COM interface instead of the .NET interface. If this is the case,
unregister dten600.dll and register dtengine64.dll to ensure that the
correct library is found.

David Thede
dtSearch Corp.





Mon Jun 29, 2009 1:24 pm

davidthede
Offline Offline
Send Email Send Email

Forward
Message #1890 of 1900 |
Expand Messages Author Sort by Date

Currently we have a testing server which is 32 bit and Production server is 64 bit. and DTSearch engine DLL version: 7.61.7769.1 installed on both servers. ...
shrirangmokashi
Offline Send Email
Jun 29, 2009
1:12 pm

... Compiling for AnyCPU can be problematic because there are two different dtSearchNetApi2.dll versions, a 64-bit version and a 32-bit version. If the wrong...
David Thede
davidthede
Offline Send Email
Jun 29, 2009
1:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help