Microsoft JET Database Engine (0x80040E14), Please Help.

Reply

Join Date: Feb 2008
Posts: 6
Reputation: SBox is an unknown quantity at this point 
Solved Threads: 0
SBox SBox is offline Offline
Newbie Poster

Microsoft JET Database Engine (0x80040E14), Please Help.

 
0
  #1
Feb 19th, 2008
I Programmed A CMS ( Control Mangament System ) With ASP And When I Programmed The Search Engine This Error Messege Apears :

  1. Microsoft JET Database Engine (0x80040E14)
  2. Syntax error (missing operator) in query expression '??????? like '%??? ??????%' or ?????? like '%??? ??????%' or ????? ??????? like '%??? ??????%' or ????? like '%??? ??????%' or ??????? like '%??? ??????%''.
  3. /science/search.results.asp, line 12

The Search.asp Is

  1. <!--#include file="appearances/grey/templates/header.htm" -->
  2.  
  3. <tr><td colspan="6" bgcolor="#DFDFFF" align="center" width="33%">محرك البحث</td></tr>
  4. <td colspan="6">
  5. <form method="GET" action="search.results.asp">
  6. <p align="center">&nbsp;</p>
  7. <p align="center">
  8. <input type="text" name="Word" size="20"></p>
  9. <p align="center">
  10. <input name="reset" type="reset" value="اعادة" style="width: 45px; height: 25px">
  11. <input name="submit" type="submit" value="ابحث" style="width: 45px; height: 25px">
  12. </p>
  13. </form>
  14. <hr color="#DFDFFF">
  15. </td>
  16.  
  17. <!--#include file="appearances/grey/templates/footer.htm" -->

And The Search.Results.asp IS

  1. <!--#include file="appearances/grey/templates/header.htm" -->
  2.  
  3. <tr>
  4. <td colspan="6">
  5.  
  6. <!--#include file="connection.asp" -->
  7.  
  8. <%
  9. Word=request.querystring("Word")
  10.  
  11. SelectLessonsSQL="select * from الدروس where العنوان like '%"&Word&"%' or الكاتب like '%"&Word&"%' or تاريخ الاضافة like '%"&Word&"%' or الوصف like '%"&Word&"%' or المحتوى like '%"&Word&"%'"
  12. set abedLessons=SB.execute(SelectLessonsSQL)
  13.  
  14. SelectBooksSQL="select * from الكتب where العنوان like '%"&Word&"%' or الكاتب like '%"&Word&"%' or تاريخ الاضافة like '%"&Word&"%' or الوصف like '%"&Word&"%' or الرابط like '%"&Word&"%'"
  15. set abedBooks=SB.execute(SelectBooksSQL)
  16.  
  17. do while not abedLessons.eof
  18. %>
  19.  
  20. <a href="show.lesson.asp?LessonName=<%=abedLessons("العنوان")%>"><%response.write abedLessons("العنوان")%></a>
  21.  
  22. <%
  23. abedLessons.movenext
  24. loop
  25. do while not abedBooks.eof
  26. %>
  27.  
  28. <a href="show.all.books.asp?SectionName=<%=abedBooks("القسم")%>"><%response.write abedBooks("العنوان")%></a>
  29.  
  30. <%
  31. abedBooks.movenext
  32. loop
  33. SB.close
  34. %>
  35.  
  36. <hr color="#DFDFFF">
  37. </td>
  38. </tr>
  39.  
  40. <!--#include file="appearances/grey/templates/footer.htm" -->

Please What Is The Error ?
Last edited by SBox; Feb 19th, 2008 at 8:33 am.
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 514
Reputation: techniner is an unknown quantity at this point 
Solved Threads: 19
techniner techniner is offline Offline
Posting Pro

Re: Microsoft JET Database Engine (0x80040E14), Please Help.

 
0
  #2
Feb 19th, 2008
You probably have the wrong character set loaded and it is not seeing the characters properly and is expecting a > or <
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 6
Reputation: SBox is an unknown quantity at this point 
Solved Threads: 0
SBox SBox is offline Offline
Newbie Poster

Re: Microsoft JET Database Engine (0x80040E14), Please Help.

 
0
  #3
Feb 19th, 2008
Thank You, I Fixed The Problem By Changing The Tables In The Database To English
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC