*注 : これは null 参照の重複した質問ではありません。何が原因であるかは明らかではなく、より詳細な調査が必要でした。
私のサイトはローカルの開発ボックスで問題なく動作していたので、Umbraco 6 を組み込みデータベース (SDF) から完全な SQL データベース (MDF) に変換することにしました。データベース変換は WebMatrix を使用してうまくいきましたが、完全な SQL を使用するように Web 構成を変更した後、サイトを実行すると以下のエラーが発生します。これについてオンラインでいくつかのヘルプ記事を読みましたが、何も問題を解決していないようです。何か案は?(SQL 権限、おそらくキャッシュ、構成設定を見逃していませんか?
私は基本的にこれを行いましたhttp://carlosmartinezt.com/2014/03/umbraco-migrate-from-sql-ce-to-sql-server/
これが私のweb.configです
<system.data>
<DbProviderFactories>
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" />
</DbProviderFactories>
</system.data>
<system.net>
<mailSettings>
<smtp>
<network host="127.0.0.1" userName="username" password="password" />
</smtp>
</mailSettings>
</system.net>
<connectionStrings>
<add connectionString="Data Source=KBURMARK;Initial Catalog=Umbraco;Integrated Security=True" name="Umbraco" providerName="System.Data.SqlClient" />
<!-- Important: If you're upgrading Umbraco, do not clear the connection string / provider name during your web.config merge. -->
</connectionStrings>
ここに私が得ているエラーがあります
[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.cms.businesslogic.web.Domain.<GetDomains>b__0() +122
Umbraco.Core.Cache.<>c__DisplayClass1`1.<GetCacheItem>b__0() +41
Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, CacheDependency dependency) +246
Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles) +159
Umbraco.Core.Cache.CacheProviderExtensions.GetCacheItem(IRuntimeCacheProvider provider, String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles) +219
Umbraco.Core.CacheHelper.GetCacheItem(String cacheKey, TimeSpan timeout, Func`1 getCacheItem) +339
umbraco.cms.businesslogic.web.Domain.GetDomains(Boolean includeWildcards) +243
Umbraco.Web.Routing.DomainHelper.GetAllDomains(Boolean includeWildcards) +40
Umbraco.Web.Routing.PublishedContentRequestEngine.FindDomain() +365
Umbraco.Web.Routing.PublishedContentRequestEngine.PrepareRequest() +59
Umbraco.Web.Routing.PublishedContentRequest.Prepare() +36
Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +738
Umbraco.Web.UmbracoModule.<Init>b__7(Object sender, EventArgs e) +132
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69