脆弱 [英] Fragile

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

问题描述

创建两个ASP.NET应用程序。在开发机器上运行它们

确保它们没有错误。


将第一个应用程序发布到远程网站空间的根目录。

调用一个页面,看它是否正常运行。


将第二个应用程序发布到同一个远程网站空间的根目录。

允许它到覆盖现有文件。

调用页面并注意它会永远等待。


使用第三方FTP程序删除远程根目录中的所有文件

webspace。

将第二个应用程序发布到同一个

远程网站空间看似空洞的根目录。

通话一个页面并注意它永远等待。


在所有情况下,Visual Studio 2005报告发布成功。


什么是魔术 ;必须执行以重置远程

服务器上的错误条件?

-

- Thom Little - < a rel =nofollowhref =http://www.tlanet.nettarget =_ blank> www.tlanet.net - Thom Little Associates,Ltd。

-

Create two ASP.NET applications. Run them on the development machine to
make sure they are error free.

Publish the fist application to the root of a remote webspace.
Call a page and see that it operates correctly.

Publish the second application to the root of the same remote webspace.
Permit it to overwrite existing files.
Call a page and notice that it waits forever.

Using a third-party FTP program delete all files in the root of the remote
webspace.
Publish the second application to the seemingly empty root of the same
remote webspace.
Call a page and notice that it waits forever.

In all cases Visual Studio 2005 reports "Publish Succeeded".

What "magic" must be performed to reset the error condition on the remote
server?

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

推荐答案

如果远程服务器是手动重置的话。然后挂起的条件

(无论是什么)消失,页面再次从2.0

申请中提供。


- -

- Thom Little - www.tlanet.net - Thom Little Associates,Ltd。

-


Thom Little <第** @ tlanet.net>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP11.phx.gbl ...
If the remote server is manually "reset" then the hanging condition
(whatever it is) goes away and pages are again served from the 2.0
application.

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Thom Little" <th**@tlanet.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
创建两个ASP.NET应用程序。在开发机器上运行它们以确保它们没有错误。

将第一个应用程序发布到远程网站空间的根目录。
调用页面并查看它是否运行正确。

将第二个应用程序发布到同一远程网站空间的根目录。
允许它覆盖现有文件。
调用页面并注意它会永远等待。

使用第三方FTP程序删除
远程网站空间根目录中的所有文件。
将第二个应用程序发布到同一个远程网站空间看似空洞的根目录中。
调用页面并注意它永远等待。

在所有情况下,Visual Studio 2005报告发布成功。

什么是魔术。必须执行以重置远程服务器上的错误条件?

- Thom Little - www.tlanet.net - Thom Little Associates,Ltd。
-
Create two ASP.NET applications. Run them on the development machine to
make sure they are error free.

Publish the fist application to the root of a remote webspace.
Call a page and see that it operates correctly.

Publish the second application to the root of the same remote webspace.
Permit it to overwrite existing files.
Call a page and notice that it waits forever.

Using a third-party FTP program delete all files in the root of the
remote webspace.
Publish the second application to the seemingly empty root of the same
remote webspace.
Call a page and notice that it waits forever.

In all cases Visual Studio 2005 reports "Publish Succeeded".

What "magic" must be performed to reset the error condition on the remote
server?

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--



Hi Thom,


对于IIS Web应用程序虚拟目录,当一个应用程序已经运行时,存在工作进程对于那个应用程序和asp.net

运行时还将监视应用程序的物理目录及其

文件和内容....所以如果我们直接使用VS IDE的发布网站'

将网络应用程序发布到新网站,它将直接更改

虚拟目录的物理目录(例如清除目录并复制新的

文件...),这将使正在运行的应用程序出现问题。当我们

访问新应用程序时,可能会出现问题。因此,在我们进行此类部署更改之前,首选的方法

是在IIS中停止该应用程序...

此外,如果您使用的是IIS 6,我们可以停止或者回收应用程序的

Applicatino池而不是使用IISreset来重启整个IIS

服务器......


谢谢,


Steven Cheng

Microsoft在线支持


安全! www.microsoft.com/security

(此帖子按原样提供,不作任何保证,并且不授予

权利。)

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

|来自:Thom Little < th ** @ tlanet.net>

|参考文献:< #x ************** @ TK2MSFTNGP11.phx.gbl>

|主题:回复:脆弱

|日期:星期一,2005年12月19日17:35:45 -0500

|行数:39

| X-Priority:3

| X-MSMail-Priority:正常

| X-Newsreader:Microsoft Outlook Express 6.00.2900.2670

| X-MimeOLE:由Microsoft MimeOLE制作V6.00.2900.2670

| X-RFC2646:格式=流动;回复

|消息ID:< us ************** @ TK2MSFTNGP11.phx.gbl>

|新闻组:microsoft.public.dotnet.framework.aspnet

| NNTP-Posting-Host:65.99.185.176

|路径:TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl

|外翻:TK2MSFTNGXA02.phx.gbl

microsoft.public.dotnet.framework.aspnet:365814

| X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet

|

|如果远程服务器是手动重置的话。然后悬挂条件

| (无论它是什么)消失,页面再次从2.0

|提供申请。

|

| -

| - Thom Little - www.tlanet.net - Thom Little Associates,Ltd。

| -

|

| Thom Little <第** @ tlanet.net>在消息中写道

|新闻:%2 **************** @ TK2MSFTNGP11.phx.gbl ...

| >创建两个ASP.NET应用程序。在开发机上运行它们



| >确保它们没有错误。

| >

| >将第一个应用程序发布到远程网站空间的根目录。

| >调用一个页面,看它是否正常运行。

| >

| >将第二个应用程序发布到同一远程网站空间的根目录。

| >允许它覆盖现有文件。

| >打电话给一个页面,注意它永远等待。

| >

| >使用第三方FTP程序删除

|根目录中的所有文件>远程网站空间。

| >将第二个应用程序发布到看似空洞的同一个

| >远程网站空间。

| >打电话给一个页面,注意它永远等待。

| >

| >在所有情况下,Visual Studio 2005都会报告Publish Succeeded。

| >

| >什么是魔术必须执行以重置

遥控器上的错误条件

| >服务器?

| >

| > -

| > - Thom Little - www.tlanet.net - Thom Little Associates,Ltd。

| > -

| >

| >

| >

|

|

|

Hi Thom,

For IIS web applicaiton virtual directory, when an application is already
running, there exists worker process for that application and asp.net
runtime will also monitoring the application''s physical directory and its
files and contents.... So if we directly use the VS IDE''s publish site''s
publish a web application to a new website, it''ll directly change the
virtual directory''s physical dir(such as clear the directory and copy new
files...), that''ll make the running application get problem. And when we
visit the new application, there may occur problems. So the prefered means
is stop that application in IIS before we do such deployment change...
Also, if you''re using IIS 6, we can just stop or recycle the Application''s
Applicatino Pool instead of using IISreset to restart the whole IIS
server......

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Thom Little" <th**@tlanet.net>
| References: <#x**************@TK2MSFTNGP11.phx.gbl>
| Subject: Re: Fragile
| Date: Mon, 19 Dec 2005 17:35:45 -0500
| Lines: 39
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Response
| Message-ID: <us**************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 65.99.185.176
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:365814
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| If the remote server is manually "reset" then the hanging condition
| (whatever it is) goes away and pages are again served from the 2.0
| application.
|
| --
| -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| --
|
| "Thom Little" <th**@tlanet.net> wrote in message
| news:%2****************@TK2MSFTNGP11.phx.gbl...
| > Create two ASP.NET applications. Run them on the development machine
to
| > make sure they are error free.
| >
| > Publish the fist application to the root of a remote webspace.
| > Call a page and see that it operates correctly.
| >
| > Publish the second application to the root of the same remote webspace.
| > Permit it to overwrite existing files.
| > Call a page and notice that it waits forever.
| >
| > Using a third-party FTP program delete all files in the root of the
| > remote webspace.
| > Publish the second application to the seemingly empty root of the same
| > remote webspace.
| > Call a page and notice that it waits forever.
| >
| > In all cases Visual Studio 2005 reports "Publish Succeeded".
| >
| > What "magic" must be performed to reset the error condition on the
remote
| > server?
| >
| > --
| > -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| > --
| >
| >
| >
|
|
|


谢谢解释。


我正在使用远离我的开发环境的托管服务。

它是Server 2000下的IIS 5.0。我的环境是XP Pro SP2与VS 2005

(和IIS 5.1有什么区别)。


是否有方法/技术可以让我关闭应用程序

在远程机器上?


-

- Thom Little - www.tlanet.net - Thom Little Associates,Ltd。

-


" Steven Cheng [MSFT]" < ST ***** @ online.microsoft.com>在消息中写道

news:sT ************** @ TK2MSFTNGXA02.phx.gbl ...
Thank you for the explanation.

I am using a hosting service that is remote from my development environment.
It is IIS 5.0 under Server 2000. My environment is XP Pro SP2 with VS 2005
(and IIS 5.1 for what difference that makes).

Is there a method/technique that will permit me to shut down the application
on the remote machine?

--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:sT**************@TK2MSFTNGXA02.phx.gbl...
Hi Thom,文件和内容....所以如果我们直接使用VS IDE的发布网站'
将网络应用程序发布到新网站,它将直接更改
虚拟目录的物理目录(例如清除目录并复制新的文件......),这将使正在运行的应用程序出现问题。当我们访问新应用程序时,可能会出现问题。因此,在我们进行此类部署更改之前,首选的方法是停止IIS中的应用程序...
此外,如果您使用的是IIS 6,我们可以停止或回收
应用程序是的,而不是使用IISreset来重启整个IIS服务器......

谢谢,

Steven Cheng <微软在线支持

获得安全! www.microsoft.com/security
(此帖已提供按原样,没有任何保证,也没有赋予
权利。)
--------------------
|来自:Thom Little < th ** @ tlanet.net>
|参考文献:< #x ************** @ TK2MSFTNGP11.phx.gbl>
|主题:回复:脆弱
|日期:星期一,2005年12月19日17:35:45 -0500
|行:39
| X-Priority:3
| X-MSMail-Priority:正常
| X-Newsreader:Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE:由Microsoft MimeOLE制作V6.00.2900.2670
| X-RFC2646:格式=流动;回复
|消息ID:< us ************** @ TK2MSFTNGP11.phx.gbl>
|新闻组:microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host:65.99.185.176
|路径:TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
|外翻:TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:365814
| X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet
|
|如果远程服务器是手动重置的话。然后悬挂的条件
| (无论它是什么)消失,页面再次从2.0
|提供申请。
|
| -
| - Thom Little - www.tlanet.net - Thom Little Associates,Ltd。
| -
|
| Thom Little <第** @ tlanet.net>在消息中写道
|新闻:%2 **************** @ TK2MSFTNGP11.phx.gbl ...
| >创建两个ASP.NET应用程序。在开发机器上运行它们
| >确保它们没有错误。
| >
| >将第一个应用程序发布到远程网站空间的根目录。
| >调用页面,看它是否正常运行。
| >
| >将第二个应用程序发布到同一个远程
网站空间的根目录。
| >允许它覆盖现有文件。
| >打电话给一个页面,注意它永远等待。
| >
| >使用第三方FTP程序删除
|根目录中的所有文件>远程网站空间。
| >将第二个应用程序发布到看似空洞的同一个
| >远程网站空间。
| >打电话给一个页面,注意它永远等待。
| >
| >在所有情况下,Visual Studio 2005都报告Publish Succeeded。
| >
| >什么是魔术必须执行以重置
遥控器上的错误条件>服务器?
| >
| > -
| > - Thom Little - www.tlanet.net - Thom Little Associates,Ltd。
| > -
| >
| >
| >
|
|
|
Hi Thom,

For IIS web applicaiton virtual directory, when an application is already
running, there exists worker process for that application and asp.net
runtime will also monitoring the application''s physical directory and its
files and contents.... So if we directly use the VS IDE''s publish site''s
publish a web application to a new website, it''ll directly change the
virtual directory''s physical dir(such as clear the directory and copy new
files...), that''ll make the running application get problem. And when we
visit the new application, there may occur problems. So the prefered means
is stop that application in IIS before we do such deployment change...
Also, if you''re using IIS 6, we can just stop or recycle the
Application''s
Applicatino Pool instead of using IISreset to restart the whole IIS
server......

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Thom Little" <th**@tlanet.net>
| References: <#x**************@TK2MSFTNGP11.phx.gbl>
| Subject: Re: Fragile
| Date: Mon, 19 Dec 2005 17:35:45 -0500
| Lines: 39
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Response
| Message-ID: <us**************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 65.99.185.176
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:365814
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| If the remote server is manually "reset" then the hanging condition
| (whatever it is) goes away and pages are again served from the 2.0
| application.
|
| --
| -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| --
|
| "Thom Little" <th**@tlanet.net> wrote in message
| news:%2****************@TK2MSFTNGP11.phx.gbl...
| > Create two ASP.NET applications. Run them on the development machine
to
| > make sure they are error free.
| >
| > Publish the fist application to the root of a remote webspace.
| > Call a page and see that it operates correctly.
| >
| > Publish the second application to the root of the same remote
webspace.
| > Permit it to overwrite existing files.
| > Call a page and notice that it waits forever.
| >
| > Using a third-party FTP program delete all files in the root of the
| > remote webspace.
| > Publish the second application to the seemingly empty root of the same
| > remote webspace.
| > Call a page and notice that it waits forever.
| >
| > In all cases Visual Studio 2005 reports "Publish Succeeded".
| >
| > What "magic" must be performed to reset the error condition on the
remote
| > server?
| >
| > --
| > -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
| > --
| >
| >
| >
|
|
|



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

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