Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 203573 - Last Review: June 29, 2004 - Revision: 4.1
PRB: ASP/ADO Coding Error Produces ASP 0115 Error
This article was previously published under Q203573
When you view an Active Server Pages (ASP) page that uses ADO to access a database, you may find that nothing is written to the page or you may receive the following error message:
error 'ASP 0115'
Unexpected error
/webapp/pagename.asp
A trappable error occurred in an external object. The script cannot continue running.
-or-
Microsoft VBScript runtime (0x800A01C2)
Wrong number of arguments or invalid property assignment: 'fields'
/q203573.asp, line 14
When authoring Active Server Pages (ASP) pages, it is a common practice to substitute an equal sign for Response.Write. For example, instead of typing the following code
<% Response.Write RS.fields(1) %>
you can use the following abbreviation:
This is very similar to using a question mark instead of the word "
Print" in Visual Basic. Leaving out the equal sign as in the following example will produce the above error message:
To resolve this problem, insert the equal sign or use the full Response.Write syntax.
This problem is fixed in Microsoft Windows 2000 (Internet Information Services 5.0).
APPLIES TO
- Microsoft Visual InterDev 1.0 Standard Edition
- Microsoft Visual InterDev 6.0 Standard Edition
- Microsoft ActiveX Data Objects 2.0
- Microsoft ActiveX Data Objects 2.1 Service Pack 2
- Microsoft ActiveX Data Objects 2.5
- Microsoft ActiveX Data Objects 2.6
- Microsoft ActiveX Data Objects 2.7
- Microsoft Active Server Pages 4.0
- Microsoft Internet Information Server 4.0
- Microsoft Internet Information Services 5.0
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.7
| kbdatabase kberrmsg kbprb KB203573 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate