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
Solved

Application launch error after publish from Vista Machine

Posted on 2008-10-31
6
379 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
  • 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
The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

789 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