Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I copied the my asp.net website from a computer to another, when i opened it in vs2005, but i got a lot of errors about the variables types:

type ....is not defined or not declared.


I think that this is because of refrences. I added the refrences to my project but it's not working.

is there anything that I don't know about it??

I will be appreciate if you give me an idea.

thanks a lot.
Posted

Make sure the version of the framework the same as the place you copied it from.
Also, make sure all the namespaces are included.
 
Share this answer
 
As an addition to Abhinav's answer. You need to make sure that you have IIS installed on the machine you migrate to and that it has the web application set up with the correct application pool and dotNet version or it simply won't work.
 
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