Novell Home

My Favorites

Close

Please to see your favorites.

Unable to register device

This document (7012927) is provided subject to the disclaimer at the end of this document.

Environment

Novell ZENworks Configuration Management 11.2

Situation

Registration fails.

ERROR (from zmd-messages.log):

[DEBUG] [12/11/2012 15:18:48.568] [1724] [ZenworksWindowsService] [39] []
[LocationConfigBasedService] [] 

[Could not get location configuration Type: System.UnauthorizedAccessException

Message: Access to the temp directory is denied.  
Identity 'NT AUTHORITY\SYSTEM' under which XmlSerializer is running does not
have 
sufficient permission to access the temp directory.  
CodeDom will use the user account the process is using to do the compilation, 
so if the user doesnt have access to system temp directory, you will not be
able to compile.  
Use Path.GetTempPath() API to find out the temp directory location.

Resolution

Workaround:

Disable Anti-Virus or any application that prohibits creation of a dll in system %TEMP% directory.  Or see http://support.microsoft.com/?kbid=934529 for a way to set alternative location for serialization dlls to be created.

Status

Reported to Engineering

Additional Information

Stack Trace:
       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.GenerateTempAssembly(XmlMapping
xmlMapping, Type type, String defaultNamespace, String location, Evidence
evidence)
       at System.Xml.Serialization.XmlSerializer..ctor(Type type,
XmlAttributeOverrides overrides, Type() extraTypes, XmlRootAttribute root,
String defaultNamespace, String location, Evidence evidence)
       at System.Xml.Serialization.XmlSerializer..ctor(Type type,
XmlAttributeOverrides overrides, Type() extraTypes, XmlRootAttribute root,
String defaultNamespace)
       at Novell.Zenworks.Zmd.XmlUtil.GetSerializerForType(Type type,
XmlAttributeOverrides overrides, Type() extraTypes, XmlRootAttribute root,
String defaultNamespace)
       at
Novell.Zenworks.Zmd.Services.LocationConfigDataStore.GetXmlSerializerForCapability()
       at
Novell.Zenworks.Zmd.Services.LocationConfigDataStore.UpdateLocationConfiguration(XmlTextReader
xmltr, String& zoneName, String& zoneUid, String& responseHash, List`1&
capabilities)
       at
Novell.Zenworks.Zmd.LocationConfigBasedService.ParseResponse(GetLocationConfigurationResponse
response)
       at
Novell.Zenworks.Zmd.LocationConfigBasedService.GetLocationConfiguration()
       at Novell.Zenworks.Zmd.LocationConfigBasedService.Create(String
serverRoot)

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7012927
  • Creation Date:23-JUL-13
  • Modified Date:25-JUL-13
    • NovellZENworks Configuration Management

Did this document solve your problem? Provide Feedback