Can't run ClickOnce

I can't seem to run ClickOnce applications (or at least the ones I've created). It seems AppLaunch keeps crashing when I try to run the ClickOnce app. When I go to the directory that all the files are saved, and run the main app, it runs just fine. Haven't tested any other ClickOnce apps, or had other people test mine yet, not sure the problem.

[357 byte] By [Zhila] at [2007-12-16]
# 1

Hi,

Can you provide more details about the error AppLaunch crashes with. Is it a crash or an exception that get propogated to Applaunch. My guess it that you are doing some high trust operation in the constructor of the application. For e.g. if you are attempting to create a file in the contructor, it will throw an exception as the app is running in partial trust. If you don't handle the exception it will be passed on to AppLaunch.

Thanks,
Sameer

SameerMurudkar at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 2
I had the application to install with full trust. Actually, the problem is gone now, have no idea how it got fixed, other than the fact I switched it from saying LocalIntranet to Internet, and I used Visual Studio to publish rather than msbuild (previously I wasn't able to publish with Visual Studio.
Zhila at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 3

APPLICATION CRASHES OR MANIFEST IS IMPROPERLY FORMATTED

Only when comes when :

1). You have manually edited the app.manifest file using notepad or any
Editor

2). You traversed into the directory using windows explorer where the
app.manifest is

placed and try to execute the the app.application file from there.
Leave that Project : Create a New Simple Project with just one form
with no control on it and try it to deploy on your Local Web Server then tell me whether
the same error appears!!!

ErSehmi

ErSehmi at 2007-9-9 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...