asp.net引用已添加到我的项目中,但无法正常工作 [英] asp.net refrences added to my project, but not working

查看:165
本文介绍了asp.net引用已添加到我的项目中,但无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

在vs2005中打开asp.net网站时,我将其从一台计算机复制到了另一台计算机,但有关变量类型却出现了很多错误:

类型....未定义或未声明.


我认为这是因为侵权.我将参考添加到我的项目中,但是它不起作用.

有什么我不知道的吗?

如果您给我一个主意,我将不胜感激.

非常感谢.

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.

推荐答案

确保框架的版本与您复制框架的位置相同.
另外,请确保包含所有名称空间.
Make sure the version of the framework the same as the place you copied it from.
Also, make sure all the namespaces are included.


作为Abhinav回答的补充.您需要确保在要迁移到的计算机上安装了IIS,并且已使用正确的应用程序池和dotNet版本设置了Web应用程序,否则将无法正常工作.
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.


这篇关于asp.net引用已添加到我的项目中,但无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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