使用mono-xsp在ubuntu 16.04上运行asp.net vb.net应用

时间:2019-03-12 07:46:54

标签: asp.net .net vb.net

我正在尝试在Ubuntu 16.04上使用mono-xsp运行asp.net(非核心)vb.net应用程序。 Dot.net框架版本4.00。 (使用ado.net,sql连接,MySQL服务器)我可以运行一个简单的vb.net asp.net应用程序而不会出现问题。但是当我运行就绪的应用程序时,我发现了以下错误:(:

System.ArgumentException 不支持关键字:“版本”。

说明:HTTP500。错误处理请求。

Details: Non-web exception. Exception origin (name of application or object): System.Data.
Exception stack trace:
  at System.Data.SqlClient.SqlConnection.SetProperties (System.String name, System.String value) <0x41c9b4d0 + 0x00c0f> in <filename unknown>:0 
  at System.Data.SqlClient.SqlConnection.SetConnectionString (System.String connectionString) <0x41c9a6c0 + 0x00343> in <filename unknown>:0 
  at System.Data.SqlClient.SqlConnection.set_ConnectionString (System.String value) <0x41c9a640 + 0x0002b> in <filename unknown>:0 
  at System.Data.SqlClient.SqlConnection..ctor (System.String connectionString) <0x41c9a5e0 + 0x00028> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Data.SqlClient.SqlConnection:.ctor (string)
  at Equipage.Core.eqSQLResourceDatabaseHelper.CheckResources (System.String ConnString, System.String ClassPath, System.String VirtualPath) <0x41c9a120 + 0x00077> in <filename unknown>:0 
  at Equipage.Core.eqSQLResourceProviderFactory.CreateGlobalResourceProvider (System.String classKey) <0x41c982d0 + 0x0003b> in <filename unknown>:0 
  at System.Web.HttpContext.GetResourceProvider (System.String virtualPath, Boolean isLocal) <0x41c97e40 + 0x000c6> in <filename unknown>:0 
  at System.Web.HttpContext.GetGlobalObjectFromFactory (System.String classKey, System.String resourceKey, System.Globalization.CultureInfo culture) <0x41c97de0 + 0x0001b> in <filename unknown>:0 
  at System.Web.HttpContext.GetGlobalResourceObject (System.String classKey, System.String resourceKey, System.Globalization.CultureInfo culture) <0x41c97d80 + 0x0003f> in <filename unknown>:0 
  at System.Web.HttpContext.GetGlobalResourceObject (System.String classKey, System.String resourceKey) <0x41c97d20 + 0x0003f> in <filename unknown>:0 
  at System.Web.UI.TemplateControl.GetGlobalResourceObject (System.String className, System.String resourceKey) <0x41c97cf0 + 0x0001b> in <filename unknown>:0 
  at ASP.default_aspx.__BuildControl_LocalizeUser () <0x41c97a70 + 0x000cf> in <filename unknown>:0 
  at ASP.default_aspx.__BuildControl_PanelLoggedIn () <0x41c97580 + 0x001cf> in <filename unknown>:0 
  at ASP.default_aspx.__BuildControl__bctrl_26 (System.Web.UI.Control __ctrl) <0x41c97280 + 0x00103> in <filename unknown>:0 
  at System.Web.UI.CompiledTemplateBuilder.InstantiateIn (System.Web.UI.Control ctrl) <0x41c97250 + 0x00023> in <filename unknown>:0 
  at ASP.site_master.__BuildControl_Header () <0x41c96e00 + 0x001df> in <filename unknown>:0 
  at ASP.site_master.__BuildControl_PanelSystem () <0x41c966c0 + 0x0021f> in <filename unknown>:0 
  at ASP.site_master.__BuildControl_PanelContent () <0x41c96010 + 0x000bf> in <filename unknown>:0 
  at ASP.site_master.__BuildControl_form1 () <0x41c92040 + 0x003b3> in <filename unknown>:0 
  at ASP.site_master.__BuildControlTree (ASP.site_master __ctrl) <0x41c902c0 + 0x00183> in <filename unknown>:0 
  at ASP.site_master.FrameworkInitialize () <0x41c90270 + 0x00037> in <filename unknown>:0 
  at System.Web.UI.UserControl.InitializeAsUserControlInternal () <0x41c90220 + 0x00033> in <filename unknown>:0 
  at System.Web.UI.MasterPage.CreateMasterPage (System.Web.UI.TemplateControl owner, System.Web.HttpContext context, System.String masterPageFile, IDictionary contentTemplateCollection) <0x41c7f480 + 0x003a3> in <filename unknown>:0 
  at System.Web.UI.Page.get_Master () <0x41c8fd40 + 0x00087> in <filename unknown>:0 
  at System.Web.UI.Page.ApplyMasterPage () <0x41c8fc00 + 0x0003b> in <filename unknown>:0 
  at System.Web.UI.Page.InternalProcessRequest () <0x41c73f20 + 0x003ab> in <filename unknown>:0 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) <0x41c71ef0 + 0x001f3> in <filename unknown>:0 
Version Information: 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4); ASP.NET Version: 4.0.30319.17020

0 个答案:

没有答案