title: Umbraco v6 Deploy to production server getting DB exception, content and media trees not loading
body: <p>We just deployed a new <code>v6</code> site to a host that has several <code>v4</code> sites running on it no problem.  On the front end, it looks fine, but in the Umbraco admin the Content and Media trees appear empty.</p>
  
  <p>In the browser debugger I can see that there is an error in the <code>TreeDataService.ashx</code>.</p>
  
  <p>The error is below and I'm not exactly sure what the issue is.  Is it permissions?  Database user permissions?  </p>
  
  <pre><code>----------
  
  
  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
  </code></pre>
  
  <p>Source Error: </p>
  
  <p>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</p>
  
  <p>Stack Trace: </p>
  
  <pre><code>[ArgumentNullException: You must set the singleton 'Umbraco.Core.Persistence.SqlSyntax.SyntaxConfig' to use an sql syntax provider
  Parameter name: SqlSyntaxProvider]
     Umbraco.Core.Persistence.SqlSyntax.SyntaxConfig.get_SqlSyntaxProvider() +89
     Umbraco.Core.Persistence.Mappers.BaseMapper.GetColumnName(Type dtoType, PropertyInfo dtoProperty) +57
     Umbraco.Core.Persistence.Mappers.ContentMapper.Map(String propertyName) +67
     Umbraco.Core.Persistence.Querying.ModelToSqlExpressionHelper`1.VisitMemberAccess(MemberExpression m) +112
     Umbraco.Core.Persistence.Querying.ModelToSqlExpressionHelper`1.Visit(Expression exp) +101
     Umbraco.Core.Persistence.Querying.ModelToSqlExpressionHelper`1.VisitBinary(BinaryExpression b) +258
     Umbraco.Core.Persistence.Querying.ModelToSqlExpressionHelper`1.Visit(Expression exp) +159
     Umbraco.Core.Persistence.Querying.ModelToSqlExpressionHelper`1.VisitLambda(LambdaExpression lambda) +120
     Umbraco.Core.Persistence.Querying.ModelToSqlExpressionHelper`1.Visit(Expression exp) +72
     Umbraco.Core.Persistence.Querying.Query`1.Where(Expression`1 predicate) +20
     Umbraco.Core.Services.ContentService.GetChildren(Int32 id) +312
     umbraco.cms.businesslogic.web.Document.GetChildrenForTree(Int32 NodeId) +39
     umbraco.cms.presentation.Trees.BaseContentTree.Render(XmlTree&amp; Tree) +27
     umbraco.loadContent.Render(XmlTree&amp; tree) +19
     umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams) +79
     umbraco.presentation.webservices.TreeDataService.GetXmlTree() +140
     umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context) +55
     System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
     System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +75
  
  Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
  </code></pre>