Irwin
Irwin

Reputation: 12819

How to publish via ClickOnce from one domain to the other?

I am trying to deploy an application via Clickonce from one domain, where I'm logged in as DOMAINONE\Irwin to another, where I am granted permission via DOMAINTWO\deployer.
When I try this, Visual Studio (2008) reports:
Unable to access \\DOMAINTWO\publishfolder.
Any advice on how to accomplish this?

Upvotes: 1

Views: 455

Answers (2)

RobinDotNet
RobinDotNet

Reputation: 11877

Do you mean that you are trying to publish to \\domaintwo\publishfolder? This is a network share in a different domain? The account you are using to publish the applciation must have permission to write to that folder in the other domain, or you can't publish your ClickOnce application to it.

Can you even copy a file over there from \\DOMAINONE\Irwin?

If you can get files from one domain to the other SOME way other than directly copying them, you can build your deployment to a local folder and then transfer it to the other folder. Just set the publishing file location to something like C:\_ClickOnce\, and the Installation URL to \\domaintwo\publishfolder, publish it to the local folder, and copy the entire contents of the folder to \\domaintwo\publishfolder.

If I'm not understanding you, please give me more details.

Upvotes: 0

Christoph
Christoph

Reputation: 4401

Have you attempted to run as the user that has permissions when doing the push?

RUNAS USAGE:

RUNAS [ [/noprofile | /profile] [/env] [/netonly] ] /user: program

Upvotes: 1

Related Questions