Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Zero touch deployment bug
 

Zero touch deployment bug

We have just developed a system where the client Winforms communicate with a middle tier via .NET remoting.  Everything works fine when running the client from Visual Studio or from a complied exe file.  However, when running the client app via Zero touch deployment we receive strange remoting errors.  The errors seem to be saying that our remoting channel has already been registered.  Why do we only receive this error when using the app via Zero touch deployment?  Any ideas?
M.Johnson  Wednesday, December 21, 2005 12:49 PM

by Zero touch do you mean ClickOnce ?

If so can you run your app diretly from the installed location (not through the start menu short cut) and see if you get the same problem ?

kanthb  Wednesday, December 21, 2005 11:21 PM
By zero touch I mean that the application is accessed via a URL e.g.
 
The app then runs in IEExec.  Is this the same as ClickOnce?
 
Our app fails when it is accessed via the URL.  When we run it from the installed location it works.
M.Johnson  Thursday, December 22, 2005 9:13 AM

This is not same as ClickOnce..

Though I am not completely familiar with the "zero touch" stuff here is what I would assume would be happening. Broadly stated, To do remoting related operations the application needs full trust (unrestrictred permissions in terms of CAS). when you download and run using "Zero Touch" deployment I would assume that you are getting less permissions than the unrestrictred permissions. so the exceptions.

If you are using VS 2005 can you considering re-publishing your app with appropriate permission set using clickOnce

-thanks

sreekanth

 

kanthb  Thursday, December 22, 2005 8:09 PM

You can use google to search for other answers

Custom Search

More Threads

• how to handle '&' in the product name
• Deploying Framework 1.1 with SP1 using deployment project in VS2003
• installer vs2002
• remote server returned an error (403) Forbidden
• MSP and installation parameters
• Application cannot be started error - NO DETAILS
• DataGridView is empty! No columns are shown
• ParseException on manifest when installing ClickOnce App
• Must reinstall ClickOnce application each time - same version
• add registry at deploying time.