Server Error in '/' Application.

      10bet官网中文-官网

      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: NVelocity.Exception.ResourceNotFoundException: 10bet官网中文-官网

      Source Error:

      Line 55: public static void Display(string templateName)
      Line 56: {
      Line 57: Templates.template = Templates.velocityEngine.GetTemplate(templateName, "UTF-8");
      Line 58: StringWriter writer = new StringWriter();
      Line 59: Templates.template.Merge(Templates.velocityContext, writer);

      Source File: f:\website\yayin.net\App_Code\Templates.cs    Line: 57

      Stack Trace:

      [ResourceNotFoundException: Unable to find resource 'news_detail.htm']
      NVelocity.Runtime.Resource.ResourceManagerImpl.LoadResource(String resourceName, ResourceType resourceType, String encoding) +427
      NVelocity.Runtime.Resource.ResourceManagerImpl.GetResource(String resourceName, ResourceType resourceType, String encoding) +158
      NVelocity.App.VelocityEngine.GetTemplate(String name, String encoding) +20
      Templates.Display(String templateName) in f:\website\yayin.net\App_Code\Templates.cs:57
      Index.ArticleDetailPage() in f:\website\yayin.net\index.aspx.cs:249
      [TargetInvocationException: Exception has been thrown by the target of an invocation.]
      System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +0
      System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +72
      System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +335
      System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +28
      System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
      Index.Page_Load(Object sender, EventArgs e) in f:\website\yayin.net\index.aspx.cs:80
      System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
      System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +46
      System.Web.UI.Control.OnLoad(EventArgs e) +83
      System.Web.UI.Control.LoadRecursive() +120
      System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3959
      


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