Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Does clickonce work for guest user?
 

Does clickonce work for guest user?

I have deployed a wpf application using clickonce. I have been facing a weird problem. Sometime, clickonce deployment is not working for guest user.However, it is working sometime. When it doesn’t work, it gives the following error:

“Error creating the web proxy specified in the 'system.net/defaultproxy' configuration section. Access to the path 'global\.net clr networking is denied�/p>

Any ideas?

Thanks,

Setu



  • Edited bySetu Thursday, July 09, 2009 6:45 AM
  •  
Setu  Thursday, July 09, 2009 6:43 AM

Thanks for your replay.

I am using XP. Clickonce works for Guest accout in a specific scenario. If you follow the following steps, clickonce will work for guest account:

1> 1> Logged in as an administrator.

2> 2> Run the clickonce application. Then you can close the application.

3> 3> Switch to Guest user account.

4> Install the clickonce application from Guest account. It will run!

Very weird scenario. However, it really works.


setu
Setu  Saturday, July 11, 2009 4:13 AM
I'm not sure this will work with a guest account; there have been questions about it before. I assume you're using XP?

If you set up just another account on the machine with an actual username, does THAT work? It seems to me that a guest account just isn't going to have enough privs to run a ClickOnce deployment (just judging from past questions).

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Thursday, July 09, 2009 9:08 AM

Thanks for your replay.

I am using XP. Clickonce works for Guest accout in a specific scenario. If you follow the following steps, clickonce will work for guest account:

1> 1> Logged in as an administrator.

2> 2> Run the clickonce application. Then you can close the application.

3> 3> Switch to Guest user account.

4> Install the clickonce application from Guest account. It will run!

Very weird scenario. However, it really works.


setu
Setu  Saturday, July 11, 2009 4:13 AM
There must be something it's setting in the registry or something to make it work for the guest account.

Thanks for letting us know!

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Wednesday, July 29, 2009 10:06 AM

You can use google to search for other answers

Custom Search

More Threads

• Using Visual Studio Deployment Projects to install standard windows shortcuts instead of advertised shortcuts
• ClickOnce myapp.application doesn't work on website
• How to write/read a ntw folder from a clickonce C# application where the user does not have permission to write/read on/from it
• Problems with setup project - am I thick?
• Installation interrupted - asp.net web application setup.exe gives error : Vista : Visual Studio 2008
• How do I get my Setup1.msi file to autorun when installing from CD?
• Framework 3.5 as Prerequisite for a ClickOnce app fails if Computer has 3.5 SP1 installed
• Install as Admin... .MSI wants to run *again* for each user
• install set up error in vista 64 bit.
• Error 1324: The folder path 'n/a' contains an invalid character?!