protected void Application_Start() { AreaRegistration.RegisterAllAreas(); GlobalConfiguration.Configure(WebApiConfig.Register); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); AutoMapperConfig.CreateMappings(); //设置系统版本 SystemVersion = SysUtils.GetDllVersion(); Initialize(); Aspose.Words.License license = new Aspose.Words.License(); license.SetLicense("Aspose.Words.lic"); }