installation - ClickOnce - installing an app gives 'Cannot Start Application' error -
i have simple windows application want distribute through website running on azure. publish app locally first , manually copy on artifacts web server @ location ../fold/apps/tools
publish location: c:\users\myusername\documents\publish installation folder url: https://somewebsite/fold/apps/tools/ update location same installation folder.
the files copied on "application files" folder, myapp.application, publish.htm , setup.exe.
now log onto website , download app using https://somewebsite/fold/apps/tools/myapp.application
clickling on downloaded files shows me 'cannot start application' popup. clicking on details button shows following error in log file.
sources deployment url : file:///c:/users/myusername/downloads/myapp.application deployment provider url : https://somewebsite/fold/apps/tools/myapp.application
error summary below summary of errors, details of these errors listed later in log. * activation of c:\users\myusername\downloads\myapp.application resulted in exception. following failure messages detected: + deployment provider specified in manifest cannot reached. maybe due network error and/or deployment provider not responding correctly. + exception reading manifest https://somewebsite/login.aspx?returnurl=%2ffold%2ftools%2fmyapp.application: manifest may not valid or file not opened. + dtd prohibited in xml document. don’t understand why tries redirect login page when logged in. test placed simple text file in same location .application file , able access after logging in.
please let me know issue might be.
many thanks
turns out 'you cannot use forms authentication clickonce deployment'. see use clickonce on password protected web site. ended opening folder world placing web.config file <system.web> <authorization> <allow users="?"/> </authorization> </system.web>
ok me windows app doesn't need password protected.
Comments
Post a Comment