建立网站时发生错误 [英] Some error when Build web site

查看:84
本文介绍了建立网站时发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下错误

我将CD中的应用程序粘贴到drive,打开并构建它.然后显示

Error as below

I paste application from Cd to drive , open and Build it.then show

Error   33  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.  D:\PrivoCorp 22 07 2009\Privocorp\Web.config    21

推荐答案

您的网站已配置为通过IIS运行.可以将其设置为IIS中的虚拟目录,也可以使用Visual Studio Web Server来运行它.

您可以找到通过以下方式更改它的选项:解决方案右键单击->属性-> Web ...
Your website is configured to run via IIS. Either set it up as virtual directory in IIS or use Visual Studio Web Server to run it.

You can find the option to change it via... Solution right click -> Properties -> Web ...


您可以将应用程序文件夹复制并粘贴到与应用程序文件夹名称相同的文件夹名称中.

例如:您可以创建一个名为"test"的文件夹,而您的应用程序文件夹名称也为"test".


因此您必须直接复制并粘贴您的应用程序文件夹.

Minal Shah.
You may copy and paste application folder in the folder name same as application folder name.

for example: you may create a folder with a name "test" and your application folder name is also "test".


so you have to copy and paste your application folder directly.

Minal shah.


这篇关于建立网站时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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