访问被拒绝...... [英] Access Is Denied...

查看:108
本文介绍了访问被拒绝......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我有一个ASP.NET应用程序,经过很多麻烦工作在

服务器上,SERVER1。我需要将此应用程序移动到另一台服务器DC2。


两者都是域控制器,两者都运行相同的操作系统,SP等。


文件存储在SERVER1&上的C:\ NET\ App中。 D:\ NET\App在DC2上。


我尝试手动将文件复制到新服务器,以及使用

复制项目命令在VS.NET 2003中。两者都成功。


当我尝试加载一个aspx页面时,我得到访问被拒绝。


我启用了对象访问审核&

应用程序目录中没有记录任何访问(都没有成功或失败)。


为了测试,我创建了一个标准的WebApplication1应用程序,它打印了

Environ(UserName)到标签控件。这按预期工作。


因此我怀疑它是应用程序中的某种错误(而不是

a真正的权限被拒绝错误应该被记录?) 。


任何建议???


-

James Goodman

Ok, I had an ASP.NET application which after much trouble worked on a
server, SERVER1. I need to move this application to another server, DC2.

Both are domain controllers, both are running the same OS, SP etc.

The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.

I tried manually copying the files to the new server, as well as using the
copy project command inside VS.NET 2003. Both succeed.

When I attempt to load an aspx page I get ''Access Is Denied.''

I have enabled object access auditing & no accesses are logged in the
application directory (neither succeed or fail).

To test, I created a standard WebApplication1 application which printed
Environ("UserName") to a label control. This worked as expected.

I therefore suspect it is some kind of fault in the application (rather than
a true permission denied error which should be logged?).

Any suggestions???

--
James Goodman

推荐答案




执行ASPNET帐户(由aspnet_wp.exe工作进程使用)

在您的新服务器上拥有足够的访问权限。由于您的Windows应用程序是完美的工作,它似乎不是.net框架问题,而是一个问题

与ASP .NET本身。

让我知道它是否有效。


谢谢

Joyjit


James Goodman ; < JA *** @ norton-REMOVEassociates.co.uk>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP09.phx.gbl ...
Hi,

does the ASPNET account (which is used by the aspnet_wp.exe worker process)
has enough access permission on your new server. As your windows app is
working perfectly, it seems it is not a .net framework issue but an issue
with ASP .NET itself.

Let me know if it worked.

Thanks
Joyjit

"James Goodman" <ja***@norton-REMOVEassociates.co.uk> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
好的,我有一个ASP.NET应用程序,在服务器服务器SERVER1上遇到很多麻烦。我需要将此应用程序移动到另一台服务器DC2。

两者都是域控制器,两者都运行相同的操作系统,SP等。

文件存储在C: SERVER1&上的\NET\App D:\ NET\App在DC2上。

我尝试手动将文件复制到新服务器,以及在VS.NET 2003中使用
复制项目命令。两者都成功。

当我尝试加载一个aspx页面时,我得到访问被拒绝。

我启用了对象访问审核&
应用程序目录中没有记录任何访问(都没有成功或失败)。

为了测试,我创建了一个标准的WebApplication1应用程序,它打印了
Environ(UserName)到标签控件。这按预期工作。

因此我怀疑它在应用程序中是某种错误(而不是真正的权限拒绝错误,应该记录
?)。

任何建议???

-
James Goodman

Ok, I had an ASP.NET application which after much trouble worked on a
server, SERVER1. I need to move this application to another server, DC2.

Both are domain controllers, both are running the same OS, SP etc.

The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.

I tried manually copying the files to the new server, as well as using the
copy project command inside VS.NET 2003. Both succeed.

When I attempt to load an aspx page I get ''Access Is Denied.''

I have enabled object access auditing & no accesses are logged in the
application directory (neither succeed or fail).

To test, I created a standard WebApplication1 application which printed
Environ("UserName") to a label control. This worked as expected.

I therefore suspect it is some kind of fault in the application (rather than a true permission denied error which should be logged?).

Any suggestions???

--
James Goodman



它不是在ASPNET帐户下运行,因为它使用身份模拟。


为确保它不是权限,每个人组都有完全控制权。


-

James Goodman


" Joyjit Mukherjee" <乔************** @ hotmail.com>在消息中写道

news:uc ************** @ tk2msftngp13.phx.gbl ...
It is not running under the ASPNET account, as it uses identity impersonate.

To ensure it is not permissions, the everyone group has full control.

--
James Goodman

"Joyjit Mukherjee" <jo**************@hotmail.com> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...

ASPNET帐户(由aspnet_wp.exe工作程序
进程使用)
对您的新服务器具有足够的访问权限。由于您的Windows应用程序工作正常,它似乎不是.net框架问题,而是ASP .NET本身的问题。

如果有效,请告诉我。

谢谢
Joyjit

詹姆斯古德曼 < JA *** @ norton-REMOVEassociates.co.uk>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP09.phx.gbl ...
Hi,

does the ASPNET account (which is used by the aspnet_wp.exe worker
process)
has enough access permission on your new server. As your windows app is
working perfectly, it seems it is not a .net framework issue but an issue
with ASP .NET itself.

Let me know if it worked.

Thanks
Joyjit

"James Goodman" <ja***@norton-REMOVEassociates.co.uk> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
好的,我有一个ASP在
服务器上运行很多麻烦的.NET应用程序,SERVER1。我需要将此应用程序移动到另一台服务器DC2。

两者都是域控制器,两者都运行相同的操作系统,SP等。

文件存储在C: SERVER1&上的\NET\App D:\ NET\App在DC2上。

我尝试手动将文件复制到新服务器,以及在VS.NET中使用
复制项目命令2003.两者都成功了。

当我尝试加载一个aspx页面时,我得到访问被拒绝。

我启用了对象访问审核&
应用程序目录中没有记录任何访问(都没有成功或失败)。

为了测试,我创建了一个标准的WebApplication1应用程序,它打印了
Environ(UserName)到标签控件。这按预期工作。

因此我怀疑它在应用程序中是某种错误(而不是
Ok, I had an ASP.NET application which after much trouble worked on a
server, SERVER1. I need to move this application to another server, DC2.

Both are domain controllers, both are running the same OS, SP etc.

The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.

I tried manually copying the files to the new server, as well as using
the
copy project command inside VS.NET 2003. Both succeed.

When I attempt to load an aspx page I get ''Access Is Denied.''

I have enabled object access auditing & no accesses are logged in the
application directory (neither succeed or fail).

To test, I created a standard WebApplication1 application which printed
Environ("UserName") to a label control. This worked as expected.

I therefore suspect it is some kind of fault in the application (rather


一个真正的权限被拒绝错误应该记录吗?)。

任何建议???

-
詹姆斯古德曼

a true permission denied error which should be logged?).

Any suggestions???

--
James Goodman



我注意到你正在使用DC。可能是:
http://msdn.microsoft.com/library/de...et_on_a_dc.asp

Patrice


-


" James Goodman" < JA *** @ norton-REMOVEassociates.co.uk> aécritdansle

message de news:%2 **************** @ TK2MSFTNGP09.phx.gbl ...
I noticed you are using a DC. Could be :
http://msdn.microsoft.com/library/de...et_on_a_dc.asp

Patrice

--

"James Goodman" <ja***@norton-REMOVEassociates.co.uk> a écrit dans le
message de news:%2****************@TK2MSFTNGP09.phx.gbl...
好的,我有一个ASP.NET应用程序,在服务器服务器SERVER1上遇到很多麻烦。我需要将此应用程序移动到另一台服务器DC2。

两者都是域控制器,两者都运行相同的操作系统,SP等。

文件存储在C: SERVER1&上的\NET\App D:\ NET\App在DC2上。

我尝试手动将文件复制到新服务器,以及在VS.NET 2003中使用
复制项目命令。两者都成功。

当我尝试加载一个aspx页面时,我得到访问被拒绝。

我启用了对象访问审核&
应用程序目录中没有记录任何访问(都没有成功或失败)。

为了测试,我创建了一个标准的WebApplication1应用程序,它打印了
Environ(UserName)到标签控件。这按预期工作。

因此我怀疑它在应用程序中是某种错误(而不是真正的权限拒绝错误,应该记录
?)。

任何建议???

-
James Goodman

Ok, I had an ASP.NET application which after much trouble worked on a
server, SERVER1. I need to move this application to another server, DC2.

Both are domain controllers, both are running the same OS, SP etc.

The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.

I tried manually copying the files to the new server, as well as using the
copy project command inside VS.NET 2003. Both succeed.

When I attempt to load an aspx page I get ''Access Is Denied.''

I have enabled object access auditing & no accesses are logged in the
application directory (neither succeed or fail).

To test, I created a standard WebApplication1 application which printed
Environ("UserName") to a label control. This worked as expected.

I therefore suspect it is some kind of fault in the application (rather than a true permission denied error which should be logged?).

Any suggestions???

--
James Goodman



这篇关于访问被拒绝......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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