subsonic sqlite 路径问题

subsonic 默认的sqlite数据库链接采用的绝对路径,修改源码SQLiteDataProvider.cs 文件113行  return CreateConnection(DefaultConnectionString);改为:            return CreateConnection(DefaultConnectionString.Replace("~/",System.Web.HttpContext.Current.Server.MapPath("/")));
在web.config中就可以使用相对路径了。
原文地址:https://www.cnblogs.com/henq/p/1368197.html