November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Strange. Do you have any code in App_Code folder?
It should be compiled to App_Code.r4nd0mch4r.dll, instead of App_Code.dll ...
/Q
Yes it is strange. We do not have any code in that folder, we accually do not have any such folder at all...
What are settings for your IIS app pool? Start automatically. We came across the same issue time to time. Does not happend after every deploy. Switched to not-auto-start app pool - seems that this may solve the issue. It's not a solution, just a workaround.
Just ran into this exact same error, and resetting IIS worked for me. Was this a recurring issue for you, or just once?
For a site we have we sometimes (not always) get an error like this after done a deploy with web deploy:
Exception information: in machine.config can help solve this issue.
Exception type: HttpException
Exception message: The assembly 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a51db5b5\7a1abf6e\App_Code.dll' is already loaded in another appdomain. Setting
at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
The assembly 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a51db5b5\7a1abf6e\App_Code.dll' is already loaded in another appdomain. Setting in machine.config can help solve this issue.
at System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed)
at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories)
at System.Web.Compilation.BuildManager.CompileCodeDirectories()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
We do not have deployment retail = true as the messages suggest, but we do have the release-mode on it.
Do you others set