Click here to Skip to main content
15,072,422 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi..friends,

I have an asp.net project I add the reference on right click bin folder Add Reference and from .net tab select System.Management and click on ok. It working fine for me. But when I make dll of my source code using webdeployment tool. And upload the dll on server it is not getting the same reference.

I m not understand what i have to need extra?

Please told me if m doing any thing wrong.

Thanks in Advance
Parveen Rathi
Posted
Comments
ZurdoDev 21-May-13 8:01am
   
In the properties window of your reference you can tell it to copy the dll to the output. However, I thought that was a .Net built-in dll to Windows so I wonder if your server is missing it for some reason.
Raja Soosai 21-May-13 9:47am
   
Check the framework version in both the machines

1 solution

I have solved the problem. When we add any reference to website, the a new line will be inserted in web.config automatically. So change your web.config file on server.
   

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