ClickOnce - Website Deployment - Authenticated Access

G

Guest

We are deploying our Smart Client APP to our external vendors via ClickOnce
and an IIS6 virtual directory. Since the deployment is visible to the
Internet, we have protected the deployment site using Integrated Windows
authentication without anonymous access and enumerated the authorized users
in the site's web.config. This works fine until the .application is launched
from the ClickOnce publish.htm page. Then the ClickOnce installer tries to
contact the protected website using the credentials of the logged on user and
not the credentials that the user provided to authenticate to IIS. The result
is an installation failure with "401 Unauthorized" given as the reason. The
"Stored User Names and Passwords" feature avoids this problem in Windows XP
Pro, but doesn't help us for other target operating systems like Windows 2000
and Windows XP Home. Is there a way to tell the ClickOnce installer to run
under a predefined identity? Is they a better way to protect the deployment
site that is more ClickOnce friendly?
Any advice would be appreciated.
 
L

Linda Liu [MSFT]

Hi,

ClickOnce only supports integrated Windows NT authentication.

I think a possible reason of your problem is that you may not config the
web site properly for ClickOnce deployments. You may visit the following
link for more information on how to config server and client:

'Server and Client Configuration Issues in ClickOnce Deployments'
http://msdn2.microsoft.com/en-us/library/ms228998.aspx

You may also have a try deploying the application to a ftp server to see if
the problem still exists.

Hope this helps.

Sincerely,
Linda Liu
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.
 
L

Linda Liu [MSFT]

Hi,

How about the problem now?

If you need our further assistance, please feel free to let me know.

Thank you for using our MSDN Managed Newsgroup Support Service!


Sincerely,
Linda Liu
Microsoft Online Community Support
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top