asp.net应用程序中的WebService代理类 [英] WebService proxy class in asp.net application

查看:58
本文介绍了asp.net应用程序中的WebService代理类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用asp.net应用程序提供web服务。我已经在app_code文件夹中复制了这个webservice的代理类并调用了它的方法。这很好用。但是,当我将它移动到虚拟机(webservice和asp.net应用程序)时,iis会给出错误,即使用指令或程序集referance(实际上代理类存在)时,找不到类型或名称空间'proxyclass'  smae location,没有代码更改为解决方案,只是复制到VM)。

I am comsuming a webservice from asp.net application. I have copied proxy class for this webservice in app_code folder and calling methods of it. This works fine. But when I moved it to virtual machine( both webservice and asp.net app), iis gives error that type or name space 'proxyclass' could not be found are you missing using directive or an assembly referance(actually proxy class exists in smae location, no code change to solution, just copied to VM).

请告诉我这个错误的可能原因。

Please let me know the possible reasons for this error.

 

推荐答案

这听起来像是一个没有构建的ASP.NET网站的问题。你应该在http://forums.asp.net上询问这个问题。

This sounds like an issue with an ASP.NET web site not building. You should ask about this at http://forums.asp.net.

 


这篇关于asp.net应用程序中的WebService代理类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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