Getting the following exception while executing candle.exe from Mapped
Network Drive(i.e. Z:\) 


Z:\workspace\workspace\WindowsBuilds\IRPortal\repackaging\IRPortal\wics>Z:\WiX\c
 
andle.exe   -ext WixUtilExtension -ext WixIIsExtension -nologo -pedantic
-dProdu 
ct_Id=* -dProduct_UpgradeCode=C3E1636C-C997-11E1-B9AF-60156188709B
-dProduct_Nam 
e="Sample" -dProduct_Version=1.0.0.0 -dFileSource=..\BINARIES\1.0.0.0
-dConfigSo 
urce=..\config -out wixobj\ C:\Temp\wxs\IRAdmin.connections.Config.wxs 
candle.exe : error CNDL0001 : The parameter is incorrect. (Exception from
HRESUL 
T: 0x80070057 (E_INVALIDARG)) 

Exception Type: System.ArgumentException 

Stack Trace: 
   at
System.Security.Policy.PEFileEvidenceFactory.GetLocationEvidence(SafePEFil 
eHandle peFile, SecurityZone& zone, StringHandleOnStack retUrl) 
   at
System.Security.Policy.PEFileEvidenceFactory.GenerateLocationEvidence() 
   at System.Security.Policy.PEFileEvidenceFactory.GenerateEvidence(Type
evidenc 
eType) 
   at System.Security.Policy.AssemblyEvidenceFactory.GenerateEvidence(Type
evide 
nceType) 
   at System.Security.Policy.Evidence.GenerateHostEvidence(Type type,
Boolean ho 
stCanGenerate) 
   at System.Security.Policy.Evidence.GetHostEvidenceNoLock(Type type) 
   at System.Security.Policy.Evidence.GetHostEvidence(Type type, Boolean
markDel 
ayEvaluatedEvidenceUsed) 
   at System.Security.Policy.AppDomainEvidenceFactory.GenerateEvidence(Type
evid 
enceType) 
   at System.Security.Policy.Evidence.GenerateHostEvidence(Type type,
Boolean ho 
stCanGenerate) 
   at System.Security.Policy.Evidence.GetHostEvidenceNoLock(Type type) 
   at System.Security.Policy.Evidence.RawEvidenceEnumerator.MoveNext() 
   at System.Security.Policy.Evidence.EvidenceEnumerator.MoveNext() 
   at System.Configuration.ClientConfigPaths.GetEvidenceInfo(AppDomain
appDomain 
, String exePath, String& typeName) 
   at System.Configuration.ClientConfigPaths.GetTypeAndHashSuffix(AppDomain
appD 
omain, String exePath) 
   at System.Configuration.ClientConfigPaths..ctor(String exePath, Boolean
inclu 
deUserConfig) 
   at System.Configuration.ClientConfigPaths.GetPaths(String exePath,
Boolean in 
cludeUserConfig) 
   at
System.Configuration.ClientConfigurationHost.RequireCompleteInit(IInternal 
ConfigRecord record) 
   at
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String co 
nfigKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject,
Bool 
ean requestIsHere, Object& result, Object& resultRuntimeObject) 
   at System.Configuration.BaseConfigurationRecord.GetSection(String
configKey) 
   at
System.Configuration.ClientConfigurationSystem.System.Configuration.Intern 
al.IInternalConfigSystem.GetSection(String sectionName) 
   at System.Configuration.ConfigurationManager.GetSection(String
sectionName) 
   at
System.Xml.XmlConfiguration.XmlReaderSection.get_ProhibitDefaultUrlResolve 
r() 
   at System.Xml.Schema.Parser..ctor(SchemaType schemaType, XmlNameTable
nameTab 
le, SchemaNames schemaNames, ValidationEventHandler eventHandler) 
   at System.Xml.Schema.XmlSchema.Read(XmlReader reader,
ValidationEventHandler 
validationEventHandler) 
   at Microsoft.Tools.WindowsInstallerXml.Compiler..ctor() 
   at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Run(String[] args) 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/candle-exe-throws-Exception-tp7592331.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to