Error: Unable to activate the application

Hello to all.

When I try to install the application, I get the error:
"Unable to activate the application. Please contact the application publisher".

I get this error on machines with Windows 98. With Windows XP everything works OK.

I useVisual Studio.NET 2005 BETA 2.

Thanks for answers.

Bojan



Answer this question

Error: Unable to activate the application

  • Jeff Abraham

    Ok, here we go:

    PLATFORM VERSION INFO
        Windows             : 4.10.67766446.0 (Win32Windows)
        Common Language Runtime     : 2.0.50215.44
        System.Deployment.dll         : 2.0.50215.44 (beta2.050215-4400)
        mscorwks.dll             : 2.0.50215.44 (beta2.050215-4400)
        dfdll.dll             : 8.0.50215.44 (beta2.050215-4400)
        dfshim.dll             : 2.0.50531.0 (lab22dev.050531-0000)

    SOURCES
        Deployment url            : http://adria4/PublishSelitev/Selitev.application
                            Server        : Microsoft-IIS/5.0
                            X-Powered-By    : ASP.NET
        Deployment Provider url        : http://adria4/PublishSelitev/Selitev.application

    IDENTITIES
        Deployment Identity        : Selitev.application, Version=1.0.0.59, Culture=neutral, PublicKeyToken=9278471832f30c8a, processorArchitecture=msil

    APPLICATION SUMMARY
        * Installable application.

    ERROR SUMMARY
        Below is a summary of the errors, details of these errors are listed later in the log.
        * Activation of http://adria4/PublishSelitev/Selitev.application resulted in exception. Following failure messages were detected:
            + Error HRESULT E_FAIL has been returned from a call to a COM component.

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
        No transaction error was detected.

    WARNINGS
        There were no warnings during this operation.

    OPERATION PROGRESS STATUS
        * [13 jul 2005 07:55:29 +02:00] : Activation of http://adria4/PublishSelitev/Selitev.application has started.
        * [13 jul 2005 07:55:41 +02:00] : Processing of deployment manifest has successfully completed.
        * [13 jul 2005 07:55:41 +02:00] : Installation of the application has started.

    ERROR DETAILS
        Following errors were detected during this operation.
        * [13 jul 2005 07:55:41 +02:00] System.Runtime.InteropServices.COMException
            - Error HRESULT E_FAIL has been returned from a call to a COM component.
            - Source: System.Deployment
            - Stack trace:
                at System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
                at System.Deployment.Internal.Isolation.Store.GetAssemblyManifest(UInt32 Flags, IDefinitionIdentity DefinitionIdentity)
                at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
                at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
                at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState subState, ActivationDescription actDesc)
                at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
                at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

    COMPONENT STORE TRANSACTION DETAILS
        No transaction information is available.




    TIA, Bojan


  • dinzana

    Can you please post the full exception. Click on the details button and you will get that.


  • mNilysg

    Hi Bojan,

    I also got this error once, and could not find any solution, a simple reinstall of the vs2005 worked for me Smile. But hold on, maybe someone has found a solution to this.

    Kunal

  • Error: Unable to activate the application