建筑问题? [英] problem in building ?
问题描述
大家好,
i从我的朋友那里获取项目
i正在与vs 2008合作,我将其删除并安装vs 2010
打开后构建它时的朋友项目给我这个错误
错误2使用注册为allowDefinition ='MachineToApplication'的部分超出应用程序级别是错误的。此错误可能是由于未在IIS中将虚拟目录配置为应用程序引起的。 C:\ Users\hasnaa \Desktop\ministry\PrivEdu\PrivEdu\Web.config 28
经过大量搜索后,我希望virsual iis上的目录与网站的virsual不匹配
如何解决这个问题我的笔记本电脑是Windows 8
hi all ,
i take project from my frind
i was working on vs 2008 , i remove it and install vs 2010
after opening the friend project when make build it give me this error
Error 2 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. C:\Users\hasnaa\Desktop\ministry\PrivEdu\PrivEdu\Web.config 28
after alot of search i expect that virsual directory on iis does not match virsual of site
how can i fix this my laptop is windows 8
推荐答案
1。从 IIS中删除虚拟目录
2.在VS中打开项目属性
4.在服务器组中选择您要使用的IIS类型
5.修复项目URL,如果需要
6.点击'创建虚拟目录'
1. Remove virtual directoryfrom
IIS
2. Open project properties in VS
3. Select 'Web' tab
4. In 'Servers' group select he kind of IIS you want to use
5. Fix 'Project URL' if need
6. Hit 'Create Virtual Directory'
检查以下链接...
虚拟目录未配置为IIS中的应用程序??????? [ ^ ]
http://forums.asp.net/t/1031775.aspx?Configuration+Error+allowDefinition+MachineToApplication+beyond+application+level [ ^ ]
我的问题将会解决..
check the following links...
virtual directory not being configured as an application in IIS ???????[^]
http://forums.asp.net/t/1031775.aspx?Configuration+Error+allowDefinition+MachineToApplication+beyond+application+level[^]
I thing your problem will be sort out..
这篇关于建筑问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!