У меня есть сайт Umbraco, разработанный с использованием SQL CE, после чего я изменил его на SQLEXPRESS и могу подключиться как к локально. Я развернулся к Azure (сначала с использованием CE), и все работало нормально. Затем я создал базу данных SQL Azure и скопировал SQLEXPRESS туда, опять-таки это, похоже, сработало, и я могу подключиться к базе данных SQL Azure с помощью SQL Management Studio.подключение к базе данных Azure
Проблема возникает, когда я пытаюсь подключиться к Azure дб из моего приложения, я обновил web.config, используя строку Azure соединения, но как локально, так и в лазури я -
Value cannot be null.
Parameter name: sqlSyntax
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: Value cannot be null.
Parameter name: sqlSyntax
Source Error:
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.
Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: sqlSyntax]
Umbraco.Core.Persistence.Repositories.PetaPocoRepositoryBase`2..ctor(IDatabaseUnitOfWork work, CacheHelper cache, ILogger logger, ISqlSyntaxProvider sqlSyntax) +120
Umbraco.Core.Persistence.Repositories.DomainRepository..ctor(IDatabaseUnitOfWork work, CacheHelper cache, ILogger logger, ISqlSyntaxProvider sqlSyntax) +23
Umbraco.Core.Services.DomainService.GetAll(Boolean includeWildcards) +75
Umbraco.Web.Routing.PublishedContentRequestEngine.FindDomain() +286
Umbraco.Web.Routing.PublishedContentRequestEngine.PrepareRequest() +15
Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +361
Umbraco.Web.UmbracoModule.<Init>b__8(Object sender, EventArgs e) +80
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +141
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
Любые идеи что происходит не так?
Большое спасибо, что отсортированных проблему. –
Спасите мой день благодаря мужчине – user3857731