网站设置为应用程序? [英] Website set as application?

查看:70
本文介绍了网站设置为应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的Win2003服务器上安装一个现有的VS.NET项目,并且我/ b $ b得到以下错误(在实际的网站页面上):

"使用注册为

allowDefinition =''MachineToApplication'的部分超出应用程序级别是错误的。这个错误

可能是因为虚拟目录未被配置为IIS中的应用程序




我'以前的开发人员告诉我们该网站需要设置为b $ ba应用程序。我认为这意味着它运行的过程是什么?我创建了

这个位置的虚拟目录,可以看到该站点。但我得到了上面列出的

错误?

应用程序池是:


DEFAULTAPPPOOL(默认)

MSSHAREPOINTAPPPOOL

这位开发人员是什么意思? Thanx。

I''m trying to get an existing VS.NET project up on my Win2003 server and I
get the following error (on the actual website page):

"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."

I''ve been told by the previous developer that the website needs to be set as
a "application". I assume this means what process it runs under? I''ve created
a virtual directory to the location and the site can be seen. but I get that
error listed above?
The application pools are:

DEFAULTAPPPOOL (default)
MSSHAREPOINTAPPPOOL
What does this developer mean? Thanx.

推荐答案

要使用虚拟目录创建应用程序

作为起点,请打开IIS管理器,滚动

到虚拟目录,选择它,然后点击它。


从弹出菜单中选择属性 ;


然后,点击创建按钮。按钮。

这将使您的虚拟目录成为一个应用程序。


如果您这样做,您的错误消息应该消失。

请告诉我们你的工作方式。


Juan T. Llibre

ASP.NET MVP

== =========

" Chris" <章*** @ discussions.microsoft.com>在留言中写道

news:73 ********************************** @ microsof t.com ...
To create an Application using a Virtual Directory
as its starting point, open the IIS Manager, scroll
down to the virtual directory, select it, and rght-click it.

From the pop-up menu, select "Properties".

Then, click on the "Create" button.
That will make your virtual directory an Application.

If you do that, your error message should disappear.
Please let us know how you do.


Juan T. Llibre
ASP.NET MVP
===========
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
我正在尝试在我的Win2003服务器上运行现有的VS.NET项目,并且我在实际网站页面上收到以下错误:

"使用在应用程序级别之外注册为
allowDefinition =''MachineToApplication'的部分是错误的。这个
错误可能是由于IIS中没有配置为
应用程序的虚拟目录造成的。

我被告知以前的开发人员认为网站需要设置为应用程序。我认为这意味着它运行的过程是什么?我已经创建了一个到该位置的虚拟目录,并且可以看到该站点。但我得到上面列出的
错误?
应用程序池是:

DEFAULTAPPPOOL(默认)
MSSHAREPOINTAPPPOOL

这个开发者是什么意思? Thanx。
I''m trying to get an existing VS.NET project up on my Win2003 server and I
get the following error (on the actual website page):

"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."

I''ve been told by the previous developer that the website needs to be set
as
a "application". I assume this means what process it runs under? I''ve
created
a virtual directory to the location and the site can be seen. but I get
that
error listed above?
The application pools are:

DEFAULTAPPPOOL (default)
MSSHAREPOINTAPPPOOL
What does this developer mean? Thanx.






不,它没有,页面错误是这样的:


" ;'/''应用程序中的服务器错误。

------------------------------- -------------------------------------------------


配置错误

描述:处理配置文件时发生错误

为此请求提供服务。请查看以下特定错误详细信息

并正确修改配置文件。


分析程序错误消息:使用注册为
allowDefinition =''MachineToApplication''超出应用程序级别。这个错误

可能是因为虚拟目录未被配置为IIS中的应用程序




源错误:

第48行:使用表单身份验证和users =?意味着拒绝匿名

用户

第49行: - >

第50行:< authentication mode =" Forms">

第51行:< forms name =" TecTrackAuth" loginUrl =" default.htm"

protection =" All"路径= QUOT; /" />

第52行:< / authentication>

"


" Juan T. Llibre"写道:
No, it does not, the page error is this:

"Server Error in ''/'' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: 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.

Source Error:
Line 48: Using Form authentication and the users=? means to deny anonymous
users
Line 49: -->
Line 50: <authentication mode="Forms">
Line 51: <forms name="TecTrackAuth" loginUrl="default.htm"
protection="All" path="/" />
Line 52: </authentication>
"

"Juan T. Llibre" wrote:
要使用虚拟目录创建应用程序
作为起点,打开IIS管理器,向下滚动到虚拟目录,选择它,然后点击它。

从弹出菜单中选择属性。

然后,点击创建按钮。按钮。
这将使您的虚拟目录成为一个应用程序。

如果您这样做,您的错误消息应该消失。
请告诉我们您的工作方式。


Juan T. Llibre
ASP.NET MVP
===========
" Chris" <章*** @ discussions.microsoft.com>在消息中写道
新闻:73 ********************************** @ microsof t.com。 ..
To create an Application using a Virtual Directory
as its starting point, open the IIS Manager, scroll
down to the virtual directory, select it, and rght-click it.

From the pop-up menu, select "Properties".

Then, click on the "Create" button.
That will make your virtual directory an Application.

If you do that, your error message should disappear.
Please let us know how you do.


Juan T. Llibre
ASP.NET MVP
===========
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
我正在尝试在我的Win2003服务器上运行现有的VS.NET项目,并且我在实际网站页面上收到以下错误:

在应用程序级别之外使用注册为
allowDefinition =''MachineToApplication'的部分是错误的。这个
错误可能是由于IIS中没有配置为
应用程序的虚拟目录造成的。

我被告知以前的开发人员认为网站需要设置为应用程序。我认为这意味着它运行的过程是什么?我已经创建了一个到该位置的虚拟目录,并且可以看到该站点。但我得到上面列出的
错误?
应用程序池是:

DEFAULTAPPPOOL(默认)
MSSHAREPOINTAPPPOOL

这个开发者是什么意思? Thanx。
I''m trying to get an existing VS.NET project up on my Win2003 server and I
get the following error (on the actual website page):

"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."

I''ve been told by the previous developer that the website needs to be set
as
a "application". I assume this means what process it runs under? I''ve
created
a virtual directory to the location and the site can be seen. but I get
that
error listed above?
The application pools are:

DEFAULTAPPPOOL (default)
MSSHAREPOINTAPPPOOL
What does this developer mean? Thanx.




标准格式为:


<表格名称= QUOT; .ASPXAUTH" loginUrl = QUOT; MyLoginForm.aspx" />


..HTM文件不由ASP.NET处理

Juan T. Llibre

ASP.NET MVP

===========

" Chris" <章*** @ discussions.microsoft.com>在留言中写道

news:84 ********************************** @ microsof t.com ...
The standard format is :

<forms name=".ASPXAUTH" loginUrl="MyLoginForm.aspx" />

..HTM files are not processed by ASP.NET

Juan T. Llibre
ASP.NET MVP
===========
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com...
不,它没有,页面错误是这样的:

'/''应用程序中的服务器错误。
-------------------------------------------------- ------------------------------

配置错误
描述:期间发生错误处理此请求所需的配置文件
。请查看下面的具体错误详细信息并适当修改配置文件。

解析器错误消息:使用注册为
allowDefinition =''MachineToApplication'的部分是错误的'超出应用水平。这个
错误可能是由于IIS中没有配置为
应用程序的虚拟目录造成的。

来源错误:

第48行:使用表单身份验证和用户=?意味着拒绝匿名用户
第49行: - >
第50行:< authentication mode =" Forms">
第51行:< forms name = " TecTrackAuth" loginUrl =" default.htm"
protection =" All"路径= QUOT; /" />
第52行:< / authentication>
"

  Juan T. Llibre"写道:
No, it does not, the page error is this:

"Server Error in ''/'' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration
file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: 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.

Source Error:
Line 48: Using Form authentication and the users=? means to deny anonymous
users
Line 49: -->
Line 50: <authentication mode="Forms">
Line 51: <forms name="TecTrackAuth" loginUrl="default.htm"
protection="All" path="/" />
Line 52: </authentication>
"

"Juan T. Llibre" wrote:
要使用虚拟目录创建应用程序
作为起点,打开IIS管理器,向下滚动到虚拟目录,选择它,然后点击它。

从弹出菜单中选择属性。

然后,点击创建按钮。按钮。
这将使您的虚拟目录成为一个应用程序。

如果您这样做,您的错误消息应该消失。
请告诉我们您的工作方式。


Juan T. Llibre
ASP.NET MVP
===========
" Chris" <章*** @ discussions.microsoft.com>在消息中写道
新闻:73 ********************************** @ microsof t.com。 ..
To create an Application using a Virtual Directory
as its starting point, open the IIS Manager, scroll
down to the virtual directory, select it, and rght-click it.

From the pop-up menu, select "Properties".

Then, click on the "Create" button.
That will make your virtual directory an Application.

If you do that, your error message should disappear.
Please let us know how you do.


Juan T. Llibre
ASP.NET MVP
===========
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
>我正在尝试在我的Win2003服务器上安装现有的VS.NET项目
>和我
>得到以下错误(在实际网站页面上):
>
> 使用注册为
>的部分是错误的。 allowDefinition =''MachineToApplication''超出应用程序级别。这个
>错误
>可能是由于虚拟目录没有配置为
>申请
>在IIS中。
>
>我以前的开发人员告诉我,该网站需要
>设置
> as
>一个应用程序。我认为这意味着它运行的过程是什么?我已经
>创建
>可以看到该位置和站点的虚拟目录。但是我得到
>
>上面列出的错误?
>应用程序池是:
>
> DEFAULTAPPPOOL(默认)
> MSSHAREPOINTAPPPOOL
>
>
>这个开发者是什么意思? Thanx。
>
> I''m trying to get an existing VS.NET project up on my Win2003 server
> and I
> get the following error (on the actual website page):
>
> "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."
>
> I''ve been told by the previous developer that the website needs to be
> set
> as
> a "application". I assume this means what process it runs under? I''ve
> created
> a virtual directory to the location and the site can be seen. but I get
> that
> error listed above?
> The application pools are:
>
> DEFAULTAPPPOOL (default)
> MSSHAREPOINTAPPPOOL
>
>
> What does this developer mean? Thanx.
>




这篇关于网站设置为应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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