Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

VPath not appearing from asp search script results

Posted on 2004-11-17
3
Medium Priority
?
295 Views
Last Modified: 2009-07-29
Hi all,
        I have been trying to make this asp search script display the VPath to its results and cannot seem to make it work.  Here is the background.  I have created a site on my win2k server and IIS.  The site created is not local it is on a remote server \\servername\share_name.  The site contains word, ppt and other types of documentation.  I next created a new index via the indexing svc on the IIS box specific to the site in question.  I am pretty sure that all necessary steps are done.  

The ASP script runs fine and returns results to queries.  However, the VPath is unavailable.  If I use the search tool from within the indexing service and query the index it returns with info and a VPath in this format \\servername\sharename\filename.

Is there a way the when the query results are returned, to make the VPath appear?  Here is a link to a text versions of the script:

Link 1 - http://ca.geocities.com/screen_shots@rogers.com/asp1.pdf
Link 2 - http://ca.geocities.com/screen_shots@rogers.com/asp2.pdf

It would be really great if I can make this work, so that remote offices I work with can search for documents via the internet.
0
Comment
Question by:nappy_d
2 Comments
 
LVL 32

Author Comment

by:nappy_d
ID: 12625883
I found the answer to my own question with the help of a firend....

' Output the field value as table data.

      'if objField.Name <> "Path" then
      if strComp(objField.Name, "Path", 1) <> 0 Then
      Response.Write "<td>" & strValue & "</td>" & vbCrLf
      'Response.Write "<td><a href=\"" & strValue & "\">" & strValue & "</a></td>" & vbCrLf
Else
      Response.Write "<td><a href='" & strValue & "' target='_blank'>" & strValue & "</a></td>" & vbCrLf
      End If    
Next
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12874641
PAQed with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question