"Application cannot be started. Contact the application vendor"

I built this application on my development machine, then deployed it to
my server(using the publishing option). Machine B can install and run it fine. Machine A gives the
following Message Box after installation
"Application cannot be started. Contact the application vendor"
im using windows 7, i also tried that on windows vista!
LVL 4
asfahaniAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

grishavCommented:
Try this link:
http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/57f09a43-8354-42fe-9e74-af6eb157a5b5

If it doesn't help, try to post the detailed error (you have an option to see the details in the messagebox you got).
Good luck
0
asfahaniAuthor Commented:
Thanks for the help, i deleted the 2.0 folder as they proposed (maybe this solution is for windows xp and vista) but still the problem resists.. this is the error log i recieve when i click details:



PLATFORM VERSION INFO
      Windows                   : 6.1.7600.0 (Win32NT)
      Common Language Runtime       : 4.0.30319.1
      System.Deployment.dll             : 4.0.30319.1 (RTMRel.030319-0100)
      clr.dll                   : 4.0.30319.1 (RTMRel.030319-0100)
      dfdll.dll                   : 4.0.30319.1 (RTMRel.030319-0100)
      dfshim.dll                   : 4.0.31106.0 (Main.031106-0000)

SOURCES
      Deployment url                  : file:///C:/Users/mohamed.asfahani/AppData/Roaming/Microsoft/Windows/Start%20Menu/Programs/Doodie%20Asfahani/Pussy.appref-ms%7C
                                    Server            : Microsoft-IIS/5.1
      Deployment Provider url            : http://192.168.1.177/UpdateTest/UpdateTest.application

ERROR SUMMARY
      Below is a summary of the errors, details of these errors are listed later in the log.
      * Activation of C:\Users\mohamed.asfahani\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Doodie Asfahani\Pussy.appref-ms| resulted in exception. Following failure messages were detected:
            + The requested operation requires elevation. (Exception from HRESULT: 0x800702E4)

COMPONENT STORE TRANSACTION FAILURE SUMMARY
      No transaction error was detected.

WARNINGS
      There were no warnings during this operation.

OPERATION PROGRESS STATUS
      * [4/4/2011 4:54:07 PM] : Activation of C:\Users\mohamed.asfahani\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Doodie Asfahani\Pussy.appref-ms| has started.
      * [4/4/2011 4:54:07 PM] : Performing necessary update check as specified by the deployment.

ERROR DETAILS
      Following errors were detected during this operation.
      * [4/4/2011 4:54:07 PM] System.Runtime.InteropServices.COMException
            - The requested operation requires elevation. (Exception from HRESULT: 0x800702E4)
            - Source: System.Deployment
            - Stack trace:
                  at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation)
                  at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
                  at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
                  at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter)
                  at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
                  at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
                  at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

COMPONENT STORE TRANSACTION DETAILS
      No transaction information is available.
0
grishavCommented:
"The requested operation requires elevation" error probably means that you can try to re-run it as administrator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.