hello all
i am trying hard to integrate the search engine code but have failed, my site is on local lan server with the root folder as a virtual folder , my site is in c# , i have placed the contents in the folder named searchdotnetc , but the code dosnt works, i modified the code made the class partial for the cs file and also tried placing the contents folder in the app code , but i still parsers only static pages and that to only in the searchdotnetc folder for the dynamic pages it gives the error
Line 273: wcMicrosoft = new System.Net.WebClient();
Line 274: objUTF8Encoding = new UTF8Encoding();
Line 275: srchFile.Contents = objUTF8Encoding.GetString(
Line 276: wcMicrosoft.DownloadData(String.Format("{0}/{1}", Searchs.Site.ApplicationPath, srchFile.Path)));
Line 277: } |
Source File: v:\SITENAMEwww\App_Code\components\UserSearch.cs
Line: 275
Stack Trace:
[WebException: The remote server returned an error: (404) Not Found.]
System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +338
System.Net.WebClient.DownloadData(Uri address) +181
System.Net.WebClient.DownloadData(String address) +26
Searchs.UserSearch.GetDynamicFileContent(Page srchFile) in v:\SITENAME\www\App_Code\components\UserSearch.cs:275
|
please help .....