网站托管到服务器时出错 [英] Error occurred when website hosted to server
问题描述
大家好,
今天我为了学习目的第一次在网页上创建了一个图表。
当我在我的本地系统上执行程序时,它工作正常。当我将网页托管到服务器上时,它会给我一个错误。
我无法找出问题的原因。
请查看以下链接以了解错误。
www.gnblower.somee.com < br $> b $ b
请帮我纠正这个错误,以便我可以在我的项目中使用这些类型的图表。
Hi All,
today i have created a chart on webpages for first time just for learning purpose.
when i execute the program on my local system it was working fine. and when i host the webpage on to the server it give me an error.
i am not able to figure out the cause of the problem.
kindly check the below link to understand the error.
www.gnblower.somee.com
please help me in rectifying this error so that i could use these types of charts in my projects going forward.
推荐答案
我自己找到了问题的解决方案。
网页配置中的
我改变了下面一行:
I found solution to my problem myself.
in the web config
I changed below line:
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
到
to
<add key="ChartImageHandler" value="storage=file;timeout=20;" />
我的问题得到了解决。
任何方式谢谢大家的帮助,并表示有兴趣解决我的问题。
and my problem get resolved.
Any ways Thank you everyone for help me and showing interest in solving my problem.
尝试在web.config中添加此部分
try to add this section in your web.config
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>
或将应用程序池更改为经典(来自综合)。
Or change application pool to classic (from integrated).
这篇关于网站托管到服务器时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!