Joetjah
Joetjah

Reputation: 6132

Error starting the ClickOnce xbap application

I'm trying to publish a ClickOnce WPF browser application to an IIS server.

Currently, everything is set, and I can reach the website from all computers in the local network. However, after pressing Run, the application only works on the server PC. This is the only computer that has the option to run the application.

I'm guessing something is off with the manifests or something. I have no clue where to look for. What should I do or check?

Upvotes: 0

Views: 148

Answers (1)

Darlene
Darlene

Reputation: 808

Is the issue that the application isn't installing on other computers or that the application isn't running on other computers?

If it is not running on other computers I'd enable fusion log messages (by setting registry keys) - see How to enable assembly bind failure logging (Fusion) in .NET.

Most often the issue is a missing assembly (the Server machine has something installed, most likely to the GAC that is not included in your manifest). The way to fix this is to set CopyLocal=true on any missing assembly references.

Upvotes: 1

Related Questions