如何更改ASP.NET使用的帐户 [英] How to change the account that ASP.NET uses

查看:80
本文介绍了如何更改ASP.NET使用的帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




如何将ASP.NET用于此

虚拟目录的帐户更改为拥有SQL Server权限的帐户

框。


或者如何在Web应用程序文件中使用模拟设置

asp应用程序,指的是一个帐户拥有对SQL Server框的
权限。


请一步一步;)


问候。

Hi,

How to change the account that ASP.NET uses for this
virtual directory to one that has rights to the SQL Server
box.

Or how to use impersonation set in the Web.config file for
the asp application, referring to an account that has
rights to the SQL Server box.

Pls step by step ;)

Regards.

推荐答案

http://support.microsoft.com/?id=317012#5b


< identity impersonate =" true" username =" domain\username"

password =" password" />


-

希望这会有所帮助,

Zeeshan Mustafa,MCSD

" ; Mr.KisS" <一个******* @ discussions.microsoft.com>在留言中写道

news:27 ***************************** @ phx.gbl ...
http://support.microsoft.com/?id=317012#5b

<identity impersonate="true" username="domain\username"
password="password" />

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Mr.KisS" <an*******@discussions.microsoft.com> wrote in message
news:27*****************************@phx.gbl...


如何将ASP.NET用于此虚拟目录的帐户更改为对SQL Server具有权限的帐户
框。

或者如何在Web应用程序文件中使用模拟设置asp应用程序,指的是对SQL Server框具有
权限的帐户。

请一步一步;)

问候。
Hi,

How to change the account that ASP.NET uses for this
virtual directory to one that has rights to the SQL Server
box.

Or how to use impersonation set in the Web.config file for
the asp application, referring to an account that has
rights to the SQL Server box.

Pls step by step ;)

Regards.



我已经做到了(我''我的帐户中没有密码):

< identity impersonate =" true" userName =" KLEO \ Lazhar"

password ="" />

<身份验证模式=" Windows" />


但我收到此错误消息:

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

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


配置错误

描述:处理服务此请求所需的

配置文件时出错。请

查看下面的具体错误详细信息并适当修改

配置文件。


解析器错误消息:无法从配置文件中指定的凭据创建Windows用户令牌

。错误

来自操作系统''Erreurnonspécifiée''

问候。

i''ve done that (i''ve no password in my account):
<identity impersonate="true" userName="KLEO\Lazhar"
password="" />
<authentication mode="Windows"/>

But i get this error message :

Server Error in ''/myapp'' 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: Could not create Windows user token
from the credentials specified in the config file. Error
from the operating system ''Erreur non spécifiée ''
Regards.

---- - 原始消息-----
http://支持.microsoft.com /?id = 317012#5b

< identity impersonate =" true" username =" domain\username"
password =" password" />

- 希望这会有所帮助,
Zeeshan Mustafa,MCSD

" Mr.KisS" <一个******* @ discussions.microsoft.com>写在
messagenews:27 ***************************** @ phx.gbl ...
-----Original Message-----
http://support.microsoft.com/?id=317012#5b

<identity impersonate="true" username="domain\username"
password="password" />

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Mr.KisS" <an*******@discussions.microsoft.com> wrote in messagenews:27*****************************@phx.gbl...


如何将ASP.NET用于此
虚拟目录的帐户更改为拥有SQL Server
框权限的帐户。

或者如何在Web应用程序文件中使用模拟设置
asp应用程序,指的是对SQL Server框具有
权限的帐户。

请一步一步;)

问候。
Hi,

How to change the account that ASP.NET uses for this
virtual directory to one that has rights to the SQL Server
box.

Or how to use impersonation set in the Web.config file for
the asp application, referring to an account that has
rights to the SQL Server box.

Pls step by step ;)

Regards.




.



你可能会没有适当的权限来运行应用程序。


检查以下链接以创建自定义帐户以运行ASP .Net并在Machine.config中指定此帐户或在应用程序池标识中指定它。

http://msdn.microsoft.com/library/de...SecNetHT01.asp


Re gards

Somu

" an ******* @ discussion.microsoft.com"写道:
You might not have appropriate permissions to run the Application.

Check the below link to create Custom Account to run ASP .Net and specify this account in Machine.config or specify it at Application Pool Identity.

http://msdn.microsoft.com/library/de...SecNetHT01.asp

Regards
Somu
"an*******@discussions.microsoft.com" wrote:
我已经完成了(我的帐户中没有密码):
< identity impersonate =" true" userName =" KLEO \ Lazhar"
password ="" />
<身份验证模式=" Windows" />

但我收到此错误消息:

''/ myapp'中的服务器错误'申请。
------------------------------------------- -------------------------------------

配置错误
描述:处理为此请求提供服务所需的配置文件时发生错误。请
查看下面的具体错误详细信息并相应地修改您的
配置文件。

分析器错误消息:无法从指定的凭据创建Windows用户令牌
配置文件。错误
来自操作系统''Erreur non sp ?? cifi ?? e''

问候。

i''ve done that (i''ve no password in my account):
<identity impersonate="true" userName="KLEO\Lazhar"
password="" />
<authentication mode="Windows"/>

But i get this error message :

Server Error in ''/myapp'' 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: Could not create Windows user token
from the credentials specified in the config file. Error
from the operating system ''Erreur non sp??cifi??e ''
Regards.

- ---原始消息-----
http:/ /support.microsoft.com/?id=317012#5b

< identity impersonate =" true" username =" domain\username"
password =" password" />

- 希望这会有所帮助,
Zeeshan Mustafa,MCSD

" Mr.KisS" <一个******* @ discussions.microsoft.com>写在
-----Original Message-----
http://support.microsoft.com/?id=317012#5b

<identity impersonate="true" username="domain\username"
password="password" />

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Mr.KisS" <an*******@discussions.microsoft.com> wrote in


消息

新闻:27 **************************** *@phx.gbl ...
news:27*****************************@phx.gbl...


如何将ASP.NET用于此
虚拟目录的帐户更改为有权使用的帐户SQL Server
框。

或者如何在Web应用程序文件中使用模拟设置
asp应用程序,指的是具有
权限的帐户SQL Server框。

请一步一步;)

问候。
Hi,

How to change the account that ASP.NET uses for this
virtual directory to one that has rights to the SQL Server
box.

Or how to use impersonation set in the Web.config file for
the asp application, referring to an account that has
rights to the SQL Server box.

Pls step by step ;)

Regards.




.



这篇关于如何更改ASP.NET使用的帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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