Need help to configure BE 2.5 with Win 7, IIS 7, .NET 4.0. Getting exception - Unable to generate a temporary class

Topics: ASP.NET 2.0, Business Logic Layer
May 7, 2012 at 5:37 AM

Hi,

I need experts advice, I want to create this discussion to find out if any of our BE users have faced this issue before and what are the options that I can try.

I am configuring this website with IIS 7.0, thats when I get this error. If I use development web server from VS2010, the website works fine.

Any idea where am I going wrong?

Exception details:

System.InvalidOperationException was unhandled by user code
  Message=Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\ichfj05u.0.cs' could not be found
error CS2008: No inputs specified

  Source=System.Xml
  StackTrace:
       at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
       at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
       at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
       at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
       at BlogEngine.Core.Web.Extensions.ExtensionManager.DataStoreExtension(String name) in E:\Projects\BlogEngine_25_Release\BlogEngine\DotNetSlave.BusinessLogic\Web\Extensions\ExtensionManager.cs:line 403
       at BlogEngine.Core.Web.Extensions.ExtensionManager.LoadExtensions() in E:\Projects\BlogEngine_25_Release\BlogEngine\DotNetSlave.BusinessLogic\Web\Extensions\ExtensionManager.cs:line 461
       at BlogEngine.Core.Web.Extensions.ExtensionManager.ExtensionEnabled(String extensionName) in E:\Projects\BlogEngine_25_Release\BlogEngine\DotNetSlave.BusinessLogic\Web\Extensions\ExtensionManager.cs:line 108
       at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
       at BlogEngine.Core.Utils.LoadExtensions() in E:\Projects\BlogEngine_25_Release\BlogEngine\DotNetSlave.BusinessLogic\Utils.cs:line 1050
       at ASP.global_asax.FirstRequestInitialization.Initialize(HttpContext context) in c:\inetpub\wwwroot\CurlVolition\Global.asax:line 99
       at ASP.global_asax.Application_BeginRequest(Object source, EventArgs e) in c:\inetpub\wwwroot\CurlVolition\Global.asax:line 68
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
  InnerException:

 

----------------------------------------------------

 

Thanks, Best Regards,

Naveen