CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
Microsoft OLE DB Provider for SQL Server (0x80040E14) Invalid object name
- Article ID:
6 - Date Created
Sunday, September 26, 2010 - Last Updated
Wednesday, November 24, 2010 - This Article Has been Viewed
2434 times - Short Desc
When writing out our SQL Statments, we sometimes misspell our Table and or column names, when this is done we cause these simple irritating error like Microsoft OLE DB Provider for SQL Server (0x80040E14) - Details
In your Select Statement, you sometimes make simple typo errors that can cause asp to send an error to the page.
In this case, it was a the adding of a letter to our TableName that caused this error.
Microsoft OLE DB Provider for SQL Server (0x80040E14)
Invalid object name 'GetResolved'.
/kb/Header.asp, line 139 - Recreate Issue
This select statment that we used that threw this error to the browser is:
<%
Set getIssue = CreateObject("ADODB.Command")
getIssue.ActiveConnection=objConn
getIssue.Prepared = true
getIssue.commandtext="SELECT ID, Title FROM GetResolved"
set rsIssue = getIssue.execute
%>
As you can see in the above statement the TableName is:
IssueResolved
This is incorrectly spelled out. - Resolve Issue
To resolve this issue, simply spell the TableName correctly and recompile your code to the browser.
<%
Set getIssue = CreateObject("ADODB.Command")
getIssue.ActiveConnection=objConn
getIssue.Prepared = true
getIssue.commandtext="SELECT ID, Title FROM GetResolve"
set rsIssue = getIssue.execute
%>
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24695
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16825