Solved

File associations are not allowed in deployment manifest. error when deploying via ClickOnce

Posted on 2010-11-15
5
616 Views
Last Modified: 2013-12-17
Ok all...

When deploying a clickonce app using vs2008 over the .net 3.5 framework, I have added the following xml to the app manifest

(??? are used as representations, not the actual letters I use)

<fileAssociation xmlns="urn:schemas-microsoft-com:clickonce.v1"
   extension = ".???"
   description = "??? Document"
   progid = "???.Document"
   defaultIcon="???.ico"
/>

as described in the MSDN.

When I attempt to deploy the app on a test machine the following error occurs during install:

"Cannot Continue, the Application is Improperly Formatted.  Contact the application vendor for assistance."

reading through the details in the log we find:
File associations are not allowed in deployment manifest.


I should add that this is a full trust application, and we are currently using a test certificate.

According to MSDN this should be working.  Any idea why it is not?
   
0
Comment
Question by:jasonstreet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 3

Accepted Solution

by:
nhenny2009 earned 400 total points
ID: 34137311
Sounds like you added this info to the deployment manifest and not the app.manifest
0
 
LVL 32

Assisted Solution

by:Erick37
Erick37 earned 100 total points
ID: 34137367
Is this how you added the association?

How To: Add File Associations to a ClickOnce Application
http://blogs.msdn.com/b/mwade/archive/2008/01/30/how-to-add-file-associations-to-a-clickonce-application.aspx
0
 

Author Comment

by:jasonstreet
ID: 34137374
Ok...I'm assuming that I'll find the deployment manifest in the application folder...
0
 
LVL 3

Expert Comment

by:nhenny2009
ID: 34137395
mind attaching the deployment error log?
0
 

Author Comment

by:jasonstreet
ID: 34137460
Erick,
I started there, but went on to the actual MSDN page

http://msdn.microsoft.com/en-us/library/bb882599.aspx
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video shows how use content aware, what it’s used for, and when to use it over other tools.
Viewers will learn how to use the Hootsuite Dashboard.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question