Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Localize It! (L...  Openquery problem executing non-english characters
Previous Previous
 
Next Next
New Post 5/18/2008 12:28 AM
User is offline Packet8i
38 posts
10th Ranked


Openquery problem executing non-english characters 

Hi,

here is my problem which I need to solve asap. I want to search in my file system (.htm files using index server) for both english and arabic, english search is working fine but not arabic. I try to execute it by using sql query pane in dnn and it fails but the same query execute successfully for both english and arabic in SQL Query Analyzer.

One more thing, English and Arabic search on database tables for fulltext search is working fine but not on file system. it drive me crazy. and dont know what to do. please help.

here is the error:

System.Data.SqlClient.SqlException: Cannot execute the query "SELECT Filename FROM SCOPE() WHERE FREETEXT('باستبدال عضوية')" against OLE DB provider "MSIDXS" for linked server "LEGALDBSERVER". OLE DB provider "MSIDXS" for linked server "LEGALDBSERVER" returned message "The query contained only ignored words. ". at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) SELECT Docs.FileName FROM OPENQUERY(LEGALDBSERVER, 'SELECT Filename FROM SCOPE() WHERE FREETEXT(''باستبدال عضوية'')') AS Docs

My development environment:

DNN 4.5

SQL Server 2005

IIS 5

Thanks for any help.

 
New Post 5/22/2008 12:03 AM
User is offline Packet8i
38 posts
10th Ranked


Re: Openquery problem executing non-english characters 

Any Comments or help...........

 
New Post 5/22/2008 12:21 AM
User is offline Packet8i
38 posts
10th Ranked


Re: Openquery problem executing non-english characters 

I figure out one more thing that the samel query works with CONTAINS() but not with FREETEXT().

If I FREETEXT() with CONTAINS() it works fine. But definitely I need to search for all word so I need to use FREETEXT().

 

 
New Post 5/24/2008 7:31 PM
User is offline Packet8i
38 posts
10th Ranked


Re: Openquery problem executing non-english characters 

still no one............

 
New Post 5/25/2008 1:05 AM
User is offline Sebastian Leupold
13566 posts
www.deutschnetnuke.de
1st Ranked












Re: Openquery problem executing non-english characters 

sorry, I do not use Arab in my databases.

Please be aware, that SQL Query Analyzer might act different than data access via .Net DAAB.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Localize It! (L...  Openquery problem executing non-english characters
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca
MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com
Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP