Solved

Application launch error after publish from Vista Machine

Posted on 2008-10-31
6
374 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now