找不到文件或程序集System.Web.Services Version = 2.0.0.0 [英] Could not find file or assembly System.Web.Services Version=2.0.0.0

查看:49
本文介绍了找不到文件或程序集System.Web.Services Version = 2.0.0.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我开发使用System.web dll的ac#windows应用程序,它在我的计算机上运行正常,但是在另一台具有相同操作系统的计算机上运行时,我看到下面的问题

无法加载文件或程序集System.Web.Services Version = 2.0.0.0 ....

我在%windir%中看到程序集文件夹,所有dll文件都是存在,

i禁用防病毒并再次运行但有错误,

操作系统在Windows 7中32位



可以任何帮助我?

Hi all
I develop a c# windows application that use System.web dll, it run correctly in my computer, but when run it in another computer that has same OS, i see below problem
"Could not load file or assembly System.Web.Services Version=2.0.0.0 ...."
I see assembly folder in %windir% and all dll file is exists,
i disable antivirus and run again but has error,
OS in windows 7 32 bit

can any help me??

推荐答案





希望有点晚但我可以在这里帮忙。我遇到过这种错误。让我给你一个关于我所知道的建议。



1).net框架似乎没有System.Web.Services。检查C:\ Windows \ Microsoftoft.NET \ Framework \v2.0.50727。它应该有那个DLL。



2)如果有dll,请在新服务器中添加dll作为项目的参考。编译应用程序。



3)有时,如果将应用程序从一台计算机复制到另一台计算机,则无法正确复制dll。尝试通过在Windows资源管理器中打开项目来再次粘贴bin文件夹。



------------------- ------------------------------------------



PS:如果修复则将其标记为答案。如果没有,请回答。你的问题将来会对某人有所帮助。
Hey

Hope it is a little late but I could help here. I have faced these kind of errors. Let me give you a suggestion on what I know.

1) The .net framework does not have System.Web.Services it seems. Check C:\Windows\Microsoft.NET\Framework\v2.0.50727. It should have that dll.

2) If dlls are there, add the dll as a reference to your project in the new server. Compile the applicaiton.

3) Sometimes, if you copy the application from one computer to another, dlls will not be copied properly. Try copy pasting the bin folder again by opening the project in windows explorer.

-------------------------------------------------------------

PS:Mark it as answer if fixed. Post the answer if no. Your question will help somebody in future.


这篇关于找不到文件或程序集System.Web.Services Version = 2.0.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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