Ask a Question related to Coldfusion Database Access, Design and Development.
-
Glen T #1
ODBC Error Code = S0002 (Base table not found)
I just deployed my first CF application. The ISP has set up the DSN. But now,
when I run the application, I get the following error:
ODBC Error Code = S0002 (Base table not found)
This error occurs when I try to access either of the two tables in the DB. It
looks like the datasource is pointing to the wrong DB (not mine). Or maybe the
DB file is corrupted? What else could this be?
Glen T Guest
-
Multiple Managed Servers and same code base
I have 2 weblogic 8.1 SP4 managed app servers, sitting on one physical machine, pointing to the same code base (CF in general but I am using CF6 as... -
ColdFusion MX ODBC Server cannot be found
Has anyone solved this yet? -
ODBC Error Code = 23000 (Integrity constraint violation)
Hi, I have been trying to fix this problem for 3 hours, but still no progress. The error is like this: ODBC Error Code = 23000 (Integrity... -
ODBC Error - TSN Service name not found
Hi, I have a peculiar problem. Our 4 sites are running on Win 2000 / Oracle ( ASP Pages) . 4 different user name and password in oracle .I... -
Microsoft Cursor Engine - Insufficient base table information for updating or refreshing.
Hi, Since my db upgrade from SQL 7 to SQL 2000, one of my MTS objects fails with the error: "0x80004005 Microsoft Cursor Engine - Insufficient... -
NicTunney #2
Re: ODBC Error Code = S0002 (Base table not found)
What are they pointing the DSN to? Did you create the tables inside the db?
NicTunney Guest
-
zoeski80 #3
Re: ODBC Error Code = S0002 (Base table not found)
Try doing a query to get all the objects in the database to check what tables
are in the database that the datasource is pointing to. The attached query
should work for an MS SQL Server database
Could also be that your user account for the database hasn't got permission
for those tables.
HTH
<CFQUERY NAME="getAllTables" DATASOURCE="??">
SELECT *
FROM SysObjects
WHERE Type = 'u'
ORDER BY Name
</CFQUERY>
<CFDUMP VAR="#getAllTables#">
zoeski80 Guest
-
Glen T #4
Re: ODBC Error Code = S0002 (Base table not found)
At this moment, the ISP is claiming that the DB that I uploaded to the server
has a table named "users" in it. However, the table is named "tbl_users" on my
machine.
I'll try the listing code and see what I get.
Glen T Guest
-
Glen T #5
Re: ODBC Error Code = S0002 (Base table not found)
Thanks, zoeski80, that did the trick. Using your dump, we are able to figure
out that the dsn was actually pointing to another database of the same name in
a folder of the same located above web root - left over from the pevious admin.
So it was pointing to the wrong DB. Thanks a bunch!
Glen T Guest



Reply With Quote

