小编Bea*_*roj的帖子

我是否需要在ASP.NET中部署Web服务引用?

垃圾收集器是否清理了Web服务引用,或者在调完我调用的任何方法后,是否需要在服务引用上调用dispose?

c# asp.net dispose web-services

10
推荐指数
1
解决办法
1万
查看次数

Umbraco v6部署到生产服务器,导致数据库异常,内容和媒体树无法加载

我们刚刚将一个新v6站点部署到主机上,该主机上v4运行了多个站点没问题.在前端,它看起来很好,但在Umbraco管理员中,内容和媒体树显示为空.

在浏览器调试器中,我可以看到存在错误TreeDataService.ashx.

错误在下面,我不确定问题是什么.是权限吗?数据库用户权限?

----------


You must set the singleton 'Umbraco.Core.Persistence.SqlSyntax.SyntaxConfig' to use an sql syntax provider
Parameter name: SqlSyntaxProvider
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentNullException: You must set the singleton 'Umbraco.Core.Persistence.SqlSyntax.SyntaxConfig' to use an sql syntax provider
Parameter name: SqlSyntaxProvider
Run Code Online (Sandbox Code Playgroud)

来源错误:

在执行当前Web请求期间生成了未处理的异常.可以使用下面的异常堆栈跟踪来识别有关异常的起源和位置的信息.

堆栈跟踪:

[ArgumentNullException: You must …
Run Code Online (Sandbox Code Playgroud)

umbraco

3
推荐指数
1
解决办法
2311
查看次数

标签 统计

asp.net ×1

c# ×1

dispose ×1

umbraco ×1

web-services ×1