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

Unable to find resource 'index.htm'

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

异常详细信息: NVelocity.Exception.ResourceNotFoundException: Unable to find resource 'index.htm'

源错误:


行 27:         vh.Put("pro", pro);
行 28:         vh.Put("sty", sty);
行 29:         vh.Display("index.htm");
行 30:     }
行 31: }

源文件: e:\wwwroot\innoviled_43bjn2\web\cn\index.aspx.cs    行: 29

堆栈跟踪:


[ResourceNotFoundException: Unable to find resource 'index.htm']
   NVelocity.Runtime.Resource.ResourceManagerImpl.LoadResource(String resourceName, ResourceType resourceType, String encoding) in c:\TeamCity\buildAgent\work\1aab984413813fae\src\NVelocity\Runtime\Resource\ResourceManagerImpl.cs:398
   NVelocity.Runtime.Resource.ResourceManagerImpl.GetResource(String resourceName, ResourceType resourceType, String encoding) in c:\TeamCity\buildAgent\work\1aab984413813fae\src\NVelocity\Runtime\Resource\ResourceManagerImpl.cs:261
   NVelocity.Runtime.RuntimeInstance.GetTemplate(String name) in c:\TeamCity\buildAgent\work\1aab984413813fae\src\NVelocity\Runtime\RuntimeInstance.cs:692
   NVelocity.App.VelocityEngine.GetTemplate(String name) in c:\TeamCity\buildAgent\work\1aab984413813fae\src\NVelocity\App\VelocityEngine.cs:371
   GreatCommon.VelocityHelper3.Display(String templatFileName) in E:\Mywork家旺\y_英诺威\y_net\GreatCommon\VelocityHelper3.cs:84
   index.Page_Load(Object sender, EventArgs e) in e:\wwwroot\innoviled_43bjn2\web\cn\index.aspx.cs:29
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


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