经典ASP中的ASP.NET WebService [英] ASP.NET WebService in Classic ASP

查看:85
本文介绍了经典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.

 


这篇关于经典ASP中的ASP.NET WebService的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆