Try our conversational search powered by Generative AI!

Issue while browsing local episerver site

Vote:
 

Hi Team,

I am facing the below error while browsing my local episerver site.Could you please help me out in resolving this.

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: key]
   System.Collections.Generic.Dictionary`2.FindEntry(TKey key) +14132144
   System.Collections.Generic.Dictionary`2.ContainsKey(TKey key) +10
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.ProcessValueFromDb(Type targetType, Object value, String name, ProviderCallContext context, Type targetParentType) +137
   EPiServer.Data.Dynamic.Providers.SqlServerDataStoreProvider.ProcessValueFromDb(Type targetType, Object value, String name, ProviderCallContext context, Type targetParentType) +513
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.LoadInlineProperties(ProviderCallContext ctx) +580
   EPiServer.Data.Dynamic.Providers.<>c__DisplayClassa.b__9() +21
   EPiServer.Data.Dynamic.Providers.<>c__DisplayClass1`1.b__0() +141
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.InternalExecute(Func`1 method) +40
   EPiServer.Data.Dynamic.DynamicDataStore.InternalLoad(Identity id, Type type, LoadAsObjectType loadAs, ProviderCallContext parentContext) +649
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.LoadSubObject(Identity id, Type type, String storeName, ProviderCallContext context) +284
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.LoadReferencesAndCollections(ProviderCallContext ctx) +1151
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.LoadObject(ProviderCallContext context) +145
   EPiServer.Data.Dynamic.Providers.<>c__DisplayClass1`1.b__0() +141
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.InternalExecute(Func`1 method) +40
   EPiServer.Data.Dynamic.DynamicDataStore.InternalLoad(Identity id, Type type, LoadAsObjectType loadAs, ProviderCallContext parentContext) +649
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.LoadSubObject(Identity id, Type type, String storeName, ProviderCallContext context) +284
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.LoadReferenceMarkers(IList list, ProviderCallContext context) +109
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.LoadCollection(ProviderCallContext context, CollectionPropertyMap collectionProperty) +1785
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.LoadReferencesAndCollections(ProviderCallContext ctx) +1321
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.LoadObject(ProviderCallContext context) +145
   EPiServer.Data.Dynamic.Providers.<>c__DisplayClass1`1.b__0() +141
   EPiServer.Data.Dynamic.Providers.DbDataStoreProvider.InternalExecute(Func`1 method) +40
   EPiServer.Data.Dynamic.DynamicDataStore.InternalLoad(Identity id, Type type, LoadAsObjectType loadAs, ProviderCallContext parentContext) +649
   EPiServer.Data.Dynamic.EPiServerDynamicDataStore.Load(Identity id) +74
   EPiServer.Data.Dynamic.DynamicDataCollectionEnumerator.get_Current() +323

Thanks,

Neha

#155034
Sep 08, 2016 9:49
Vote:
 

Hi,

Without your site configution (which site is that - CMS only or with Commerce), and versions, and the situation when this error appears - it's almost impossible for us to help.

Regards,

/Q

#155038
Sep 08, 2016 10:06
Vote:
 

Hi Team,

My site is using both commerce manager & CMS.

Version is episerver-cms-6.1.379.1001.

situation is- when i am browsing this site from iis or from iis express of visual studio, i am getting this error(value can't be null, parameter name key).

please help me & let me know, if you need any other details.

Thanks & Regards,

Neha. 

#155047
Edited, Sep 08, 2016 11:07
Vote:
 

Have you compared site setting and virtual path setings with some working site?

#155168
Sep 09, 2016 22:07
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.