If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > 501 - Illegal assignment

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-15-06, 15:37
lynn22 lynn22 is offline
Registered User
 
Join Date: May 2005
Posts: 17
501 - Illegal assignment

Hi,

I have 2 sites and each runs the same backend script to edit Access Dbases.
The script has been running successfully for a few years.

Today, a visitor added some content to the Dbase of one site and now trying to login to the admin section I get the following error :

Database connection failed
When connecting to the database, the following error(s) occured:

501 - Illegal assignment

I downloaded the accessed Dbase and all entries are correct, I also ran a repair and compact.
After uploading the Dbase again still no success to login.

Any ideas on the reason for this error are much appreciated.
Many thanks
Lynn

I found the solution and the problem is now solved

Last edited by lynn22; 01-15-06 at 18:22. Reason: I found the solution
Reply With Quote
  #2 (permalink)  
Old 01-15-06, 20:22
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
No page name or code line number in the error message?

Off the top of my head I could imagine that maybe a DSN for the connection no longer exists on the server for some reason...
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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