473,804 Members | 3,475 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Indexing Service returns bad texts in asp-solution.

Hello.

I have a problem with a small asp-solution that searches for documents with
indexing service. For some files in the search result I get "bad text"
returned, such as
*************** *************** *************** *********
I$OYDURSURGXFWV SURGXFHGLQ0H[LFR/DERUDWRU\5HSRUW/DERUDWRU\2UGHUH U5HVSRQVLEOH6
WDWXV)HPLQLQH*2 7-RKDQVVRQ6XVDQQH )LQDO'DWH)LQDO3 URMHFW3URMHFW1D PH&RVWSODFH9HU
1R$9$523'36XPPD U\7KHUHVXOWV5XQ 2II7KHSURGXFWVW KDWZHUHSURGXFHG ZHUHEDG7KHVXUID F
HPDWHULDOZDVK\G URSKRELFDQGDOOW KHSURGXFWVKDGUX QRII6HHSLFWXUH7 KHSURGXFWVWKDWS U
RGXFHGZHUHJRRG, WZDVWKHVDPHSURG XFWVWKDWSURGXFH GEXWZLWKVSXQERQ G%XURSHVXUIDFHP D
WHULDO7KHSURGXF WVKDGIDVWLQOHWJ RRGVSUHDGLQJLQW KHFRUHDQGQRUXQR II'RVLPDW7KHSUR G
XFWSURGXFHGZDVE DG6HYHUDORIWKHS URGX
*************** *************** *************** *********

while other files returns "good text" like this:
*************** *************** *************** *********
Feminine 865106-Date Final Projectname Orderer 2004-06-02 ALVARO PDP
Johansson Susanne Distributed to: Internal test Alvaro v. 20-21 Summary
Mission Background Comments Conclusion Test methods Test objects Sample No:
20040527-001-01 Alvaro Labrep 2_2.rep SEBJOIS 2004-03-17 Printed by:
labreporter 2004-06-02 15:51:51Laborat ory Report No:20040527-001 Rev: 1
Status:Final Brand /Name SABA Ultr
*************** *************** *************** *********

Parts of the code that I use looks like this, more or less:

*************** *************** *************** *********
set objConnection = Server.CreateOb ject("ADODB.Con nection")
set objIndex = Server.CreateOb ject("ADODB.Rec ordset")
objConnection.C onnectionString = "Provider=MSIDX S;"
objConnection.C onnectionTimeou t = 0
objConnection.O pen
strSQL = "SELECT Characterizatio n, Filename, Path FROM
se_got_data.lim spdf..SCOPE() WHERE "

objIndex.Open strSQL, objConnection

do until objIndex.EOF
Response.write objIndex("Chara cterization")
objIndex.MoveNe xt
loop
objConnection.C lose
Set objConnection = nothing
*************** *************** *************** *********

The problem seems to be this Characterizatio n-part. Has anyone experienced
anything like this before??

Best regards
Martin
Jul 19 '05 #1
2 1485
what files are returning this gibberish? Also can you check to ensure that
the index files with unknown extensions is not checked.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
"Martin Emanuelsson" <ma************ ****@guide.se> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Hello.

I have a problem with a small asp-solution that searches for documents with indexing service. For some files in the search result I get "bad text"
returned, such as
*************** *************** *************** *********
I$OYDURSURGXFWV SURGXFHGLQ0H[LFR/DERUDWRU\5HSRUW/DERUDWRU\2UGHUH U5HVSRQVLEOH6 WDWXV)HPLQLQH*2 7-RKDQVVRQ6XVDQQH )LQDO'DWH)LQDO3 URMHFW3URMHFW1D PH&RVWSODFH9HU 1R$9$523'36XPPD U\7KHUHVXOWV5XQ 2II7KHSURGXFWVW KDWZHUHSURGXFHG ZHUHEDG7KHVXUID F HPDWHULDOZDVK\G URSKRELFDQGDOOW KHSURGXFWVKDGUX QRII6HHSLFWXUH7 KHSURGXFWVWKDWS U RGXFHGZHUHJRRG, WZDVWKHVDPHSURG XFWVWKDWSURGXFH GEXWZLWKVSXQERQ G%XURSHVXUIDFHP D WHULDO7KHSURGXF WVKDGIDVWLQOHWJ RRGVSUHDGLQJLQW KHFRUHDQGQRUXQR II'RVLPDW7KHSUR G XFWSURGXFHGZDVE DG6HYHUDORIWKHS URGX
*************** *************** *************** *********

while other files returns "good text" like this:
*************** *************** *************** *********
Feminine 865106-Date Final Projectname Orderer 2004-06-02 ALVARO PDP
Johansson Susanne Distributed to: Internal test Alvaro v. 20-21 Summary
Mission Background Comments Conclusion Test methods Test objects Sample No: 20040527-001-01 Alvaro Labrep 2_2.rep SEBJOIS 2004-03-17 Printed by:
labreporter 2004-06-02 15:51:51Laborat ory Report No:20040527-001 Rev: 1
Status:Final Brand /Name SABA Ultr
*************** *************** *************** *********

Parts of the code that I use looks like this, more or less:

*************** *************** *************** *********
set objConnection = Server.CreateOb ject("ADODB.Con nection")
set objIndex = Server.CreateOb ject("ADODB.Rec ordset")
objConnection.C onnectionString = "Provider=MSIDX S;"
objConnection.C onnectionTimeou t = 0
objConnection.O pen
strSQL = "SELECT Characterizatio n, Filename, Path FROM
se_got_data.lim spdf..SCOPE() WHERE "

objIndex.Open strSQL, objConnection

do until objIndex.EOF
Response.write objIndex("Chara cterization")
objIndex.MoveNe xt
loop
objConnection.C lose
Set objConnection = nothing
*************** *************** *************** *********

The problem seems to be this Characterizatio n-part. Has anyone experienced
anything like this before??

Best regards
Martin

Jul 19 '05 #2
Hello Hilary.

The files that I'm searching in are all PDF's.

Could you please explain the unknown extensions part a little bit more, not
quite sure what this is.

/Martin
"Hilary Cotter" <hi***********@ gmail.com> wrote in message
news:eW******** *****@TK2MSFTNG P11.phx.gbl...
what files are returning this gibberish? Also can you check to ensure that
the index files with unknown extensions is not checked.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
"Martin Emanuelsson" <ma************ ****@guide.se> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Hello.

I have a problem with a small asp-solution that searches for documents

with
indexing service. For some files in the search result I get "bad text"
returned, such as
*************** *************** *************** *********

I$OYDURSURGXFWV SURGXFHGLQ0H[LFR/DERUDWRU\5HSRUW/DERUDWRU\2UGHUH U5HVSRQVLEOH6

WDWXV)HPLQLQH*2 7-RKDQVVRQ6XVDQQH )LQDO'DWH)LQDO3 URMHFW3URMHFW1D PH&RVWSODFH9HU

1R$9$523'36XPPD U\7KHUHVXOWV5XQ 2II7KHSURGXFWVW KDWZHUHSURGXFHG ZHUHEDG7KHVXUID F

HPDWHULDOZDVK\G URSKRELFDQGDOOW KHSURGXFWVKDGUX QRII6HHSLFWXUH7 KHSURGXFWVWKDWS U

RGXFHGZHUHJRRG, WZDVWKHVDPHSURG XFWVWKDWSURGXFH GEXWZLWKVSXQERQ G%XURSHVXUIDFHP D

WHULDO7KHSURGXF WVKDGIDVWLQOHWJ RRGVSUHDGLQJLQW KHFRUHDQGQRUXQR II'RVLPDW7KHSUR G
XFWSURGXFHGZDVE DG6HYHUDORIWKHS URGX
*************** *************** *************** *********

while other files returns "good text" like this:
*************** *************** *************** *********
Feminine 865106-Date Final Projectname Orderer 2004-06-02 ALVARO PDP
Johansson Susanne Distributed to: Internal test Alvaro v. 20-21 Summary
Mission Background Comments Conclusion Test methods Test objects Sample

No:
20040527-001-01 Alvaro Labrep 2_2.rep SEBJOIS 2004-03-17 Printed by:
labreporter 2004-06-02 15:51:51Laborat ory Report No:20040527-001 Rev: 1
Status:Final Brand /Name SABA Ultr
*************** *************** *************** *********

Parts of the code that I use looks like this, more or less:

*************** *************** *************** *********
set objConnection = Server.CreateOb ject("ADODB.Con nection")
set objIndex = Server.CreateOb ject("ADODB.Rec ordset")
objConnection.C onnectionString = "Provider=MSIDX S;"
objConnection.C onnectionTimeou t = 0
objConnection.O pen
strSQL = "SELECT Characterizatio n, Filename, Path FROM
se_got_data.lim spdf..SCOPE() WHERE "

objIndex.Open strSQL, objConnection

do until objIndex.EOF
Response.write objIndex("Chara cterization")
objIndex.MoveNe xt
loop
objConnection.C lose
Set objConnection = nothing
*************** *************** *************** *********

The problem seems to be this Characterizatio n-part. Has anyone experienced anything like this before??

Best regards
Martin


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1582
by: sebastian | last post by:
Hi. I'm trying to build a site that based on a user entry searches through the contents of files on a disk and displays a list of files which contents match user criteria (basicaly a word). How to extract a part of the document (paragraph ecc), where the searched word is found. OLE DB provider for Indexing service provides atribute Characterization, which returns the subject of the document, but not the correct paragraph. Is there any...
15
7802
by: Jay | last post by:
Hello all. I've recently transferred our web sites from a Windows2000 server to a Windows2003 server. The transfer went almost flawless until I noticed that our search function isn't working anymore. I'm using an ASP script to use the Indexing Services and have set up my catalogs and directories but I'm getting a 'type mismatch' on one of my Server.URLEncode commands. Do I need to obtain a new script to utilize the Indexing Services of...
2
1400
by: Brent | last post by:
Hi, I have indexing servicing working fine on my test server for a search engine in C# ASP.NET, but when I tried to make one on our live server, its not working correctly. The index only returns results for pages in the root so far. It seems like the indexing doesn't want to finish. It is listed as Paused(User Active) or whatever it says. I tried to do a manual "Rescan (Full)" but it doesn't kick in. It just stays paused. The server is...
3
2213
by: jliusolar | last post by:
Hi I am trying to figure out why an application get this error when I am trying to open the application's asmx file from localhost. I don't have indexing service running(it set as manual and not started). I also created an .aspx file to do testing The .aspx file opens fine in other directory from IE. As long as I put it in the application's directory, set a virtual directory trying to open it, it also gives me the following error. I don't...
0
1457
by: Brian Call | last post by:
We have a customer that is getting an "Access is denied" (to a specific dll in the application's bin directory) error on XP when trying to run an ASP.NET application. All the posts and KB articles I have read (such as http://support.microsoft.com/default.aspx?scid=kb;en-us;329065) say that this happens when indexing service is running. But in this case we have verified that it is not running. I have also looked at file permissions and do...
1
2713
by: Byron | last post by:
Hey, I'm fussing around with a first attempt at using IIS6's indexing service for a web site search page. The trouble is, my site, while not using a database, is largely dynamic, with much of the content filled in with variables and includes, and index server only seems to index the actual code of each file, and not the contents as seen by web viewers. So if I have my default.asp file dynamically cobbled together by several other files,...
10
2992
by: Lyle Fairfield | last post by:
By default mdb etc files are not searched by Indexing Service. The default can be changed in Windows XP Pro using Group Policy. I can find no suggested way to make the change in the Windows XO Home. I decided to try adding this Registry Key: "ExcludeExtensions"="" "SyncAtLogon"=dword:00000001 "SyncAtLogoff"=dword:00000001
3
9560
by: Chung Leong | last post by:
Here's the rest of the tutorial I started earlier: Aside from text within a document, Indexing Service let you search on meta information stored in the files. For example, MusicArtist and MusicAlbum let you find MP3 and other music files based on the singer and album name; DocAuthor let you find Office documents created by a certain user; DocAppName let you find files of a particular program, and so on. Indexing Service uses plug-ins...
8
2418
by: ash | last post by:
i'm using the indexing service and CreateRecordSet("nonsequential") in asp.......and i cant retrieve the record although the keywords is matched. Does anybody know how to solve it? thx
2
8112
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a server 2008 IIS 7.0 with indexing service installed. I have created the catalog and have a test page using these posts: http://kbalertz.com/954822/install-configure-Indexing-Service-Windows-Server-computer.aspx http://kbalertz.com/820105/Application-Query-Indexing-Service-Catalog-Using-Visual-Basic.aspx I can search some files .xls .doc and others but It will not find anything in .pdf
0
9708
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9588
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10589
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10327
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7625
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.