Web Design and Development Forums

Got an error on the search feature

This is a discussion on "Got an error on the search feature" within the ASP Forum section. This forum, and the thread "Got an error on the search feature are both part of the Program Your Website category.


Go Back   Webforumz.com > Program Your Website > ASP Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Jan 6th, 2008, 18:40   #1 (permalink)
Junior Member
 
Join Date: Dec 2007
Location: Minnesota
Age: 25
Posts: 35
Got an error on the search feature

Hi.

Our website is not searching for anything. The search box use to work but now users just get an error.
I followed the error to see what was happening and well i cant see what is wrong. Its bringing up this error when users try to search.



Microsoft OLE DB Provider for ODBC Drivers error '80040e4d'
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x1e8 Thread 0x234 DBC 0x995ef64 Jet'.
/Research_Library_backend.asp, line 85




I opened up the research libary asp file and looked at line 85,, cant see anything out of the ordinary.


here is a link to the website so you can see for yourself. Search engine is located in the research libary section.


http://browncountyhistorymnusa.org/

Below i have copied and pasted the part of the research libary file.


strconn="DRIVER=Microsoft Access Driver (*.mdb);DBQ=" & Server.MapPath("browncounty.mdb")
SET objConn=Server.CreateObject("ADODB.Connection")
objConn.Open strconn
Set objRec = Server.CreateObject("ADODB.Recordset")

response.write "<table border=1>"

That is from line 82-88.
Im defo confused at this and we sure aint ASP experts.
thanks for your help
shammy2007 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Jan 7th, 2008, 03:16   #2 (permalink)
Most Reputable Member
 
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,567
Blog Entries: 2
Send a message via Yahoo to Monie
Re: Got an error on the search feature

Error codes in ASP can drive you crazy sometimes.

First, this in general means there is a PERMISSION problem getting to the DATABASE. Usually this happens when you do a security patch on your server, reboot your server, or install firewall software. All of these things can cause your web user to lose permission to access the critical files (like your database).

So first, check the basics. Make sure that IUSR has write permission to both the directory holding the database file and to any temp directories being used. Make sure that the DSN connection string is actually pointed at the directory you are working on! Check out my Connection String Here!

Even if you thought these were set properly, a reboot or a security upgrade might have unset them. Check them out!

Next, look into any other security blocks that may have been added. Have you added any anti virus or firewall software recently? Try turning it off and see if that helps. If it does, turn the software back on and then go into its configuration, and allow access to the directories in question.

Hope that's helps..
Cheers..
__________________


Last edited by Monie; Jan 7th, 2008 at 03:21.
Monie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep getting error message Microsoft VBScript runtime error '800a01a8' cpando1974 ASP Forum 2 Aug 7th, 2007 12:00
Search Analyst/Account Executive/SEO/PPC/CPC/Search Engine Optimisation/Pay per Click/London Web JobBot Job Opportunities 0 Nov 22nd, 2006 10:20
SEO/PPC/Search Engine Optimisation/Pay Per Click/Campaigns/Online/Marketing/Agency/Analyst/Search/Manager/Executive/Manchester Web JobBot Job Opportunities 0 Nov 17th, 2006 11:11



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 20:07.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59