?
Solved

Application launch error after publish from Vista Machine

Posted on 2008-10-31
6
Medium Priority
?
385 Views
Last Modified: 2013-11-26
Yesterday i've installed Windows Vista. I've been working on a project for some time in VS2008 on a windows XP machine. I've published an application with this machine and everything kept running fine. Now I opend the sollution under windows Vista and changed nothing. Recompiled and published it.

Now every machine including mine gets an error when running the setup. How is this even possible when I've changed absolutly NOTHING?

included the error log i get when clicking on details.

It's dutch so if you got anny questions just ask. But most of the things are in english so it'll explain itselve.
INFO PLATFORMVERSIE
	Windows 			: 6.0.6001.65536 (Win32NT)
	Common Language Runtime 	: 2.0.50727.1434
	System.Deployment.dll 		: 2.0.50727.1434 (REDBITS.050727-1400)
	mscorwks.dll 			: 2.0.50727.1434 (REDBITS.050727-1400)
	dfdll.dll 			: 2.0.50727.1434 (REDBITS.050727-1400)
	dfshim.dll 			: 2.0.50727.1434 (REDBITS.050727-1400)
 
BRONNEN
	Implementatie-url			: file://powercast01/install$/Toetskaarten/Kempel.application
 
IDENTITEITEN
	Implementatie-identiteit		: Kempel.application, Version=1.0.14.60, Culture=neutral, PublicKeyToken=74373d8b3be1f755, processorArchitecture=x86
 
TOEPASSINGSSAMENVATTING
	* Installeerbare toepassing.
 
FOUTSAMENVATTING
	Hieronder ziet u een overzicht van de fouten. Verderop in het logboek vindt u nadere details over deze fouten.
	* Activering van \\powercast01\install$\Toetskaarten\Kempel.application heeft tot een uitzondering geleid. De volgende berichten voor mislukte acties zijn aangetroffen:
		+ De waarde valt niet binnen het verwachte bereik.
 
SAMENVATTING MISLUKTE TRANSACTIES ONDERDELENARCHIEF
	Er zijn geen transactiefouten aangetroffen.
 
WAARSCHUWINGEN
	Er werden geen waarschuwingen weergegeven bij deze bewerking.
 
VOORTGANGSSTATUS BEWERKING
	* [31-10-2008 13:10:51] : De activering van \\powercast01\install$\Toetskaarten\Kempel.application is gestart.
	* [31-10-2008 13:10:51] : Verwerking van het implementatiemanifest is voltooid.
 
FOUTDETAILS
	De volgende fouten zijn aangetroffen bij deze bewerking.
	* [31-10-2008 13:10:51] System.ArgumentException
		- De waarde valt niet binnen het verwachte bereik.
		- Bron: System.Deployment
		- Stack-tracering:
			bij System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation)
			bij System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, Uri activationUri, Boolean isActivatingExtension)
			bij System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, Uri activationUri, Boolean isActivatingExtension)
			bij System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, Uri activationUri, Boolean isActivatingExtension)
			bij System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
			bij System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
 
TRANSACTIEDETAILS ONDERDELENARCHIEF
	* Transactie bij [31-10-2008 13:10:51]
		+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
			- Status: Set
			- HRESULT: 0x0
		+ System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)
			- HRESULT: 0x0

Open in new window

0
Comment
Question by:janwillem2
[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
  • 4
  • 2
6 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 22849306
Did you install the correct framework ?
0
 

Author Comment

by:janwillem2
ID: 22849345
On all machines the 3.5 framework is installed. Also on mine and on the others. When I run the project in VS it runs. But when I run it from the share I get the error.
0
 

Author Comment

by:janwillem2
ID: 22849367
that is when running the compiled exe. Not the published solution.

0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 53

Expert Comment

by:Dhaest
ID: 22849379
If I understand you correctly:
You are trying to run the compiled exe from a share (the version in debug-folder) -> not succesfull
You are trying to run the installed application -> successfull
0
 

Author Comment

by:janwillem2
ID: 22849455
No:

If I:
-Local: Run the compiled EXE: Everything works
-From share: Run the compiled EXE: I get an error
-From share: Run the published file: I get the error included above

At first when I created the application on a XP machine with VS2008 everything worked.
Now I'm running vista. compiled and published excact the same application. It does not work.

So everything is excactly the same. Only i'm compiling and publishing from Vista.

I recompiled and published the project from an XP machine. And everything works fine again.

So why can't I publish a project compiled from a Vista machine?

The vista machine also has .NET 3.5 framework installed. As does the XP machine.
0
 

Accepted Solution

by:
janwillem2 earned 0 total points
ID: 22865769
I seemed that for some reason something is changed in the clickonce app when redistributing on from vista. Deleteing the C:\application data\username\application data\appdata\  folder (or something simulair) solved the problem.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

801 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