Not having investigated why, I see that removing my <remove assembly>-lines in EPiServerFramework.config eliminates this error.
Anders,
i could not locate"my -lines" in EPiServerFramework.config file.
please advise.
Regards
Gunjan
Hi Anders,
I know it's old topic, are you able to recall what did you remove from EPiServerFramework.config?
I'm currently struggling with the same issue. It seems to be happening randomly, but when it does happen - it's breaking our long running EPi job.
regards,
Marek
Hi Marek,
Sorry, don't recall. As I read my old post I see that I must have forgotten something in my answer..
Have you tried removing everything from <scanAssembly forceBinFolderScan="true"> so it looks like this:
<scanAssembly forceBinFolderScan="true">
<add assembly="*" />
</scanAssembly>
Hi Anders,
thank you for such fast response. I'll definitely give it a try. Our job is running for past few hours without an error, which is strange after few previous unsuccessful tries.
thanks
Hi all,
I have upgraded a site from CMS 6 to 7 using Deployment Center and converted the code from using PageTypeBuilder to using new strongly typed EPiServer way, replaced all DLL's with fresh new EPiServer 7 DLL's.
The solution builds without errors, but I am getting this error:
No Default Instance defined for PluginFamily EPiServer.BaseLibrary.IRuntimeCache
StructureMap Exception Code: 202
No Default Instance defined for PluginFamily EPiServer.BaseLibrary.IRuntimeCache, EPiServer.BaseLibrary, Version=7.0.586.1, Culture=neutral, PublicKeyToken=8fe83dea738b45b7
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: StructureMap.StructureMapException: StructureMap Exception Code: 202
No Default Instance defined for PluginFamily EPiServer.BaseLibrary.IRuntimeCache, EPiServer.BaseLibrary, Version=7.0.586.1, Culture=neutral, PublicKeyToken=8fe83dea738b45b7
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
Have anyone seen this before?