“/”应用程序中的服务器错误。

“http:/image.baidu.com/i”不是有效的虚拟路径。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Web.HttpException: “http:/image.baidu.com/i”不是有效的虚拟路径。

源错误:

行 32: <ItemTemplate>
行 33: <li>
行 34: <div class="vimg"><a href="video-<%# Eval("ID") %>.htm"><img src="<%# base.GetImage(Eval("Pic")) %>" /></a></div>
行 35: <div class="vtext">
行 36: <h2><a href="video-<%# Eval("ID") %>.htm"><%# Comm.InterceptedString.GetContent(Eval("FileName"),20,"...") %></a></h2>

源文件: f:\usr\localuser\qyw17841\news\video.aspx    行: 34

堆栈跟踪:

[HttpException (0x80004005): “http:/image.baidu.com/i”不是有效的虚拟路径。]
System.Web.Util.UrlPath.CheckValidVirtualPath(String path) +8830983
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
Comm.PublicPage.GetImage(String imageUrl) +91
Comm.PublicPage.GetImage(Object imageUrl) +104
ASP.news_video_aspx.__DataBind__control10(Object sender, EventArgs e) in f:\usr\localuser\qyw17841\news\video.aspx:34
System.Web.UI.Control.OnDataBinding(EventArgs e) +91
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +92
System.Web.UI.Control.DataBind() +15
System.Web.UI.Control.DataBindChildren() +201
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
System.Web.UI.Control.DataBind() +15
System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +127
System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +478
System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +61
System.Web.UI.WebControls.Repeater.DataBind() +76
news_video.BindVideo() in f:\usr\localuser\qyw17841\news\video.aspx.cs:62
news_video.Page_Load(Object sender, EventArgs e) in f:\usr\localuser\qyw17841\news\video.aspx.cs:27
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


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.272