Access Denied尝试快速编辑 [英] Access Denied trying to do quick editing

查看:58
本文介绍了Access Denied尝试快速编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个测试服务器runinng 2003 / IIS 6,混合了asp和asp.net

文件。在我的工作站上,我有一个共享设置到web

文件所在的文件夹。我只是做了快速而肮脏的asp编辑(就像我曾经用2K / IIS5做的
)我在哪里使用VS.NET,打开一个asp文件,进行更改,

保存并刷新我的浏览器。


问题是当我尝试保存文件时,我得到Access is Denied错误

然后文件在服务器上被擦除。如果我重新打开它,只有一半

就在那里。显然,它已被锁定和缓存。这看起来像IIS 4天的问题
问题

http://support.microsoft.com/default...b;en-us;191742 )但是因为我

提到我现在正在使用IIS 6.0和VS.NET启动(这是一种痛苦

改变并加快速度)。


我该怎么办?我怎样才能在我的测试服务器上禁用缓存,或者我应该用b $ b来练习一种新的工作方式?


- Ron

解决方案

这真的很奇怪。我看到所有这些人都声称当我在IIS6上更新内容时,它会继续提供陈旧内容或获得

访问被拒绝,我完全拥有无法重现任何一个。


我的意思是,我去安装WS03然后安装IIS6,将我的ASP / ASPX文件发布到

inetpub \ wwwroot,向它发出一些请求以查看它并将其缓存 -

当我用记事本打开ASP文件时,进行一些更改,保存 -

I *立即*看到变化。每次。没有访问被拒绝,没有陈旧

条目,没有任何问题。我甚至检查以确保我的静态和动态

文件真正缓存在内存/内核模式中,然后进行编辑,并且

他们继续为我立即工作(我看到缓存未命中/刷新为

)。当我让vdir超过UNC分享时,同样的事情发生了 - 仍然

有效。 Pass-thru auth也有效。


所以,我真的没有任何建议,只需要询问你的配置和问题再现步骤的所有细节

(更多细节更好)。

我真的经历过并尝试了所有设置并看到他们从一开始就按照广告宣传工作。不用大惊小怪。


所以,我真的很想得到一个好的设置/例子,可以预见会失败

,我也可以重现它。 ..


-

// David

IIS
http://blogs.msdn.com/David.Wang

此帖子提供 ;按原样没有保证,也没有授予任何权利。

//

" Ron Weldy" < RO ****** @ msn.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...

我有测试服务器runinng 2003 / IIS 6,混合使用asp和asp.net

文件。在我的工作站上,我有一个共享设置到web

文件所在的文件夹。我只是做了快速而肮脏的asp编辑(就像我曾经用2K / IIS5做的
)我在哪里使用VS.NET,打开一个asp文件,进行更改,

保存并刷新我的浏览器。


问题是当我尝试保存文件时,我得到Access is Denied错误

然后文件在服务器上被擦除。如果我重新打开它,只有一半

就在那里。显然,它已被锁定和缓存。这看起来像IIS 4天的问题
问题

http://support.microsoft.com/default...b;en-us;191742 )但是因为我

提到我现在正在使用IIS 6.0和VS.NET启动(这是一种痛苦

改变并加快速度)。


我该怎么办?如何在我的测试服务器上禁用缓存,或者我应该实行新的工作方式?


- Ron


嗨大卫,


感谢您的回复。我开始失去希望......


就在今天我正在编辑一个asp文件,它在前几次工作正常

和爆炸!拒绝访问。有趣的是,我然后保存到

不同的位置,并可以将其复制到文件夹中,它的工作原理。不用说
说,这真的很痛苦。


就环境而言,我有一个用于远程开发的WS03服务器。 />
现在它确实安装了活动目录并且它是域控制器所以

我不确定这是否可能是问题的一部分。我一直试图在没有活动目录的情况下重建服务器,因为我无法使用ASP.NET

调试来处理它。但我非常愿意与你合作

来找出问题的原因。我可以可靠地重现它。


如果你想直接给我发电子邮件(这是我在这里的真实地址)我会很乐意发送给你b $ b关于我的配置如何设置你想要的任何东西。

在新闻组上执行此操作可能会很乏味。我也住在博塞尔,所以

如果你在校园我很近。


- Ron

David Wang [Msft]" <所以***** @ online.microsoft.com>在消息中写道

新闻:OH ************** @ tk2msftngp13.phx.gbl ...

这真的很奇怪。我看到所有这些声称人们都说当我在IIS6上更新内容时,它会继续提供过时的内容或者被拒绝访问,而我完全无法重现他们中的任何一个。

我的意思是,我去安装WS03然后安装IIS6,将我的ASP / ASPX文件发布到
inetpub \ www.root,向它发出一些请求以查看它得到它缓存 -
当我用记事本打开ASP文件时,进行一些更改,保存它 -
我*立即*看到更改。每次。没有访问被拒绝,没有陈旧的条目,没有任何问题。我甚至检查以确保我的静态和
动态文件真正缓存在内存/内核模式然后进行编辑,并且
他们继续立即为我工作(我看到了缓存未命中/刷新为
好)。当我让vdir超过UNC分享时,同样的事情发生了 -
仍然有效。 Pass-thru auth也可以工作。

所以,除了询问你的配置和问题再现步骤的所有细节之外,我真的没有任何建议(更多细节
更好)。
我真的经历了所有的设置并看到它们从一开始就像宣传的那样工作。不用大惊小怪。

所以,我真的很想得到一个好的设置/例子,可以预见的失败
并且我也可以重现它......

-
//大卫
IIS
http://blogs.msdn.com/David.Wang
此帖子按原样提供。没有保证,也没有授予
权利。
//
Ron Weldy < RO ****** @ msn.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...
我有一个测试服务器runinng 2003 / IIS 6混合使用asp和asp.net
文件。在我的工作站上,我有一个共享设置到
web
文件所在的文件夹。我只是在进行快速而肮脏的asp编辑(就像我以前那样能够用2K / IIS5做)我在哪里使用VS.NET,打开一个asp文件,进行更改,
保存并刷新我的浏览器。

问题是,当我尝试保存
文件时,我得到Access is Denied错误,然后文件被擦除服务器。如果我重新打开它,只有一半
它在那里。显然,它已被锁定和缓存。这看起来像IIS 4天的问题
http://support.microsoft.com/default...b;en-us;191742 )但是我提到我现在正在使用IIS 6.0和VS.NET一起启动(这是一种痛苦的改变和加速)。

我该怎么办?如何在我的测试服务器上禁用缓存,或者我应该采用新的工作方法?

- Ron



嗨大卫,


你知道吗,我不确定这是不是它的一部分而是......我的服务器

配置有点与众不同,因为服务器操作系统不是安装在驱动器C:上的
。出于某种原因,当我在这个盒子上安装WS03时,

它决定将自己安装在Drive E:上。事实上,我根本就没有C:

驱动器。我不确定这是否与

问题有关,但我不会感到惊讶。

David Wang [Msft]" <所以***** @ online.microsoft.com>在消息中写道

新闻:OH ************** @ tk2msftngp13.phx.gbl ...

这真的很奇怪。我看到所有这些声称人们都说当我在IIS6上更新内容时,它会继续提供过时的内容或者被拒绝访问,而我完全无法重现他们中的任何一个。

我的意思是,我去安装WS03然后安装IIS6,将我的ASP / ASPX文件发布到
inetpub \ www.root,向它发出一些请求以查看它得到它缓存 -
当我用记事本打开ASP文件时,进行一些更改,保存它 -
我*立即*看到更改。每次。没有访问被拒绝,没有陈旧的条目,没有任何问题。我甚至检查以确保我的静态和
动态文件真正缓存在内存/内核模式然后进行编辑,并且
他们继续立即为我工作(我看到了缓存未命中/刷新为
好)。当我让vdir超过UNC分享时,同样的事情发生了 -
仍然有效。 Pass-thru auth也可以工作。

所以,除了询问你的配置和问题再现步骤的所有细节之外,我真的没有任何建议(更多细节
更好)。
我真的经历了所有的设置并看到它们从一开始就像宣传的那样工作。不用大惊小怪。

所以,我真的很想得到一个好的设置/例子,可以预见的失败
并且我也可以重现它......

-
//大卫
IIS
http://blogs.msdn.com/David.Wang
此帖子按原样提供。没有保证,也没有授予
权利。
//
Ron Weldy < RO ****** @ msn.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...
我有一个测试服务器runinng 2003 / IIS 6混合使用asp和asp.net
文件。在我的工作站上,我有一个共享设置到
web
文件所在的文件夹。我只是在进行快速而肮脏的asp编辑(就像我以前那样能够用2K / IIS5做)我在哪里使用VS.NET,打开一个asp文件,进行更改,
保存并刷新我的浏览器。

问题是,当我尝试保存
文件时,我得到Access is Denied错误,然后文件被擦除服务器。如果我重新打开它,只有一半
它在那里。显然,它已被锁定和缓存。这看起来像IIS 4天的问题
http://support.microsoft.com/default...b;en-us;191742 )但是我提到我现在正在使用IIS 6.0和VS.NET一起启动(这是一种痛苦的改变和加速)。

我该怎么办?如何在我的测试服务器上禁用缓存,或者我应该采用新的工作方法?

- Ron



I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net
files. On my workstation I have a share set up to the folder where the web
files reside. I am just doing quick and dirty asp editing (like I used to be
able to do with 2K/IIS5) where I use VS.NET, open an asp file, make changes,
save and refresh my browser.

Problem is that I get an Access is Denied error when I try to save the file
and then the file gets wiped on the server. If I reopen it, only half of it
is there. So obviously, it''s getting locked and cached. This looks like a
problem from IIS 4 days
(http://support.microsoft.com/default...b;en-us;191742) but as I
mentioned I''m using IIS 6.0 now and VS.NET to boot (it''s such a pain
changing and getting up to speed).

What should I do? How can I disable caching on my test server, or should I
be practicing a new method of working?

- Ron

解决方案

This is really weird. I see all these claims of people saying that "when I
update content on IIS6 it either continues to serve stale content or get
access denied", and I totally have been unable to reproduce any of them.

I mean, I go and install WS03 and then IIS6, publish my ASP/ASPX file to
inetpub\wwwroot, make a few requests to it to see it and get it cached --
and when I open that ASP file up with notepad, make some changes, save it --
I *immediately* see the changes. Every time. No access denied, no stale
entries, no problems at all. I even check to make sure my static and dynamic
files are truly cached in memory/kernel-mode and then make the edits, and
they continue to immediately work for me (I see the cache miss/flush as
well). Same thing happens when I make the vdir go over a UNC share -- still
works. Pass-thru auth also works.

So, I really have no suggestions other than to ask for all the details of
your configuration and problem-reproduction steps (more details the better).
I''ve really gone through and tried out all the settings and see that they
work as advertised from the very start. No fuss.

So, I''m really anxious to get a good setup/example that predictably fails
and that I can reproduce it as well...

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Ron Weldy" <ro******@msn.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net
files. On my workstation I have a share set up to the folder where the web
files reside. I am just doing quick and dirty asp editing (like I used to be
able to do with 2K/IIS5) where I use VS.NET, open an asp file, make changes,
save and refresh my browser.

Problem is that I get an Access is Denied error when I try to save the file
and then the file gets wiped on the server. If I reopen it, only half of it
is there. So obviously, it''s getting locked and cached. This looks like a
problem from IIS 4 days
(http://support.microsoft.com/default...b;en-us;191742) but as I
mentioned I''m using IIS 6.0 now and VS.NET to boot (it''s such a pain
changing and getting up to speed).

What should I do? How can I disable caching on my test server, or should I
be practicing a new method of working?

- Ron


Hi David,

Thanks for the reply. I was starting to lose hope...

Just today I was editing an asp file and it worked fine the first few times
and bang! Access Denied. The funny thing is that I then save as to a
different location and can copy it into the folder and it works. Needless to
say, it''s really a pain.

As far as environment, I have a WS03 server I use for remote development.
Now it does have active directory installed and it is a domain controller so
I am not sure if that could be part of the problem. I have been tempted to
rebuild the server without active directory as I cannot get ASP.NET
debugging to work on it as well. But I am more than willing to work with you
to figure out the cause of the problem. And I can reliably reproduce it.

If you want to email me directly (that''s my real address up here) I will
gladly send you anything you want as far as how my configuration is set up.
It could be tedious doing this on the newsgroup. I also live in Bothell, so
if you''re on campus I''m close.

- Ron
"David Wang [Msft]" <so*****@online.microsoft.com> wrote in message
news:OH**************@tk2msftngp13.phx.gbl...

This is really weird. I see all these claims of people saying that "when
I
update content on IIS6 it either continues to serve stale content or get
access denied", and I totally have been unable to reproduce any of them.

I mean, I go and install WS03 and then IIS6, publish my ASP/ASPX file to
inetpub\wwwroot, make a few requests to it to see it and get it cached --
and when I open that ASP file up with notepad, make some changes, save
it --
I *immediately* see the changes. Every time. No access denied, no stale
entries, no problems at all. I even check to make sure my static and
dynamic
files are truly cached in memory/kernel-mode and then make the edits, and
they continue to immediately work for me (I see the cache miss/flush as
well). Same thing happens when I make the vdir go over a UNC share --
still
works. Pass-thru auth also works.

So, I really have no suggestions other than to ask for all the details of
your configuration and problem-reproduction steps (more details the
better).
I''ve really gone through and tried out all the settings and see that they
work as advertised from the very start. No fuss.

So, I''m really anxious to get a good setup/example that predictably fails
and that I can reproduce it as well...

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no
rights.
//
"Ron Weldy" <ro******@msn.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net
files. On my workstation I have a share set up to the folder where the
web
files reside. I am just doing quick and dirty asp editing (like I used to
be
able to do with 2K/IIS5) where I use VS.NET, open an asp file, make
changes,
save and refresh my browser.

Problem is that I get an Access is Denied error when I try to save the
file
and then the file gets wiped on the server. If I reopen it, only half of
it
is there. So obviously, it''s getting locked and cached. This looks like a
problem from IIS 4 days
(http://support.microsoft.com/default...b;en-us;191742) but as I
mentioned I''m using IIS 6.0 now and VS.NET to boot (it''s such a pain
changing and getting up to speed).

What should I do? How can I disable caching on my test server, or should I
be practicing a new method of working?

- Ron



Hi David,

You know, I''m not sure if this maybe part of it or not but... my server
configuration is a little out of the ordinary in that the server OS is not
installed on drive C:. For some reason, when I installed WS03 on this box,
it decided to install itself on Drive E:. In fact, I don''t even have a C:
drive on the box at all. I am not sure if this has anything to do with the
problem but it wouldn''t surprise me.
"David Wang [Msft]" <so*****@online.microsoft.com> wrote in message
news:OH**************@tk2msftngp13.phx.gbl...

This is really weird. I see all these claims of people saying that "when
I
update content on IIS6 it either continues to serve stale content or get
access denied", and I totally have been unable to reproduce any of them.

I mean, I go and install WS03 and then IIS6, publish my ASP/ASPX file to
inetpub\wwwroot, make a few requests to it to see it and get it cached --
and when I open that ASP file up with notepad, make some changes, save
it --
I *immediately* see the changes. Every time. No access denied, no stale
entries, no problems at all. I even check to make sure my static and
dynamic
files are truly cached in memory/kernel-mode and then make the edits, and
they continue to immediately work for me (I see the cache miss/flush as
well). Same thing happens when I make the vdir go over a UNC share --
still
works. Pass-thru auth also works.

So, I really have no suggestions other than to ask for all the details of
your configuration and problem-reproduction steps (more details the
better).
I''ve really gone through and tried out all the settings and see that they
work as advertised from the very start. No fuss.

So, I''m really anxious to get a good setup/example that predictably fails
and that I can reproduce it as well...

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no
rights.
//
"Ron Weldy" <ro******@msn.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net
files. On my workstation I have a share set up to the folder where the
web
files reside. I am just doing quick and dirty asp editing (like I used to
be
able to do with 2K/IIS5) where I use VS.NET, open an asp file, make
changes,
save and refresh my browser.

Problem is that I get an Access is Denied error when I try to save the
file
and then the file gets wiped on the server. If I reopen it, only half of
it
is there. So obviously, it''s getting locked and cached. This looks like a
problem from IIS 4 days
(http://support.microsoft.com/default...b;en-us;191742) but as I
mentioned I''m using IIS 6.0 now and VS.NET to boot (it''s such a pain
changing and getting up to speed).

What should I do? How can I disable caching on my test server, or should I
be practicing a new method of working?

- Ron



这篇关于Access Denied尝试快速编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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