Article ID: 259649 - Last Review: November 21, 2006 - Revision: 3.1 PRB: Data Property of a Remote Scripting Object Is Empty with IIS 5.0 ServerThis article was previously published under Q259649 SYMPTOMS
If an error occurs in an Active Server Pages (ASP) page that was called by Remote Scripting from a client page, a property called data is assigned to the error message. This property is accessible to the client page that called the remote script and can be used to display an error message to the user. Under Internet Information Services (IIS) 5.0, the object contains no data. For example, if you run the code provided in the following Microsoft Knowledge Base article, an empty result appears for the error message: 238284
(http://support.microsoft.com/kb/238284/EN-US/
)
HOWTO: Display Error Messages from the Server When Remote Scripting
CAUSE
IIS 5.0 has updated error handling capability (such as Server.GetLastError). As a result, the response for server-side script errors is now handled by a customized ASP page. This page (by default, http://Webserver/IISHelp/Common/500-100.asp) returns a status of "500 Internal Server Error," which causes the client-side remote scripting applet to return no data to the remote scripting object.
RESOLUTION
To resolve this problem, create a custom error page that returns a status of "200 OK". Reference this page in the "Custom Errors" section for your remote scripting server page or application. To do this, follow these steps:
STATUS
This behavior is by design.
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
238284
(http://support.microsoft.com/kb/238284/EN-US/
)
HOWTO: Display Error Messages from the Server When Remote Scripting
| Article Translations
|

Back to the top
