怪问题Asp.net,某些用户,代码背后 [英] Weird problem Asp.net, certain users, code behind

查看:35
本文介绍了怪问题Asp.net,某些用户,代码背后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个让我难过。我在两台不同的服务器上运行了三个Web应用程序。第一个工作正常的是由.Net托管

公司托管。使用它的每个人都没有问题到达网站。另一个

两台应用程序正在我的个人服务器上运行,该服务器有Windows 2003,
IIS 6和.Net 1.1

我的大多数用户都可以使用这些网站。两个人提出了一个非常奇怪的问题。他们试图去任何一个应用程序,浏览器似乎挂起了

。有一个用户,我做了几个测试,包括打开

跟踪,但没有任何效果。跟踪显示所有内容都是正确呈现的。


然后我创建了一个测试应用程序,在其中我在Web表单上投掷了两个标签。

他可以看到测试表格没问题。然后我在c#代码中添加了一行,在

页面加载事件中,改变了其中一个标签的文本,他开始了

得到了与两个相同的问题其他应用。如果我把代码行取出并重新编译,他可以再次看到Web表单。如果代码中没有代码,他可以看到

webform,但添加一行代码

并且浏览器就像试图下载页面一样。进度

栏显示在底部,状态显示开启
www.address.com/default.aspx 。进度条到达大约一半

,然后再进一步。没有错误信息或其他任何内容。

我甚至让他们在这一点上查看来源,但来源是来自

的推荐页面。


我的问题是,IIS中有什么东西会以某种方式受到影响吗

他们可能在那些机器上设置的某些互联网选项可能是

导致这个。就像我说的那样,只有三十个用户中只有两个有这个问题。其他人都可以看到并使用这些应用程序,因为它们是预定的。


任何帮助都将是一个巨大的帮助。谢谢。


解决方案

更有可能的是,这是他们的浏览器。他们使用什么浏览器?


-

HTH,

Kevin Spencer

..Net开发人员

微软MVP

大件东西组成

很多小东西。


Don Munroe < DM ***** @ cdhsystems.com>在留言中写道

新闻:#E ************** @ TK2MSFTNGP11.phx.gbl ...

这个有我难倒。我有两个不同的服务器上运行的三个Web应用程序。第一个工作正常的是由.Net托管公司托管。使用它的每个人都没有问题到达网站。
其他两个应用程序正在我的个人服务器上运行,该服务器具有Windows 2003,IIS 6和.Net 1.1
我的大多数用户都可以使用这些站点。两个人提出了一个非常奇怪的问题。他们试图去任何一个应用程序,浏览器似乎挂起了
。有一位用户,我做了几次测试,包括打开跟踪,但没有任何效果。跟踪表明所有内容都已正确呈现。

然后我创建了一个测试应用程序,在其中我在web
表单上投掷了两个标签。他可以看到测试形式很好。然后我在
页面加载事件中的c#代码上添加了一行,它改变了其中一个标签的文本,并且他开始获得与其他两个应用程序相同的问题。如果我拿出
代码行并重新编译,他可以再次看到Web表单。如果代码中没有代码,他可以看到webform,但是添加一行
代码,浏览器就像试图下载页面一样。进度
栏显示在底部,状态表示打开
www.address.com/default.aspx 。进度条大约一半到达,然后再进一步。没有错误消息或任何
else。我甚至让他们在这一点上查看了源代码,但是源代码来自
引用页面。

我的问题是,IIS中是否有某些东西受到影响
通过一些互联网选项,他们可能已经设置了可能导致此问题的机器。就像我说的那样,只有三十个用户中只有两个人能够解决这个问题。其他人都可以看到并使用这些应用程序作为他们想要的


任何帮助都将是一个巨大的帮助。谢谢。



Internet Explorer 6.0.2800


news:eN ************** @ tk2msftngp13.phx.gbl ...

更有可能,它'是他们的浏览器。他们使用了哪些浏览器?

-
HTH,
Kevin Spencer
.Net开发人员
微软MVP
大事由许多小东西组成。

Don Munroe < DM ***** @ cdhsystems.com>在消息中写道
新闻:#E ************** @ TK2MSFTNGP11.phx.gbl ...

这个让我难过。我有两个不同的服务器上运行的三个Web应用程序。第一个工作正常的是由.Net
托管公司托管。使用它的每个人都没有问题到达网站。


其他

我的个人服务器上运行了两个应用程序,它们有Windows
2003,IIS 6和.Net 1.1

我的大多数用户都可以使用这些网站。两个人提出了一个非常
奇怪的问题。他们试图去任一应用程序,浏览器似乎


得到

挂了。有一位用户,我做了几次测试,包括打开跟踪,但没有任何效果。跟踪表明所有内容都已正确呈现。

然后我创建了一个测试应用程序,在其中我在Web上扔了两个标签


表单。

他可以看到测试表格没问题。然后我在c#代码上添加了一行,在
页面加载事件中,它更改了其中一个标签的文本,并且
开始遇到与其他两个应用程序相同的问题。如果我将


代码输出并重新编译,他可以再次看到Web表单。如果后面的代码中没有代码,他可以
看到webform,但是添加一行


代码

并且浏览器就像试图下载代码一样页。
进度条显示在底部,状态表示打开
www.address.com/default.aspx 。进度条大约一半到达,然后再进一步。没有错误信息或任何其他


其他。

我甚至让他们在此时查看源代码,但源代码来自


< blockquote class =post_quotes>引用页面。

我的问题是,IIS中是否有某些东西受到影响


by

some互联网选项,他们可能已经设置了可能导致此问题的机器。就像我说的那样,只有三个用户中只有两个


有这个问题。其他人都可以看到并使用这些应用程序作为


他们

是有意的。

任何帮助都将是一个巨大的帮助。谢谢。




嗯,这消除了浏览器,除非它是一个缓存问题客户

方。当奇怪的数据出现时你有没有试过刷新页面?


-

HTH,

Kevin Spencer
..Net开发人员

微软MVP

大件东西组成

很多小东西。


" Don Munroe" < DM ***** @ cdhsystems.com>在消息中写道

新闻:ON ************** @ TK2MSFTNGP09.phx.gbl ...

Internet Explorer 6.0.2800

凯文斯宾塞 < KS ****** @ takempis.com>在消息中写道
新闻:eN ************** @ tk2msftngp13.phx.gbl ...

更有可能的是,这是他们的浏览器。他们使用了哪些浏览器?

-
HTH,
Kevin Spencer
.Net开发人员
微软MVP
大事由许多小东西组成。

Don Munroe < DM ***** @ cdhsystems.com>在消息中写道
新闻:#E ************** @ TK2MSFTNGP11.phx.gbl ...

这个让我难过。我有两个不同的服务器上运行的三个Web应用程序。第一个工作正常的是由.Net托管公司托管。使用它的每个人都没有问题到达网站。


其他

我的个人服务器上运行了两个应用程序,其中包含Windows 2003,IIS 6和.Net 1.1

我的大多数用户可以使用网站。两个人提出了一个非常奇怪的问题。他们试图去任一应用程序,浏览器似乎

get

挂断。我和其中一个用户进行了多次测试,包括在跟踪时转动


但没有任何效果。跟踪表明所有内容都已正确呈现。

然后我创建了一个测试应用程序,在其中我在Web上扔了两个标签


表单。

他可以看到测试表格没问题。然后我在页面加载事件中的c#代码上添加了一行,它改变了其中一个标签的文本,并开始遇到与其他两个应用程序相同的问题。如果我将


代码行

输出并重新编译,他可以再次看到Web表单。如果后面的代码中没有代码,他可以看到webform,但是添加了一行


代码

并且浏览器就像尝试下载页面一样。进度条显示在底部,状态表示打开
www.address。 COM / Default.aspx的。进度条大约一半到达,然后再进一步。没有错误信息或任何其他


其他。

我甚至让他们在这一点上查看源代码,但源代码是


来自

引用页面的


我的问题是,IIS中是否有某种东西


某些互联网选项的影响,他们可能已经设置了可能导致此问题的机器。就像我说的那样,只有三个用户


中只有两个

有这个问题。其他人都可以查看和使用应用程序


,因为它们是



任何帮助都将是一个巨大的帮助。谢谢。





This one has me stumped. I have three web applications running on two
different servers. The first that works fine is hosted by a .Net hosting
company. Everyone that uses it has no problems hitting the site. The other
two applications are running on my personal server which has Windows 2003,
IIS 6, and .Net 1.1

Most of my users can use the sites. Two have come up with a very strange
problem. They try to go to either application and the browser seems to get
hung up. With one of the users I did several tests including turning on
tracing but nothing worked. The trace indicated that everything was
rendered correctly.

I then created a test application in which I threw two labels on a web form.
He could see the test form fine. Then I added one line on c# code, in the
page load event, that changed the text of one of the labels and he started
getting the same problems as the two other applications. If I take the line
of code out and recompile, he can again see the web form fine. He can see
the webform if there is no code in code behind, but adding one line of code
and there browser acts like it trying to download the page. The progress
bar shows on the bottom and the status say opening
www.address.com/default.aspx. The progress bar gets to about half way
across and then doesn''t go any further. No error message or anything else.
I even had them look at the source at this point, but the source is from the
referring page.

My question is, is there something in IIS that somehow is being affected by
some internet option they may have set on there machines that could be
causing this. Like I said it''s only two out of maybe thirty users that are
having this problem. Everyone else can see and use the applications as they
were intended.

Any help would be a tremendous help. Thank you.


解决方案

More likely, it''s their browser. What browser(s) are they using?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Don Munroe" <dm*****@cdhsystems.com> wrote in message
news:#E**************@TK2MSFTNGP11.phx.gbl...

This one has me stumped. I have three web applications running on two
different servers. The first that works fine is hosted by a .Net hosting
company. Everyone that uses it has no problems hitting the site. The other two applications are running on my personal server which has Windows 2003,
IIS 6, and .Net 1.1

Most of my users can use the sites. Two have come up with a very strange
problem. They try to go to either application and the browser seems to get hung up. With one of the users I did several tests including turning on
tracing but nothing worked. The trace indicated that everything was
rendered correctly.

I then created a test application in which I threw two labels on a web form. He could see the test form fine. Then I added one line on c# code, in the
page load event, that changed the text of one of the labels and he started
getting the same problems as the two other applications. If I take the line of code out and recompile, he can again see the web form fine. He can see
the webform if there is no code in code behind, but adding one line of code and there browser acts like it trying to download the page. The progress
bar shows on the bottom and the status say opening
www.address.com/default.aspx. The progress bar gets to about half way
across and then doesn''t go any further. No error message or anything else. I even had them look at the source at this point, but the source is from the referring page.

My question is, is there something in IIS that somehow is being affected by some internet option they may have set on there machines that could be
causing this. Like I said it''s only two out of maybe thirty users that are having this problem. Everyone else can see and use the applications as they were intended.

Any help would be a tremendous help. Thank you.



Internet Explorer 6.0.2800

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:eN**************@tk2msftngp13.phx.gbl...

More likely, it''s their browser. What browser(s) are they using?

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Don Munroe" <dm*****@cdhsystems.com> wrote in message
news:#E**************@TK2MSFTNGP11.phx.gbl...

This one has me stumped. I have three web applications running on two
different servers. The first that works fine is hosted by a .Net hosting company. Everyone that uses it has no problems hitting the site. The


other

two applications are running on my personal server which has Windows 2003, IIS 6, and .Net 1.1

Most of my users can use the sites. Two have come up with a very strange problem. They try to go to either application and the browser seems to


get

hung up. With one of the users I did several tests including turning on
tracing but nothing worked. The trace indicated that everything was
rendered correctly.

I then created a test application in which I threw two labels on a web


form.

He could see the test form fine. Then I added one line on c# code, in the page load event, that changed the text of one of the labels and he started getting the same problems as the two other applications. If I take the


line

of code out and recompile, he can again see the web form fine. He can see the webform if there is no code in code behind, but adding one line of


code

and there browser acts like it trying to download the page. The progress bar shows on the bottom and the status say opening
www.address.com/default.aspx. The progress bar gets to about half way
across and then doesn''t go any further. No error message or anything


else.

I even had them look at the source at this point, but the source is from


the

referring page.

My question is, is there something in IIS that somehow is being affected


by

some internet option they may have set on there machines that could be
causing this. Like I said it''s only two out of maybe thirty users that


are

having this problem. Everyone else can see and use the applications as


they

were intended.

Any help would be a tremendous help. Thank you.




Well, that eliminates the browser, unless it''s a caching issue on the client
side. Have you tried refreshing the page when the odd data comes up?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Don Munroe" <dm*****@cdhsystems.com> wrote in message
news:ON**************@TK2MSFTNGP09.phx.gbl...

Internet Explorer 6.0.2800

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:eN**************@tk2msftngp13.phx.gbl...

More likely, it''s their browser. What browser(s) are they using?

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Don Munroe" <dm*****@cdhsystems.com> wrote in message
news:#E**************@TK2MSFTNGP11.phx.gbl...

This one has me stumped. I have three web applications running on two
different servers. The first that works fine is hosted by a .Net hosting company. Everyone that uses it has no problems hitting the site. The


other

two applications are running on my personal server which has Windows 2003, IIS 6, and .Net 1.1

Most of my users can use the sites. Two have come up with a very strange problem. They try to go to either application and the browser seems to

get

hung up. With one of the users I did several tests including turning

on tracing but nothing worked. The trace indicated that everything was
rendered correctly.

I then created a test application in which I threw two labels on a web


form.

He could see the test form fine. Then I added one line on c# code, in the page load event, that changed the text of one of the labels and he started getting the same problems as the two other applications. If I take

the line

of code out and recompile, he can again see the web form fine. He can see the webform if there is no code in code behind, but adding one line of


code

and there browser acts like it trying to download the page. The progress bar shows on the bottom and the status say opening
www.address.com/default.aspx. The progress bar gets to about half way
across and then doesn''t go any further. No error message or anything


else.

I even had them look at the source at this point, but the source is


from the

referring page.

My question is, is there something in IIS that somehow is being

affected by

some internet option they may have set on there machines that could be
causing this. Like I said it''s only two out of maybe thirty users

that are

having this problem. Everyone else can see and use the applications

as they

were intended.

Any help would be a tremendous help. Thank you.





这篇关于怪问题Asp.net,某些用户,代码背后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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