G
Guest
repost again so microsoft may recognize it!
--------------------------------------------------
I can use a ClickOnce app I made fine, but I cannot seem to reliably access
it via an asp.net app that redirects to it:
I created a simple ClickOnce windows forms application in VS 2005 that
deploys via IIS; that works fine when either type in the URL, for example
"http://localhost/ClickOnceTest1//ClickOnceTest1.application", or hit the
autogenerated publish.htm URL. Buuuut...if I then make a new, separate
asp.net web application (using vs 2003, so .net 1.1), (let's say it's called
ClickOnceWebApp1) and simply call
Response.Redirect("http://localhost/ClickOnceTest1/ClickOnceTest1.application",true),
it generally does not work - once in a while, it works fine! Most times, I
get the "Cannot start application" dialog with a msg "..the application is
improperly formatted..." If I then click on "details" I see some messages
such as the following:
Activation of http://localhost/ClickOnceWebApp1/WebForm1.aspx resulted in
exception. Following failure messages were detected:
+ Exception reading manifest from
http://localhost/ClickOnceTest1/publish.htm: the manifest may not be valid or
the file could not be opened.
+ Parsing and DOM creation of the manifest resulted in error. Following
parsing errors were noticed:
-HRESULT: 0x8007001f
Start line: 0
Start column: 0
Host file:
+ A device attached to the system is not functioning. (Exception from
HRESULT: 0x8007001F)
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [1/3/2006 5:47:31 PM] : Activation of
http://localhost/ClickOnceWebApp1/WebForm1.aspx has started.
{snip!}
----------------------------------------------------------------------------
I find it very odd that it works only sometimes works! I tried setting IE to
check for newer versions of the page on every visit (instead of
"automatically"), but that didn't help.
Any ideas? I want to be able to execute arbitrary server-side logic in my
asp.net app, and then, when needed, redirect the user to launch a smart
client.
Thanks!
Was this post helpful to you?
--------------------------------------------------
I can use a ClickOnce app I made fine, but I cannot seem to reliably access
it via an asp.net app that redirects to it:
I created a simple ClickOnce windows forms application in VS 2005 that
deploys via IIS; that works fine when either type in the URL, for example
"http://localhost/ClickOnceTest1//ClickOnceTest1.application", or hit the
autogenerated publish.htm URL. Buuuut...if I then make a new, separate
asp.net web application (using vs 2003, so .net 1.1), (let's say it's called
ClickOnceWebApp1) and simply call
Response.Redirect("http://localhost/ClickOnceTest1/ClickOnceTest1.application",true),
it generally does not work - once in a while, it works fine! Most times, I
get the "Cannot start application" dialog with a msg "..the application is
improperly formatted..." If I then click on "details" I see some messages
such as the following:
Activation of http://localhost/ClickOnceWebApp1/WebForm1.aspx resulted in
exception. Following failure messages were detected:
+ Exception reading manifest from
http://localhost/ClickOnceTest1/publish.htm: the manifest may not be valid or
the file could not be opened.
+ Parsing and DOM creation of the manifest resulted in error. Following
parsing errors were noticed:
-HRESULT: 0x8007001f
Start line: 0
Start column: 0
Host file:
+ A device attached to the system is not functioning. (Exception from
HRESULT: 0x8007001F)
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [1/3/2006 5:47:31 PM] : Activation of
http://localhost/ClickOnceWebApp1/WebForm1.aspx has started.
{snip!}
----------------------------------------------------------------------------
I find it very odd that it works only sometimes works! I tried setting IE to
check for newer versions of the page on every visit (instead of
"automatically"), but that didn't help.
Any ideas? I want to be able to execute arbitrary server-side logic in my
asp.net app, and then, when needed, redirect the user to launch a smart
client.
Thanks!
Was this post helpful to you?