Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows 64 Bit > Fail to create IXSSO.Query object

Reply
Thread Tools Display Modes

Fail to create IXSSO.Query object

 
 
csw
Guest
Posts: n/a

 
      06-08-2010

I'm moving classic asp sites from Windows 2000 / IIS 5 to Windows 2008 R2 /
IIS 7.

* We have the "Indexing Service" started.
* I have forced IIS to run application pool in 32 bit mode.
* IXSSO.DLL is present in System32 directory. (dated 7/13/2009 it is from
W2k8, I assume it is 64 bits)
* Catalogs were created and looked OK.


However, I am unable to create an ixsso.Query object.
Get the following error message :

Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
/HC/ECO/Announcements/Headlines/SearchResults.asp, line 39

The ASP code is like this:
<%
Dim sSearchString
Dim oQuery
Dim results()
sSearchString = Request.Form("query")
Const SEARCH_CATALOG = "Headlines"

Set oQuery =
Server.CreateObject("IXSSO.Query")
oQuery.Catalog = SEARCH_CATALOG
oQuery.Query = "@all " & sSearchString &
" AND NOT #path *downloads* AND NOT #path *images* AND NOT #filename *.class
AND NOT #filename *.asa AND NOT #filename *.css AND NOT #filename
*postinfo.html AND NOT *.txt AND NOT #filename sendmail.asp, AND NOT
#filename *defaultpopup.asp"

oQuery.MaxRecords = 50
' sort by creation date
oQuery.SortBy = "Create[d]"
'oQuery.SortBy = "rank[d]"
oQuery.Columns = "Htmlhref, DocAuthor,
vpath, doctitle, FileName, Path, Write, Size, Rank, Create, Characterization,
DocCategory, HitCount"
Set oRS =
oQuery.CreateRecordSet("nonsequential")
%>


It crashed at " Set oQuery = Server.CreateObject("IXSSO.Query") "


My question:
Can I replace IXSSO.DLL from W2K (6/19/2003 32 Bit ) on W2K8? Thus the
"bitness" issue can be resolved. However the process is still 64 bit, isn't
it?


I was reading one of the old window VISTA forum. I found this explanation,
but I cannot put it together to apply to ASP.

QUOTE
A VBS file will by default be executed by the WScript.exe in System32 folder
but on a 64 bit system this is a 64 bit process. Trying to instance the
class fails since the dll is 32 bit. Using the WScrpt.exe in the SysWOW64
folder works fine.
UNQUOTE

what am I missing?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Runtime error 429: Activex Component Can't create object Peter Foldes Windows Vista General Discussion 0 05-31-2010 10:30 PM
Access Denied error while edit some of the GPOs in Windows 2003 AD Laljeev M Active Directory 24 03-25-2010 01:40 PM
error create object selector to create group or user Javier VFM Windows Server 0 10-28-2009 09:48 AM
ActiveSync 4.1, Calendar and "Processing" Dale Reeck ActiveSync 10 12-20-2005 12:44 AM
WCESmgr.exe crash T.Strothmann ActiveSync 3 05-24-2005 12:36 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59