产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

更换主机IP地址提示错误 [复制链接]

1#
'http:/192.168.239.135/e/upload/s1/fck/image/2015/05/02.jpg' is not a valid virtual path. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: 'http:/192.168.239.135/e/upload/s1/fck/image/2015/05/02.jpg' is not a valid virtual path.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): 'http:/192.168.239.135/e/upload/s1/fck/image/2015/05/02.jpg' is not a valid virtual path.]   System.Web.Util.UrlPath.CheckValidVirtualPath(String path) +8702323   System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +136   System.Web.VirtualPath.Combine(VirtualPath relativePath) +130   System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +84   System.Web.HttpRequest.MapPath(VirtualPath virtualPath) +37   System.Web.HttpServerUtility.MapPath(String path) +99   PageAdmin.data_add.W0IuJ1OwofIJhPPgLZN(Object , Object ) +9   PageAdmin.data_add.F6YlaKphhy(String , String ) +331   PageAdmin.data_add.npulOQhaTb(String ) +13984   PageAdmin.data_add.Page_Load(Object src, EventArgs e) +704   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35   System.Web.UI.Control.OnLoad(EventArgs e) +91   System.Web.UI.Control.LoadRecursive() +74   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1








192.168.239.135这个是之前的IP地址,不知道是哪里的错误
分享 转发
TOP
2#

这个错误是哪个页面出现的?
TOP
3#

修改文章页面出现,我选中第一个图片缩略图

TOP
4#

不是吧这个没人管了
TOP
5#

不要自动提取,手工发布缩略图算了,之前地址打不开,采集不到所以报错。
TOP
6#

手工发布?怎么发布,那我的网站不能更换服务器IP地址是吗
TOP
7#

我之前就是因为更改了IP,导致文章图片不显示,之后我只能手工更改为什么这些地址不能用相对路径要用带IP地址的绝对路径呢
TOP
8#

这个应该是属于BUG了吧。该怎么解决
TOP
9#

没人管了?
TOP
10#

以后发文件路径直接用:/e/upload/s1/fck/image/2015/05/02.jpg 这种格式,不需要加前缀
重新去修改内容吧前缀删除掉就可以了
TOP
11#

自动提取第一个图片为缩略图没办法改成这样的路径吧。文章内容我已经使用这样的路径
TOP
12#

如果提取不了,那应该是服务器上读取不出地址,这个在服务器上输入你现在的ip看能不能打开你网站,不能打开就提取不了
TOP
13#

更改IP后,在其他电脑通过服务器的新IP地址可以打开网页,只是这篇文章的缩略图不显示
TOP
发新话题 回复该主题