经典ASP中的ASP.NET WebService

问题描述:

您好,这是Chendhil,我正在使用ASP.NET Web服务动态执行Business登录过程。我想在Classic ASP应用程序中调用此服务。为此,我为此创建了一个Wrapper类,并为
WebService的Web方法创建了方法引用。我将此包装类注册为COM组件,并在Client Application中访问此组件。但是我得到了错误Object Required(错误编号:424)。任何人都可以帮助我????

Hi this is Chendhil, I'm using a ASP.NET webservice to perform a Business login process dynamically. I want to call this service in Classic ASP application. For this, I created a Wrapper class for this and created the method references for web methods of WebService. I registered this wrapper class as COM component and accesses this Component in Client Application . But i got the error Object Required ( Error no : 424 ) . Can any one help me ????

 

问候,

S.Chendhil Veal

S.Chendhil Veal

您必须显示您在ASP页面中使用的代码。

You'll have to show the code you used in the ASP page.

如果我没记错的话,"需要对象"是VBScript等价于"NullReferenceException"在.NET中。这意味着您在尝试使用对象之前没有创建该对象的实例。

If I remember correctly, "Object required" is the VBScript equivalent of "NullReferenceException" in .NET. It means you didn't create an instance of the object before you tried to use it.