Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Deployment of ClickOnce application

Deployment of ClickOnce application

Deployment of ClickOnce application


I have a deployment package that is deploying a ClickOnce application to a virtual directory for download by users. The package uses mage.exe to publish the ClickOnce app once executed.

If i run the package on my machine (XP Service Pack 2) it publishes fine and I can install the app by going to the appropriate url. However when I run the package on the QA or Dev server (Windows Server 2003) i get an error when the following line is executed in mage.exe


-New Application -ToFile "**App**_0_0_0_1987\**App**.exe.manifest" -Name "**App** **Server**" -Version -TrustLevel FullTrust -FromDirectory **App**_0_0_0_1987

The following is the event log details for the msi package. Note that I have replace app and server details.


The following information is part of the event: Product: **App** -- Error 1001.
Error 1001. Infinite loop prevention ('timeout') kicked in when waiting for this to finish:

-New Application -ToFile "**App**_0_0_0_1987\**App**.exe.manifest" -Name "**App** **Server**" -Version -TrustLevel FullTrust -FromDirectory **App**_0_0_0_1987 (in C:\Program Files (x86)\**AppPath**\), (NULL), (NULL), (NULL).

I cannot find any information regarding this error and wonder if anyone else has run in to it or at least can point me in the right direction.

I have 4 environments that I must keep rolling releases out to and thought I had come up with a way of building just one package that would take an enviroment parameter and amend config files as needed but with the mage.exe failing this is holding me up by at least 4 hours per day. In other words please please help!!

Let me know if I have missed any important info needed to help.



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close