Add security node in Manifest
Hello,
My application needs administrative rights as it's a web updater.
So to prompt the user to get admnistrative right I have added the manifest entry that need to be added to my application with the below content:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="MyCompany"
version="1.0.0.0"
processorArchitecture="*"/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="*"/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="true" />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
But when i run it, it generates the folowing error message:
C:\...path to my application.exe
"A referal was returned from the server"If I remove my the trustinfo node of the manifest and run my application as admin it works fine. So i really don't understand why this error appears and it seems to have no link to my application!
Anyone has an idea?
Thanks in advance

