部署ASP站点时,不包含ASP图表控件

时间:2013-10-28 01:38:31

标签: asp.net iis-7 charts windows-server-2008-r2 web-deployment

我正在尝试使用IIS 7将小型ASP站点部署到Windows Server 2008 R2计算机上。

在使用Visual Studio 2013 Express Web在开发计算机上测试网站时,它可以完美运行。 JQuery / Javascript的功能很棒,ASP控件(所有图表.2个饼图和条形图,包含更新面板)都显示出很棒:它是一个网站天堂。但是一旦我使用IIS 7在Web服务器上部署它,ASP控件就会消失。 Javascript / JQuery都运行得非常好,但ASP图表无处可寻。

注意:在服务器上托管的版本上,我右键单击 - >查看源代码(在IE中)。我在源代码中找不到一个ASP控件。纳达。 * Zerkey解释如下。谢谢! *

这是我到目前为止采取的步骤:

在网络服务器上:

* Installed IIS with ALL addons available 
* Installed .NET 4.0 and made sure the application pool was set to .NET v4.0.
* Navigated to the .NET 4.0 folder and ran "aspnet_regiis -i"
* The site was deployed via Publish -> Deployment Package in Visual Studio. It was 
  set up using "Import Application" on the server. No special options were selected: 
  only default options were used across the board.
* Restarted the whole machine

在网站上:

* Made sure EVERY asp control had <runat="server"> on it. Every...single...one
* Made sure that System.Web.DataVisualization, in references, was set to 
  Local Copy: True. 

我完全失败了。 :(任何人都可以想到我没有在这里列出我可以尝试的东西吗?任何建议都会很棒:)

谢谢!

编辑:更正 - ASP按钮,除了图表之外,网站上唯一的其他ASP控件显示得很好。它是没有显示的CHARTS。相应更新了问题标题。

0 个答案:

没有答案