CustomSimpleHost host = (CustomSimpleHost)ApplicationHost.CreateApplicationHost(typeof(CustomSimpleHost), "/", AppDomain.CurrentDomain.BaseDirectory);
上面这句话出错,AppDomain.CurrentDomain.BaseDirectory这个路径里面确实存在数据集,但是还是报未能加载,网上查了一下,说文件权限配置问题,可是我照做了还是出现问题。请大侠过目