表单身份验证错误 [英] Forms Authentication Error

查看:79
本文介绍了表单身份验证错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有人熟悉此错误?我在我的

本地机器上运行得很好但是当我把它推到我们的开发服务器上时我得到了这个

错误。我不知道它在说什么。任何线索?


-Brett-


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

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

----


配置错误

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

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

并正确修改配置文件。


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

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




源错误:

第59行:Microsoft提供单一登录和核心配置文件

成员网站服务。

第60行: - >

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

第62行:< forms

第63行:name =" MIB .Identity"

源文件:C:\ Webs \CorpWeb \产品\ imagemage \ myimagebridge \web.config

行:61

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

----


版本信息:Microsoft .NET Framework版本:1.1.4322.573; ASP.NET

版本:1.1.4322.573

Is anyone familiar with this error? I have this running just fine on my
local machine but when I pushed it out to our development server I get this
error. I have no idea what it is saying. Any clues?

-Brett-

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 59: by Microsoft that offers a single logon and core profile
services for member sites.
Line 60: -->
Line 61: <authentication mode="Forms">
Line 62: <forms
Line 63: name="MIB.Identity"
Source File: C:\Webs\CorpWeb\products\imagebridge\myimagebridge \web.config
Line: 61

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

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573

推荐答案

这一行表明一个可能的原因:

"此错误可能是由于虚拟目录未在IIS中配置为

应用程序引起的。


Web.config部分可以是指定只允许在应用程序级别修改

,即在Web的根文件夹中修改

应用程序边界在服务器上。验证部分看起来像

它就是其中之一。目前,包含web.config

的文件夹,你已配置此部分的文件夹不是网页的根文件夹

应用程序。


至少有两个解释:

1)你试图在你网站的子文件夹中配置这些东西

应用程序root文件夹

2)包含您的应用程序的虚拟目录尚未在IIS中配置为

IIS Web应用程序。


所以,在您的服务器上,您需要进入IIS,然后进入此

文件夹的属性,并确保它上面创建了一个应用程序。或者,在你的应用程序的根文件夹中的web.config中配置

这一部分。


HTH,

干杯,

Pete Beech


" Brett Robichaud" <峰; br ************ @ nospam.yahoo.com>在消息中写道

新闻:Oi ************** @ TK2MSFTNGP12.phx.gbl ...
This line indicates one possible reason:
"This error can be caused by a virtual directory not being configured as an
application in IIS."

Web.config sections can be specified to only be allowed to be modified at
the application level, i.e. modified in the root folder of your web
applications boundaries on the server. The authentication section looks like
it is one of them. At the moment, the folder which contains the web.config
where you have configured this section is not the root folder of the web
application.

There''s at least two explanations for this:
1) you have tried to configure this stuff in a subfolder of your web
applications root folder
2) the virtual directory containing your app has not been configured as an
IIS web application within IIS.

So, on your server, you need to go into IIS, then to the properties for this
folder, and make sure it has an application created on it. Or, configure
this section in the web.config which exists in the root folder of your app.

HTH,
Cheers,
Pete Beech

"Brett Robichaud" <br************@nospam.yahoo.com> wrote in message
news:Oi**************@TK2MSFTNGP12.phx.gbl...
有谁熟悉这个错误?我在我的本地机器上运行得很好但是当我把它推到我们的开发服务器时,我得到
这个错误。我不知道它在说什么。任何线索?

-Brett-

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

配置错误
描述:处理配置
文件时出错需要为此请求提供服务。请查看下面的具体错误详细信息并适当修改配置文件。

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

源错误:

第59行:Microsoft为会员网站提供单一登录和核心资料
服务。
第60行: - >
第61行:< authentication mode =" Forms">
第62行:< forms
第63行:name =" MIB.Identity"

源文件:C:\ Webs \CorpWeb \ products \ imagemage \ myimagebridge \\ \\ web.config
行:61

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

版本信息:Microsoft .NET Framework版本:1.1.4322.573;
ASP.NET版本:1.1.4322.573
Is anyone familiar with this error? I have this running just fine on my
local machine but when I pushed it out to our development server I get this error. I have no idea what it is saying. Any clues?

-Brett-

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 59: by Microsoft that offers a single logon and core profile
services for member sites.
Line 60: -->
Line 61: <authentication mode="Forms">
Line 62: <forms
Line 63: name="MIB.Identity"
Source File: C:\Webs\CorpWeb\products\imagebridge\myimagebridge \web.config
Line: 61

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

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573



此行表示一个可能的原因:

此错误可能是由于虚拟目录未在IIS中配置为

应用程序引起的。


可以将Web.config部分指定为只允许在应用程序级别修改

,即在Web的根文件夹中修改

服务器上的应用程序边界。验证部分看起来像

它就是其中之一。目前,包含web.config

的文件夹,你已配置此部分的文件夹不是网页的根文件夹

应用程序。


至少有两个解释:

1)你试图在你网站的子文件夹中配置这些东西

应用程序root文件夹

2)包含您的应用程序的虚拟目录尚未在IIS中配置为

IIS Web应用程序。


所以,在您的服务器上,您需要进入IIS,然后进入此

文件夹的属性,并确保它上面创建了一个应用程序。或者,在你的应用程序的根文件夹中的web.config中配置

这一部分。


HTH,

干杯,

Pete Beech


" Brett Robichaud" <峰; br ************ @ nospam.yahoo.com>在消息中写道

新闻:Oi ************** @ TK2MSFTNGP12.phx.gbl ...
This line indicates one possible reason:
"This error can be caused by a virtual directory not being configured as an
application in IIS."

Web.config sections can be specified to only be allowed to be modified at
the application level, i.e. modified in the root folder of your web
applications boundaries on the server. The authentication section looks like
it is one of them. At the moment, the folder which contains the web.config
where you have configured this section is not the root folder of the web
application.

There''s at least two explanations for this:
1) you have tried to configure this stuff in a subfolder of your web
applications root folder
2) the virtual directory containing your app has not been configured as an
IIS web application within IIS.

So, on your server, you need to go into IIS, then to the properties for this
folder, and make sure it has an application created on it. Or, configure
this section in the web.config which exists in the root folder of your app.

HTH,
Cheers,
Pete Beech

"Brett Robichaud" <br************@nospam.yahoo.com> wrote in message
news:Oi**************@TK2MSFTNGP12.phx.gbl...
有谁熟悉这个错误?我在我的本地机器上运行得很好但是当我把它推到我们的开发服务器时,我得到
这个错误。我不知道它在说什么。任何线索?

-Brett-

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

配置错误
描述:处理配置
文件时出错需要为此请求提供服务。请查看下面的具体错误详细信息并适当修改配置文件。

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

源错误:

第59行:Microsoft为会员网站提供单一登录和核心资料
服务。
第60行: - >
第61行:< authentication mode =" Forms">
第62行:< forms
第63行:name =" MIB.Identity"

源文件:C:\ Webs \CorpWeb \ products \ imagemage \ myimagebridge \\ \\ web.config
行:61

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

版本信息:Microsoft .NET Framework版本:1.1.4322.573;
ASP.NET版本:1.1.4322.573
Is anyone familiar with this error? I have this running just fine on my
local machine but when I pushed it out to our development server I get this error. I have no idea what it is saying. Any clues?

-Brett-

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 59: by Microsoft that offers a single logon and core profile
services for member sites.
Line 60: -->
Line 61: <authentication mode="Forms">
Line 62: <forms
Line 63: name="MIB.Identity"
Source File: C:\Webs\CorpWeb\products\imagebridge\myimagebridge \web.config
Line: 61

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

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573



是的我在主网站的子目录中有这个ASP应用程序。


我实际上已经尝试为我的应用程序创建一个虚拟目录后,

看到这个错误,但它没有任何区别。我也尝试将

web.config复制到根目录并且没有任何区别。


我很好奇为什么它对此有不同的表现服务器比在我的机器上本地

?是否有一些基于机器的策略强制执行此操作?


最好我希望在子文件夹中有我的web.config。有没有

方式我可以做到这一点?我完全控制了服务器。


-Brett-

Pete Beech < PE ********* @ hotmail.nojunk.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP11.phx.gbl ...
Yes I do have this ASP App down in a subdir of the main web.

I actually already tried creating a virtual directory for my app after
seeing this error but it made no difference. I also tried copying the
web.config down to the root and it made no difference.

I''m curious why it is acting differently on this server than it is locally
on my machine? Is there some machine based policy that enforces this?

Optimally I would like to have my web.config in the subfolder. Is there a
way I can do this? I have full control of the server.

-Brett-
"Pete Beech" <pe*********@hotmail.nojunk.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
这一行表示一个可能的原因:
此错误可能是由虚拟目录未配置为
IIS中的应用程序引起的。

可以指定Web.config部分只允许在应用程序级别进行修改,即在Web服务器上的应用程序边界的根文件夹中进行修改。验证部分看起来是
,就像它是其中之一一样。目前,包含web.config的文件夹
您配置此部分的文件夹不是Web
应用程序的根文件夹。

至少有对此的两个解释:
1)您已尝试在Web的子文件夹中配置此内容
应用程序根文件夹
2)包含您的应用程序的虚拟目录尚未配置为< IIS中的IIS Web应用程序。

因此,在您的服务器上,您需要进入IIS,然后进入
此文件夹的属性,并确保它已创建应用程序在上面。或者,在web.config中配置此部分,该部分存在于
应用程序的根文件夹中。
HTH,
干杯,
Pete Beech

Brett Robichaud <峰; br ************ @ nospam.yahoo.com>在消息中写道
新闻:Oi ************** @ TK2MSFTNGP12.phx.gbl ...
This line indicates one possible reason:
"This error can be caused by a virtual directory not being configured as an application in IIS."

Web.config sections can be specified to only be allowed to be modified at
the application level, i.e. modified in the root folder of your web
applications boundaries on the server. The authentication section looks like it is one of them. At the moment, the folder which contains the web.config
where you have configured this section is not the root folder of the web
application.

There''s at least two explanations for this:
1) you have tried to configure this stuff in a subfolder of your web
applications root folder
2) the virtual directory containing your app has not been configured as an
IIS web application within IIS.

So, on your server, you need to go into IIS, then to the properties for this folder, and make sure it has an application created on it. Or, configure
this section in the web.config which exists in the root folder of your app.
HTH,
Cheers,
Pete Beech

"Brett Robichaud" <br************@nospam.yahoo.com> wrote in message
news:Oi**************@TK2MSFTNGP12.phx.gbl...
是否有人熟悉此错误?我在我的本地机器上运行得很好但是当我把它推到我们的开发服务器时,我得到
Is anyone familiar with this error? I have this running just fine on my
local machine but when I pushed it out to our development server I get


这个

错误。我不知道它在说什么。任何线索?

-Brett-

''/''应用程序中的服务器错误。
error. I have no idea what it is saying. Any clues?

-Brett-

Server Error in ''/'' Application.



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



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

----

配置错误
说明:在处理配置
----

Configuration Error
Description: An error occurred during the processing of a configuration


文件

处理此请求时出错。请查看下面的具体错误
详细信息并正确修改配置文件。

分析器错误消息:使用注册为
allowDefinition =''MachineToApplication'的部分是错误的'超出应用水平。此
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


错误

可能是由于IIS中未配置为
can be caused by a virtual directory not being configured as an


应用程序


application

的虚拟目录引起的。

来源错误:

第59行:Microsoft为成员网站提供单一登录和核心配置文件
第60行: - >
第61行:<身份验证模式="表格">
第62行:<表格
第63行:name =" MIB.Identity"

源文件:
C:\ Webs \CorpWeb\products\imagebridge \ myimagebridge \web.config行:61
in IIS.

Source Error:
Line 59: by Microsoft that offers a single logon and core profile
services for member sites.
Line 60: -->
Line 61: <authentication mode="Forms">
Line 62: <forms
Line 63: name="MIB.Identity"
Source File: C:\Webs\CorpWeb\products\imagebridge\myimagebridge \web.config Line: 61


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



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

----
版本信息:Microsoft .NET Framework版本:1.1.4322.573;
----

Version Information: Microsoft .NET Framework Version:1.1.4322.573;


ASP.NET


ASP.NET

版本:1.1.4322.573
Version:1.1.4322.573




这篇关于表单身份验证错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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