HighTechTalks DotNet Forums  

ClickOnce app not being elevated to Ful Trust?

Dotnet Distributed Applications microsoft.public.dotnet.distributed_apps


Discuss ClickOnce app not being elevated to Ful Trust? in the Dotnet Distributed Applications forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
DugrHill
 
Posts: n/a

Default ClickOnce app not being elevated to Ful Trust? - 06-23-2006 , 03:24 PM






I have created a ClickOnce application that is set as a FullTrust
application. When an XP Limited User installs this application they are
prompted with the "Are you sure you want to install this application" type
warning. If the Limited user clicks the YES button and installs the app,
shouldn’t the app then have full trust and be able to do anything?

It's not working that way for me. I am still getting permission errors when
this application tries to create a file in the root (C:\).

It seems to be able to write to the registry (HkeyLocalUser) just fine.

Why can't his supposed full trust app create a file in C:?

Is there a step I am missing?

What other types of things may I not be able to do?

Also, we have a trusted publisher certificate that is used to sign our
ClickOnce applications. What do I need to do in order to have any application
operate in full trust mode if it’s signed with our certificate?

Thanks for any help in this area.

Thanks!


Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: ClickOnce app not being elevated to Ful Trust? - 06-25-2006 , 10:40 PM






Hello,

Does the user has permission to Write on the C:\? Even an assembly has
fulltrust psermission, it means it can perform Disk I/O work, it also rely
on the permission of current user. If the user didn't have enough
permission, it will also raise a permssion error. To determine if a user
has write permission on C:\, he can simple create a Text file in notepad,
and save it on C:\.

Regards,

Luke Zhang
Microsoft Online Community Lead

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.