asp.net 2.0全球性主题不工作的新的Windows Server 2008 [英] asp.net 2.0 global themes not working on new windows server 2008
问题描述
我们正在从Windows 2003服务器(32位)IIS6迁移我们的.NET 2.0的网站到Windows Server 2008(64位)IIS7框。我似乎无法获得全球性主题工作。相同的内容/目录结构,我们的老服务器;当地App_Themes文件做工精细。
We're migrating our .net 2.0 websites from a Windows 2003 server (32 bit) with IIS6 to a Windows Server 2008 (64 bit) box with IIS7. I can't seem to get the global themes to work. Same content/directory structure as our old servers; local App_Themes work fine.
全局主题路径:D:\\的Inetpub \\ wwwroot的\\的aspnet_client \\ system_web \\ 2_0_50727 \\主题
Global Theme path: D:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727\Themes
谢谢,
阿龙
推荐答案
从MSDN,你的目录路径应为:%WINDOWS%\\ Microsoft.NET \\框架\\版本\\ ASP.NETClientFiles \\主题。
From the MSDN, your directory path should read: %windows%\Microsoft.NET\Framework\version\ASP.NETClientFiles\Themes.
MSDN上的主题的。当然,也有这个警告,看来,如果某些情况下是真实的目录可以工作。
MSDN on themes. Of course, there are caveats with this and it appears that your directory could work if certain circumstances are true.
如果这不是问题,我也将验证您的主题目录的权限。 ASP.NET辅助进程IUSER和或其他帐户运行您的网站将需要读访问,以及你的主题的所有文件夹和子文件夹。您是否收到任何运行时错误您的设置?
If that isn't the issue, I would also verify the permissions on your Themes directory. The ASP.NET worker process and IUSER or whatever account is running your website will need read access as well to all folders and subfolders of your theme. Are you getting any runtime errors with your setup?
这篇关于asp.net 2.0全球性主题不工作的新的Windows Server 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!