ClickOnce and Vista problem

  • Thread starter Alexander Malapheev
  • Start date
A

Alexander Malapheev

Hi,

I have an asp.net application which has a button to launch ClickOnce
application.
This button open a new page which make redirect to ClickOnce app, something
like this:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Dim strGUID As String =
HttpContext.Current.Request.Cookies("SomeCookie")("GUID")
Response.Redirect("myapp.application?id=" & strGUID)
End Sub

All works on XP, but on vista this application not launched. Instead of it a
new window of IE7 (with URL to this app in address bar) is opened. When I
try to refres (F5) this window - it's hapend nothing. But when I click to
address bar and push enter button then ClickOnce application is launching.

How can I solve this?
 
A

Alexander Malapheev

Also when I launching my site using localhost instead of it IP, then
ClickOnce is working.
 
L

Luke Zhang [MSFT]

Hello,

As I understand, you just test the application on the web server (Vista)?
If you connect from another client (also Vista), will you get same result?
Also, from your first message, if you type the url of the ClickOnce
application in IE directly, it will work correctly, is this right? If you
use Server.Transfer() method instead Response.Redirect(), what will happen?

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.
 
A

Alexander Malapheev

Hello,

No, I use Vista only as client, server is Windows 2003.
The problem only if client is the IE7 on Vista.
If I type url of the ClickOnce appplication directly in browser, yes - it's
works.
If I use Server.Transfer - then browser display entire xml text of manifest.

Also if I create a button in a form, and make redirect when click this
button it works too.
It's doesn't work only if I do redirect in Page_Load method when using IP or
domain name of machine.
I suppose that it is a security issue because when I use 'localhost' all
works fine.
 
L

Luke Zhang [MSFT]

Hello,

'localhost' means we browse to the local computer, not a remote server
(windows server 2003?). I suspect if I misunderstood this, or you access
different computer with IP and "localhost"?

Have you tried to add the IP address in "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.
 
A

Alexander Malapheev

Yes, I was wrong.
I tried to open ClickOnce application in IE7 from remote server(Win 2003) -
it doesn't work as I described in previouse message.
Also I sat up this application on local machine(Vista), and when I opened it
using 'localhost' it works, but when I use 127.0.0.1 for example it doesn't
work.
 
L

Luke Zhang [MSFT]

Hello,

When the web appliction is on Vista server, will it work if you use the
server's actual IP, like '157.11.123.1", from both local server and remote
client?If you add the IP address to trusted site from remote client, what
will happen?

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.
 
A

Alexander Malapheev

Hello,

No, if I use actual IP it doesn't work to.
An if I added IP address to trusted sites nothing is happend - it's still
not work.
 
A

Alexander Malapheev

Hello,

No, if I use actual IP it doesn't work to.
An if I added IP address to trusted sites nothing is happend - it's still
not work.
 
L

Luke Zhang [MSFT]

Hello,

It seems really weird. To perform further research on this issue, I suggest
you may perform a TCP/IP trace to log the TCP communication data between
the server and client, for example, with Netmon or Fiddler. We can just
record several traces:

Redirect from Form_load.
Browse to the page direct in IE

We may compare the trace logs to see if there is any differences, which may
cause the problem.

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.
 

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