Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error CS2001 and CS2008 During InstallationError CS2001 and CS2008 During Installation
Previous
 
Next
New Post
1/16/2012 6:55 PM
 

Hi All.  A 100% newbie to DNN so hopefully you'll forgive me for asking stupid questions.

First I should explain that this would be the second time I'm installing DNN Community Edition 5.06.01.  The first time it went well but then I decided to add the Freestype skin which gave me an error and it went down hill from there.

I then decided to start from scratch by deleting the web app and database.  Going through the process, I get to Run Database Installation Scripts and get the following errors.  I've done this twice following the webinar on the website as I did the first time.  If anyone can tell me what I've screwed up and how to resolve the problem would be greatly appreciated.

Upgrading Database to Version 05.06.01...FAILURE ERROR: Error: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\sffcpq4b.0.cs' could not be found
error CS2008: No inputs specified
   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 DotNetNuke.Common.Utilities.XmlUtils.Serialize(Object obj)
   at DotNetNuke.Services.Log.EventLog.EventLogController.AddLog(Object objCBO, PortalSettings _PortalSettings, Int32 UserID, String UserName, String LogType)
   at DotNetNuke.Services.Installer.Packages.PackageController.AddPackage(PackageInfo package, Boolean includeDetail)
   at DotNetNuke.Services.Upgrade.Upgrade.AddModuleDefinition(String DesktopModuleName, String Description, String ModuleDefinitionName, String BusinessControllerClass, Boolean IsPortable, Boolean Premium, Boolean Admin)
   at DotNetNuke.Services.Upgrade.Upgrade.AddModuleDefinition(String DesktopModuleName, String Description, String ModuleDefinitionName, Boolean Premium, Boolean Admin)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion_510()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String strProviderPath, Version version, Boolean writeFeedback)
Error: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\vp24zowl.0.cs' could not be found
error CS2008: No inputs specified
   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 DotNetNuke.Common.Utilities.XmlUtils.Serialize(Object obj)
   at DotNetNuke.Services.Log.EventLog.EventLogController.AddLog(Object objCBO, PortalSettings _PortalSettings, Int32 UserID, String UserName, String LogType)
   at DotNetNuke.Services.Localization.Localization.SaveLanguage(Locale locale)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion_513()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String strProviderPath, Version version, Boolean writeFeedback)
Error: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\lspxlouk.0.cs' could not be found
error CS2008: No inputs specified
   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 DotNetNuke.Common.Utilities.XmlUtils.Serialize(Object obj)
   at DotNetNuke.Services.Log.EventLog.EventLogController.AddLog(Object objCBO, PortalSettings _PortalSettings, Int32 UserID, String UserName, String LogType)
   at DotNetNuke.Services.Installer.Packages.PackageController.AddPackage(PackageInfo package, Boolean includeDetail)
   at DotNetNuke.Services.Upgrade.Upgrade.AddModuleDefinition(String DesktopModuleName, String Description, String ModuleDefinitionName, String BusinessControllerClass, Boolean IsPortable, Boolean Premium, Boolean Admin)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion_520()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String strProviderPath, Version version, Boolean writeFeedback)
Error: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\ihzfplqm.0.cs' could not be found
error CS2008: No inputs specified
   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 DotNetNuke.Common.Utilities.XmlUtils.Serialize(Object obj)
   at DotNetNuke.Services.Log.EventLog.EventLogController.AddLog(Object objCBO, PortalSettings _PortalSettings, Int32 UserID, String UserName, String LogType)
   at DotNetNuke.Services.Installer.Packages.PackageController.AddPackage(PackageInfo package, Boolean includeDetail)
   at DotNetNuke.Services.Upgrade.Upgrade.AddModuleDefinition(String DesktopModuleName, String Description, String ModuleDefinitionName, String BusinessControllerClass, Boolean IsPortable, Boolean Premium, Boolean Admin)
   at DotNetNuke.Services.Upgrade.Upgrade.AddModuleDefinition(String DesktopModuleName, String Description, String ModuleDefinitionName, Boolean Premium, Boolean Admin)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion_530()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String strProviderPath, Version version, Boolean writeFeedback)
Error: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\rknudpdr.0.cs' could not be found
error CS2008: No inputs specified
   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 DotNetNuke.Common.Utilities.XmlUtils.Serialize(Object obj)
   at DotNetNuke.Services.Log.EventLog.EventLogController.AddLog(Object objCBO, PortalSettings _PortalSettings, Int32 UserID, String UserName, String LogType)
   at DotNetNuke.Services.Installer.Packages.PackageController.AddPackage(PackageInfo package, Boolean includeDetail)
   at DotNetNuke.Services.Upgrade.Upgrade.AddSkinControl(String ControlKey, String PackageName, String ControlSrc)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion_540()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String strProviderPath, Version version, Boolean writeFeedback)
Error: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\n2tfyth1.0.cs' could not be found
error CS2008: No inputs specified
   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 DotNetNuke.Common.Utilities.XmlUtils.Serialize(Object obj)
   at DotNetNuke.Services.Log.EventLog.EventLogController.AddLog(Object objCBO, PortalSettings _PortalSettings, Int32 UserID, String UserName, String LogType)
   at DotNetNuke.Common.Lists.ListController.UpdateListEntry(ListEntryInfo ListEntry)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion_550()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String strProviderPath, Version version, Boolean writeFeedback)
Error: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\4mj4mi5u.0.cs' could not be found
error CS2008: No inputs specified
   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 DotNetNuke.Common.Utilities.XmlUtils.Serialize(Object obj)
   at DotNetNuke.Services.Log.EventLog.EventLogController.AddLog(Object objCBO, PortalSettings _PortalSettings, Int32 UserID, String UserName, String LogType)
   at DotNetNuke.Services.Installer.Packages.PackageController.AddPackage(PackageInfo package, Boolean includeDetail)
   at DotNetNuke.Services.Upgrade.Upgrade.AddModuleDefinition(String DesktopModuleName, String Description, String ModuleDefinitionName, String BusinessControllerClass, Boolean IsPortable, Boolean Premium, Boolean Admin)
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion_560()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String strProviderPath, Version version, Boolean writeFeedback)


 

 
New Post
1/19/2012 2:58 PM
 
Haven't seen this one in a while, however it's a known exception caused by an incorrect configuration on the webserver. When DotNetNuke begins it imports various templates to create sites - this code uses xmlserialization. When using xmlserialization asp.net will create temporary assemblies in the %TEMP% location (which is c:\windows\temp by default). If the site that the website is running under (i.e. the user assigned to the application pool ) does not have permissions you can see this issue, so please check your user permissions . MS have a page on this at http://msdn.microsoft.com/en-us/library/aa302290.aspx

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/19/2012 9:16 PM
 
Wow ... I have no idea what you're talking about :) ... way over my head but I made sure the DefaultAppPool user was assigned to the C:\windows\temp folder and it had write permission. I then deleted the data base through ssms as well as the application through IIS manager then reinstalled everything and it worked :) Thank you Cathal!! I almost gave up and was going to reformat my machine. Not sure why this problem occurs on the second install and not the first. You would think the user permission on the temp folder would not change and if it did, how was it changed. A real mystery ...
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error CS2001 and CS2008 During InstallationError CS2001 and CS2008 During Installation


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out