1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

fail to create IXSSO.Query object

Discussion in 'Internet Explorer' started by csw, Jun 7, 2010.

  1. csw

    csw Flightless Bird

    I'm moving classic asp sites from Windows 2000 / IIS 5 to Windows 2008 R2 /
    IIS 7.
    We have the "Indexing Service" started. Catalogs were created 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

    ASP code :
    <%
    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")
    %>

    What am I missing?
     
  2. Peter Foldes

    Peter Foldes Flightless Bird

    Windows 2008 R2 is locked down very hard. You need to check your Security
    permissions in W2K8 R2. You probably have your permissions locked down and you might
    need to open it before transferring. Then after transfer re-lock it back again

    --
    Peter

    Please Reply to Newsgroup for the benefit of others
    Requests for assistance by email can not and will not be acknowledged.
    http://www.microsoft.com/protect

    "csw" <csw@discussions.microsoft.com> wrote in message
    news:12A3BFE4-5358-428F-9427-55B68062FC22@microsoft.com...
    > I'm moving classic asp sites from Windows 2000 / IIS 5 to Windows 2008 R2 /
    > IIS 7.
    > We have the "Indexing Service" started. Catalogs were created 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
    >
    > ASP code :
    > <%
    > 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")
    > %>
    >
    > What am I missing?
    >
     
  3. Dan

    Dan Flightless Bird

    "csw" <csw@discussions.microsoft.com> wrote in message
    news:12A3BFE4-5358-428F-9427-55B68062FC22@microsoft.com...
    > I'm moving classic asp sites from Windows 2000 / IIS 5 to Windows 2008 R2
    > /
    > IIS 7.
    > We have the "Indexing Service" started. Catalogs were created 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


    This is not an Internet Explorer issue. Try posting in
    microsoft.public.inetserver.iis

    There could be a number of issues causing this, such as the IXSSO DLL not
    present in the System32 directory, having the application set to the wrong
    "bitness" (eg. you have your application pool in 32-bit mode, but the DLL is
    64-bit, or vice versa), or a permissions issue. You may find that you'll
    have to switch to a different way to search the catalogs, such as using
    MSIDXS.

    --
    Dan
     

Share This Page