.NET 2.0母版页问题 [英] .NET 2.0 Master Pages problem

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

问题描述

我有一台Windows 2000服务器,我在其上安装了.NET 2.0

Framework运行时。我有一个使用VS 2005编写的应用程序。在

中,我使用母版页。当我在我的机器上调试这个应用程序时,它看起来很棒。当我在服务器上运行它时,它看起来像废话 - 没有母版页

善良正在被使用。这是我在服务器上放置的第一个ASP.NET 2.0应用程序。我注意到属性

窗口上没有ASP.NET选项卡,因为从来没有Windows服务器版本。我如何告诉IIS

这个应用程序应该作为ASP.NET 2.0运行?


Tim

I have a windows 2000 server on which I have installed the .NET 2.0
Framework runtime. I have an application I''ve written using VS 2005. In
it, I use master pages. When I debug this app on my machine, it looks
great. When I run it on the server, it looks like crap - no master page
goodness is being employed. This is the first ASP.NET 2.0 application I''ve
put on the server. I noticed that there is no ASP.NET tab on the properties
window as there is on never Windows server editions. How can I tell IIS
that this application should be run as ASP.NET 2.0?

Tim

推荐答案

之前我遇到过这个问题。您可以尝试运行这个小工具

来切换特定Web应用程序的ASP.NET版本:

http://www.denisbauer.com/NETTools.aspx


请注意你需要为你正在运行的每个版本的ASP.NET

分别使用AppPools。我之前看到这个意外地降低了许多

申请。

-

谢谢,

页面布鲁克斯
www.explosivedog.com

"蒂姆华莱士写道:
I''ve run into this problem before. You can try running this little utility
to switch the version of ASP.NET for a specific web application:

http://www.denisbauer.com/NETTools.aspx

Please be aware that you need seperate AppPools for each version of ASP.NET
that you are running. I''ve seen this unexpectedly bring down many
applications before.
--
Thanks,
Page Brooks
www.explosivedog.com
"Tim Wallace" wrote:

我有一个Windows 2000服务器,我已经安装了.NET 2.0

Framework运行时。我有一个使用VS 2005编写的应用程序。在

中,我使用母版页。当我在我的机器上调试这个应用程序时,它看起来很棒。当我在服务器上运行它时,它看起来像废话 - 没有母版页

善良正在被使用。这是我在服务器上放置的第一个ASP.NET 2.0应用程序。我注意到属性

窗口上没有ASP.NET选项卡,因为从来没有Windows服务器版本。如何告诉IIS

这个应用程序应该作为ASP.NET 2.0运行?


Tim
I have a windows 2000 server on which I have installed the .NET 2.0
Framework runtime. I have an application I''ve written using VS 2005. In
it, I use master pages. When I debug this app on my machine, it looks
great. When I run it on the server, it looks like crap - no master page
goodness is being employed. This is the first ASP.NET 2.0 application I''ve
put on the server. I noticed that there is no ASP.NET tab on the properties
window as there is on never Windows server editions. How can I tell IIS
that this application should be run as ASP.NET 2.0?

Tim


或者,您可以使用Aspnet_regiis.exe,它是.NET

框架的一部分。请参阅: http://msdn2.microsoft .com / zh-CN / lib ... 8h(VS.80).aspx

-

谢谢,

Page Brooks
www.explosivedog.com

蒂姆华莱士写道:
Alternatively, you can use Aspnet_regiis.exe which is part of the .NET
framework. See: http://msdn2.microsoft.com/en-us/lib...8h(VS.80).aspx
--
Thanks,
Page Brooks
www.explosivedog.com
"Tim Wallace" wrote:

我有一个Windows 2000服务器,我已经安装了.NET 2.0

Framework运行时。我有一个使用VS 2005编写的应用程序。在

中,我使用母版页。当我在我的机器上调试这个应用程序时,它看起来很棒。当我在服务器上运行它时,它看起来像废话 - 没有母版页

善良正在被使用。这是我在服务器上放置的第一个ASP.NET 2.0应用程序。我注意到属性

窗口上没有ASP.NET选项卡,因为从来没有Windows服务器版本。如何告诉IIS

这个应用程序应该作为ASP.NET 2.0运行?


Tim
I have a windows 2000 server on which I have installed the .NET 2.0
Framework runtime. I have an application I''ve written using VS 2005. In
it, I use master pages. When I debug this app on my machine, it looks
great. When I run it on the server, it looks like crap - no master page
goodness is being employed. This is the first ASP.NET 2.0 application I''ve
put on the server. I noticed that there is no ASP.NET tab on the properties
window as there is on never Windows server editions. How can I tell IIS
that this application should be run as ASP.NET 2.0?

Tim


页面:


感谢您的回复。我已经运行了aspnet_regiis -i。没有快乐。我会

给你的应用程序一个旋转,看看是否有帮助。


我不熟悉单独的AppPools问题。你能给我一些

的指导吗?


Tim


" Page Brooks" < NO ************** @ gmail.comwrote in message

新闻:A5 **************** ****************** @ microsof t.com ...
Page:

Thanks for the response. I already ran aspnet_regiis -i. No joy. I''ll
give your app a whirl and see if that helps.

I''m unfamiliar with the separate AppPools issue. Can you give me some
guidance with that, please?

Tim

"Page Brooks" <NO**************@gmail.comwrote in message
news:A5**********************************@microsof t.com...

我遇到过这个问题之前。您可以尝试运行这个小的

实用程序

来切换特定Web应用程序的ASP.NET版本:

http://www.denisbauer.com/NETTools.aspx


请注意,您运行的每个版本的

ASP.NET

都需要单独的AppPools。我之前看到这个意外地降低了许多

申请。

-

谢谢,

页面布鲁克斯
www.explosivedog.com


Tim Wallace写道:
I''ve run into this problem before. You can try running this little
utility
to switch the version of ASP.NET for a specific web application:

http://www.denisbauer.com/NETTools.aspx

Please be aware that you need seperate AppPools for each version of
ASP.NET
that you are running. I''ve seen this unexpectedly bring down many
applications before.
--
Thanks,
Page Brooks
www.explosivedog.com
"Tim Wallace" wrote:

>我有一个Windows 2000服务器,我已经安装了.NET 2.0
Framework运行时。我有一个使用VS 2005编写的应用程序。在
它,我使用母版页。当我在我的机器上调试这个应用程序时,它看起来很棒。当我在服务器上运行它时,它看起来像废话 - 没有母版
善良正在被使用。这是我在服务器上放置的第一个ASP.NET 2.0应用程序。我注意到
属性
窗口上没有ASP.NET选项卡,因为从来没有Windows服务器版本。我如何告诉IIS
这个应用程序应该作为ASP.NET 2.0运行?

Tim
>I have a windows 2000 server on which I have installed the .NET 2.0
Framework runtime. I have an application I''ve written using VS 2005. In
it, I use master pages. When I debug this app on my machine, it looks
great. When I run it on the server, it looks like crap - no master page
goodness is being employed. This is the first ASP.NET 2.0 application
I''ve
put on the server. I noticed that there is no ASP.NET tab on the
properties
window as there is on never Windows server editions. How can I tell IIS
that this application should be run as ASP.NET 2.0?

Tim



这篇关于.NET 2.0母版页问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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