Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Microsoft OLE DB Provider for SQL Server error ''80040e14'' ?!!??! Expand / Collapse
Author
Message
Posted Sunday, November 13, 2005 11:45 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, November 16, 2005 1:46 AM
Points: 10, Visits: 1

Hi All,

The following error is being "kicked out" when users are trying to submit information via a web page -

Microsoft OLE DB Provider for SQL Server error '80040e14'

The request for procedure 'table_name' failed because 'table_name' is a table object.

/insert_now.asp, line 68

The web page was working fine earlier in the day and then suddenly ........

Can anybody help  ? what does this mean ?

thanks

Post #236769
Posted Tuesday, November 15, 2005 10:39 AM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Tuesday, June 19, 2007 9:17 AM
Points: 559, Visits: 1

It is hard to make a judgement without the code snippet.  Could you post it?

I hope this is not a production server if you haven't gotten an answer in over a day.

My first idea is that it is a programming error.  When was the last time it was changed?  When was the last time the IIS server was rebooted?  Are you sure that you freed up the allocated objects in the code?




Joe Johnson
NETDIO,LLC.
Post #237271
Posted Tuesday, November 15, 2005 1:11 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Yesterday @ 6:56 AM
Points: 56, Visits: 177

Looks like you're trying to execute a table name as a stored procedure:

i.e. something like

Set ocmd = Server.CreateObject("AODB.Command")
...
ocmd.commandtext = "table_name"
ocmd.commandtype = adcmdstoredproc
ocmd.execute

This will fail with an error similar to the one you're reporting.

As Joe wrote above - it's difficult to diagnose without a code snippet or at least the SQL you're trying to execute.

Regards
Otto

 




Best Regards,

Otto Schreibke
solwiz.ch
Post #237309
Posted Wednesday, November 16, 2005 1:49 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, November 16, 2005 1:46 AM
Points: 10, Visits: 1

Hi all,

Well it is a production server , but the problem has magically "resolved" itself ....  I was just following up for sake of completeness (just need to know WHY .. as it could be pointing to a bigger issue) I do not have access to the code as I am the DBA .. but I shall try and obtain a snippet ...

Also the IIS server may have been rebooted due to windows patch applications - I will need to confirm this with the Server team .....

The Developers have said that not code changes have been made ... I was wondering if it could be data related ...

Thanks ..

Lauren

Post #237411
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse