Author |
Topic |
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 21 April 2009 : 07:22:38
|
Replace your "dbs_classifieds.asp" with the following, then retry it.
|
|
|
zakazn
New Member
58 Posts |
Posted - 21 April 2009 : 07:32:00
|
Thanks for that Carefree - I have done that and now get the following:-
Snitz Classifieds Ads 3.4
Dropping Table..
Table does not exist Dropping Table..
Table does not exist Creating table(s)... CREATE TABLE FORUM_ADS_CONTENT( ID int IDENTITY (1, 1) PRIMARY KEY NOT NULL , TOPIC_ID int NOT NULL , NAME varchar(75) NULL , EMAIL varchar(50) NOT NULL , DATE_POSTED text (20) NOT NULL , PRICE varchar(20) NULL , AD_TITLE varchar(100) NOT NULL , CONTENT memo NOT NULL , ADDRESS varchar(100) NULL , CITY varchar(50) NOT NULL , STATE varchar(20) NOT NULL , ZIP varchar(12) NULL , LINK varchar(100) NULL , IMAGE_URL varchar(75) NULL , ADDED_BY int NOT NULL ) Table already exists
Creating table(s)... CREATE TABLE FORUM_ADS_CATEGORY( ID int IDENTITY (1, 1) PRIMARY KEY NOT NULL , CATEGORY_NAME varchar(50) NOT NULL , DESCRIPTION memo NULL ) Table already exists
Adding new records.. INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Antiques', 'Coins, Furniture, Instruments, Collectibles, more...') INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Antiques', 'Coins, Furniture, Instruments, Collectibles, more...') -2147217865 | [Microsoft][ODBC Microsoft Access Driver] Could not find output table 'FORUM_ADS_CATEGORY'.
Adding new records.. INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Computers', 'Accessories, Desktop, Laptop, more...') INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Computers', 'Accessories, Desktop, Laptop, more...') -2147217865 | [Microsoft][ODBC Microsoft Access Driver] Could not find output table 'FORUM_ADS_CATEGORY'.
Adding new records.. INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Real Estate', 'Apartments, Condos, more...') INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Real Estate', 'Apartments, Condos, more...') -2147217865 | [Microsoft][ODBC Microsoft Access Driver] Could not find output table 'FORUM_ADS_CATEGORY'.
Adding new records.. INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Automobiles', 'Cars, Imports, Motocycles, more...') INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Automobiles', 'Cars, Imports, Motocycles, more...') -2147217865 | [Microsoft][ODBC Microsoft Access Driver] Could not find output table 'FORUM_ADS_CATEGORY'.
Adding new records.. INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Wanted', 'Merchandise, Services, more...') INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Wanted', 'Merchandise, Services, more...') -2147217865 | [Microsoft][ODBC Microsoft Access Driver] Could not find output table 'FORUM_ADS_CATEGORY'.
Adding new records.. INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Relationships', 'Man seeking Woman, Woman seeking Man, etc...') INSERT INTO FORUM_ADS_CATEGORY (category_name, description) VALUES ('Relationships', 'Man seeking Woman, Woman seeking Man, etc...') -2147217865 | [Microsoft][ODBC Microsoft Access Driver] Could not find output table 'FORUM_ADS_CATEGORY'.
|
|
|
zakazn
New Member
58 Posts |
Posted - 21 April 2009 : 11:51:53
|
Does anyone have an idea of why this is happening? Any help would be much appreciated.
Jill |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 21 April 2009 : 13:08:35
|
Not a clue. Its a bit confusing because its not dropping the tables as they don't exist, but its not creating the table due to the fact that it already exists - but it can't add the records because it doesn't exist. Your DB server may be schizophrenic... |
|
|
zakazn
New Member
58 Posts |
Posted - 21 April 2009 : 13:35:47
|
quote: Originally posted by AnonJr
Not a clue. Its a bit confusing because its not dropping the tables as they don't exist, but its not creating the table due to the fact that it already exists - but it can't add the records because it doesn't exist. Your DB server may be schizophrenic...
Well I am no expert, but that is sort of what I thought.
Anyone else have any ideas on how to fix this? |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 21 April 2009 : 18:36:45
|
About the only alternative is to manually add the tables to the DBase. You should take the board off-line first. If you need help, just ask. |
|
|
gary b
Junior Member
USA
267 Posts |
Posted - 23 April 2009 : 22:57:54
|
I would triple-check database/website permissions. If you do not have access permission, the table in effect does not exist.
If you modify the SQL to utilize an existing table -- such as append a record, does the SQL execute properly?
Just 2 thoughts... a penny a piece.
|
|
|
Topic |
|
|
|