RE: Click Once Install fails on Vista
- From: Jason <JRawlins@xxxxxxxxxxxxxx>
- Date: Thu, 21 Dec 2006 15:37:00 -0800
Luke,
Sorry I haven't replied for a while. I've been travelling.
The account used is a domain account and NOT a local account so elevation is
required. The problem was the elevation seemed to fail. Not sure why??
Interestingly enough the installation seems to start now. Not sure if that
means something has changed in the Network?? What I am now finding that that
the install is failing while trying to register the assemblies with CAS.
A dialog is displayed during the setup program:
System.Security.PolicyException:Policy level 'Enterprise' could not be saved.
at System.Security.PolicyManager.EncodeLevel(PolicyLevel level)
at System.Security.PolicyManager.EncodeLevel(String level)
at System.Security.PolicyManager.Save()
at System.Security.SecurityManager.SavePolicy()
at xxx.EditorControl.Installer.Install(iDictionary stateSaver)
cannot find any reference to this error anywhere. The code that installed
the assemblies in the CAS does not reference 'Enterprise' anywhere. and is
still working on XP.
I have tried this on x86 Vista Ultimate and x64 Vista Enterprise
"Luke Zhang [MSFT]" wrote:
Hello,.
Thank you for the reply. Can you confirm if the account is a local
administrator account who has full permission on the Vista client? If he
was a local administrator, he didn't need permission elevation anyway. For
the error log, the problem occur when call CorLaunchApplication(), which
try to launch an assembly from local, permission elevation will be
required.
By the way, if you add the deploy web site to the client's Trusted Sites,
will this help?
Sincerely,
Luke Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
- Follow-Ups:
- RE: Click Once Install fails on Vista
- From: Luke Zhang [MSFT]
- RE: Click Once Install fails on Vista
- References:
- Click Once Install fails on Vista
- From: Jason
- RE: Click Once Install fails on Vista
- From: "Gary Chang[MSFT]"
- RE: Click Once Install fails on Vista
- From: Jason
- RE: Click Once Install fails on Vista
- From: Luke Zhang [MSFT]
- RE: Click Once Install fails on Vista
- From: Luke Zhang [MSFT]
- Click Once Install fails on Vista
- Prev by Date: Re-Installed Windows VS.NET not working
- Next by Date: RE: Click Once Install fails on Vista
- Previous by thread: RE: Click Once Install fails on Vista
- Next by thread: RE: Click Once Install fails on Vista
- Index(es):
Relevant Pages
|