siteserver / cms

SS CMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
https://sscms.com
GNU Affero General Public License v3.0
3.66k stars 1.21k forks source link

</stl:contents> 值不能为 null #598

Open story123 opened 6 years ago

story123 commented 6 years ago
{Content.Title}

{Content.Title}

{Content.Summary}

了解更多 icon arrow
值不能为 null。 参数名: commandText 在 SiteServer.CMS.Data.DbHelper.PrepareCommand(IDbCommand command, IDbConnection connection, IDbTransaction transaction, String commandText, IDataParameter[] commandParameters, Boolean& mustCloseConnection) 在 SiteServer.CMS.Data.DbHelper.ExecuteDataset(IDbConnection connection, String commandText, IDataParameter[] commandParameters) 在 SiteServer.CMS.Data.DbHelper.ExecuteDataset(String connectionString, String commandText, IDataParameter[] commandParameters) 在 SiteServer.CMS.Provider.ContentDao.GetStlDataSourceByStartNum(String tableName, Int32 startNum, Int32 totalNum, String whereString, String orderByString) 在 SiteServer.CMS.Provider.ContentDao.GetStlDataSourceChecked(String tableName, List`1 channelIdList, Int32 startNum, Int32 totalNum, String orderByString, String whereString, LowerNameValueCollection others) 在 SiteServer.CMS.StlParser.Cache.Content.GetStlDataSourceChecked(List`1 channelIdList, String tableName, Int32 startNum, Int32 totalNum, String orderByString, String whereString, LowerNameValueCollection others) 在 SiteServer.CMS.StlParser.Utility.StlDataUtility.GetContentsDataSource(SiteInfo siteInfo, Int32 channelId, Int32 contentId, String groupContent, String groupContentNot, String tags, Boolean isImageExists, Boolean isImage, Boolean isVideoExists, Boolean isVideo, Boolean isFileExists, Boolean isFile, Boolean isRelatedContents, Int32 startNum, Int32 totalNum, String orderByString, Boolean isTopExists, Boolean isTop, Boolean isRecommendExists, Boolean isRecommend, Boolean isHotExists, Boolean isHot, Boolean isColorExists, Boolean isColor, String where, EScopeType scopeType, String groupChannel, String groupChannelNot, LowerNameValueCollection others) 在 SiteServer.CMS.StlParser.StlElement.StlContents.GetDataSource(PageInfo pageInfo, ContextInfo contextInfo, ListInfo listInfo) 在 SiteServer.CMS.StlParser.StlElement.StlContents.ParseImpl(PageInfo pageInfo, ContextInfo contextInfo, ListInfo listInfo) 在 SiteServer.CMS.StlParser.Parsers.StlElementParser.ParseStlElement(String stlElement, PageInfo pageInfo, ContextInfo contextInfo) 2018-05-11 23:54:05
starlying commented 6 years ago

用的什么数据库?数据库版本? 我们有针对的测一下

story123 commented 6 years ago

sqlserver2012 express~ 64位

starlying commented 6 years ago

再生成一次试试,可能暂时性的数据库无法连接导致的