Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2007-03-05 : 10:44:19
|
Omer writes "Hello,my goal is to add an extended search to a website, which will includesearching the requested term both in by database and infiles(pdf,doc,ppt....) uploaded by the admins to a directory on the site.not all files should be accessible to all users, some are related toarticles which is now marked as hidden and some are related toarticles which marked as special permissions required.all permissions data are in my db on the articles that relate thefilesim using MS SQL2K SP4 on WIN2K3 SP1, and all tests are done in the QueryAnalyzerso what ive done so far is this:crating a linked server to the Indexing Service(MSIDXS) in the sqlserver as MyLinkedServerthis query works but takes along time to complete(over a minute):select * from myArticlesCombiningView whereconvert(varchar(8000),content) in(select vpath from openquery(MyLinkedServer,'select vpath from scope()where freetext(''SearchString'') order by rank desc'))myArticlesCombiningView is a view combining all my sections currentlyreturning over 27K recordson the test i used a very common search string wich the users mysubmit and it returned about 450 files/records from the Indexingserviceso ive tried to make it lighter and made the following query afterconsulting 2 colleagues"select * from myArticlesCombiningView where(select vpath from openquery(MyLinkedServer,'select vpath from scope()where freetext(''SearchString'')') whereconvert(varchar(8000),content)=vpath) is not nullthis gives me th following error"ODBC: Msg 0, Level 19, State 1SqlDumpExceptionHandler: Process 63 generated fatal exception c0000005EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.Connection Broken "ive found some articles/posts about Access Violation in SQL alltelling that it is caused or by a db corruption or by a bug in SQLServerso ive checked the db and its fine,i will appreciate some advice on this error or a different method toaccomplish my taskthanksOmer" |
|
|
|
|
|
|