MS 图表无法在服务器上运行
我已经开始在 ASP.NET 3.5 中使用 MS 图表,并在 C# 中使用代码,
我使用的图表在 localhost 上工作得很好;但是当我开始在服务器上工作时问题就开始了,
我在网络配置中收到错误
解析器错误消息:无法加载文件或程序集“System.Web.DataVisualization,Version=3.5.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35”或其依赖项之一。系统找不到指定的文件。
有什么建议谢谢
I have started using MS charts in ASP.NET 3.5 with code behind in C#
I worked with the charts which worked fine with localhost; but problem startd when i started working on the server
i get an error in web config
Parser Error Message: Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Any suggestions thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好的,这就是我如何让它工作的。
首先,我找到了 System.Web.DataVisualization DLL,它存在于我的程序文件中的 MS 图表控件文件夹的程序集中。我将这些复制到本地主机上的 bin 文件夹中,然后发布它。
然后在服务器端,我在 C 驱动器中创建了一个目录作为 TempDump,并在 Web 配置文件中进行了以下更改。
我将其更改为
,一切都工作完美。 。
谢谢
Ok here is how i made it work..
First i found the System.Web.DataVisualization DLL's which were present in the assemblies of MS chart control folder in my program files. i copied these to my bin folder on the local host and then published it..
then on server side i made a directory in C drive as TempDump and made the following change in web config file..
I changed this to
and everythig worked perfect..
thanks
您的 ASP.Net 未针对 .Net Framework 3.5 配置。请参阅指定应用程序池的 .NET Framework 版本 (IIS 7)
Your ASP.Net is not configured for .Net Framework 3.5. See Specify a .NET Framework Version for an Application Pool (IIS 7)