Click here to Skip to main content
15,883,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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??
Posted
Comments
[no name] 11-Oct-14 12:55pm    
How did you reference and add the the DLL to your output folder?
Hamid Mamdoohi 11-Oct-14 13:07pm    
i just use it in cs file without adding it in output folder.
using System.Web

The windows 7 has framework 2.0 and has all dll files that i need
[no name] 11-Oct-14 13:48pm    
In the properties of your application, if publishing in Visual Studio, you can go to your application properties / publish / application files / include which files get published with your application. Then compile it into your installer.

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900