![]() |
| |||||||
![]() | « Previous Thread | Next Thread » |
| | LinkBack (1) | Thread Tools | Display Modes |
| ||||
| This is an index of the most common classic ASP-related errors that users experience. Please search through this thread for a possible solution before posting your question. This is not yet complete. There is a lot of information available and I will post as time allows. Why do I get 8002000A errors? Why do I get 80040200 / 80040514 / 800A0E7A errors? Why do I get 80040e09 errors? Why do I get 80040E0C errors? Why do I get 80040E10 errors? Why do I get 80040E14 errors? (Part 1) Why do I get 80040E14 errors? (Part 2) Why do I get 80040E21 errors? Reference: 8000XXXX Errors
__________________ jmurrayhead Did I help you out? Make me popular by clicking the icon!If you found a post helpful, please click the button in the lower right-hand corner of the post.Powered by ASP.Net |
| Sponsored Links |
| ||||
| Quote:
|
| ||||
| This series of errors includes the following errors messages: Quote:
You should also ensure you have the most recent version of MDAC installed, which can be downloaded here: MDAC Download With Microsoft Access, this can be caused when trying to connect to the database using OLEDB, (e.g. Provider=Microsoft.Jet.OLEDB.4.0 , without having the JET components installed. Microsoft stopped shipping the JET files with MDAC, starting at 2.6.Connection pooling may cause the following error: Quote:
Code: <%
const adPromptNever = 4
set conn = CreateObject("ADODB.Connection")
conn.Properties("Prompt") = adPromptNever
conn.open yourConnectionString
...
%>
|
| |||||
| When using Microsoft Access databases, it is common to see the following message: Quote:
Quote:
Quote:
Quote:
With SQL Server, you may receive the following message: Quote:
Some databases may give this error if table or column names have quotes around them. Quotes should be used for string literals only, not for object names. |
| ||||
| Quote:
Code: <%
set conn = Server.CreateObject("ADODB.Connection")
strSQL = "UPDATE users SET IsActive = 1 WHERE userID = 12:
conn.Execute(SQLstr)
...
%>
|
| ||||
| The following errors are typically seen when creating SQL statements: Quote:
Quote:
Quote:
Code: <%
strSQL = "INSERT INTO usersToGroups VALUES("1", 3)"
Response.Write(strSQL)
Response.End
%>
|
| ||||||||||||||||||||||||
| Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Code: conn.execute "INSERT INTO tbl1 VALUES(1); INSERT INTO tbl1 VALUES(2)" Quote:
This can also happen if the account that the SQL Server and SQL Server Agent services don't have sufficient privileges on the folder where the web task outputs its file. Quote:
Quote:
Quote:
Of course, this could lead to the following error: Quote:
Quote:
Code: SQL = "UPDATE table SET column = """ & request.form("value") & """"
Code: SQL = "UPDATE table SET column = '" & _
replace(request.form("value"),"'","''") & "'"
Quote:
Code: SELECT columns FROM table WHERE column="foo" Code: SELECT columns FROM table WHERE column='foo' |
| ||||
| Quote:
Code: SELECT * FROM table WHERE column="" Code: SELECT * FROM table WHERE column='' Quote:
Quote:
Code: CREATE PROCEDURE dbo.myProc
@param_name INT
AS
...
Code: CREATE PROCEDURE dbo.myProc
@param_name INT OUTPUT
AS
...
Quote:
Code: DECLARE @i INT SET @i = 0 -- ... SELECT 5 / @i -- raises error GO DECLARE @i INT SET @i = 0 -- ... SELECT 5 / CASE @i WHEN 0 THEN 1 ELSE @i END |
| ||||||
| Quote:
Make sure the methods/properties you are using are supported by the driver/provider you are using to access your data. If executing a stored procedure, ensure you do so through the connection.execute() method, rather than a command object, and add the following two lines of code to the beginning of your procedure: Code: SET ANSI_NULLS OFF SET NOCOUNT ON Quote:
Quote:
Quote:
Code: SELECT DISTINCT foo, bar FROM table Code: SELECT foo, bar FROM table GROUP BY foo, bar Quote:
Quote:
|
![]() |
|
| Bookmarks |
| Tags |
| 8002000a, 80040200, 80040514, 80040e10, 80040e14, 80040e21, 800a0e7a, asp, error, faq |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.developerbarn.com/asp-development/23-classic-active-server-pages-faq.html | ||||
| Posted By | For | Type | Date | |
| 80040e14 Error - ASP Free | Post #0 | Refback | July 2nd, 2008 11:51 AM | |
| Sponsored Links |
| ASP.NET Resource Index a directory of ASP.NET tutorials, applications, scripts, assemblies and articles for the novice to professional developer. Free Web Directory Including Chats and Forums Resources, Offer automatic, instant and free directory submissions. | URLZ Web Directory URLZ Web Directory Free Web Directory - Add Your Link The Little Web Directory | Free Web Directory Pegasus free web directory is a free directory organised by categories. Web Directory & SEO Services dirroot web directory |