PRB: "Unclosed Quote" Error when Calling Oracle Stored Procedure (175090)
The information in this article applies to:
- Microsoft Visual InterDev 1.0
This article was previously published under Q175090 SYMPTOMS
The following error occurs when previewing an Active Server Pages (ASP)
page that calls an Oracle stored procedure:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Unclosed quote before the
character string ' '.
<asp file name and line number>
CAUSE
The conditions that cause this error are as follows:
- Making a call to an Oracle stored procedure.
- Using the Data Command Control to insert the ActiveX Data Objects
(ADO) code that accesses the stored procedure.
- Editing and closing the Data Command Control at least once after
initially inserting the control.
- Choosing the stored procedure name from the Command Text drop-down list
box in the Data Command's property sheet.
The Data Command Control incorrectly parses the Command Text being assigned
to the cmdText object. The second time the DataCommand Control is opened it
parses the sting as follows:
cmdTemp.CommandText = 'dbo.''my_stored_proc'''
Which should be the following:
cmdTemp.CommandText = 'dbo.my_stored_proc'
RESOLUTION- Open the Data Command Control.
- Manually enter your stored procedure name (for example,
"my_stored_proc") in the Command Text property box.
- Close the control and preview the page.
- It works. If you open the control again and close it, it still works.
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
REFERENCES
For the latest Knowledge Base articles and other support information on
Visual InterDev and Active Server Pages, see the following page on the
Microsoft Technical Support site:
Modification Type: | Major | Last Reviewed: | 5/2/2006 |
---|
Keywords: | kberrmsg kbide kbOracle kbprb KB175090 |
---|
|