• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 387
  • Last Modified:

Application launch error after publish from Vista Machine

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
janwillem2
Asked:
janwillem2
  • 4
  • 2
1 Solution
 
DhaestCommented:
Did you install the correct framework ?
0
 
janwillem2Author Commented:
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
 
janwillem2Author Commented:
that is when running the compiled exe. Not the published solution.

0
Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

 
DhaestCommented:
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
 
janwillem2Author Commented:
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
 
janwillem2Author Commented:
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

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now