Online Application Problem
Hi,
I have a win form application which deploys a COM DLL on the client machine, registers it and calls a function from it. The COM DLL was in my bin folder of the application and i had added a reference to it to generate the interop dll. Then i had copied the COM DLL to the corresponding version folder in the virtual directory where i had publised the application. Then I added these files to the manifest using the mage tool and signed it. Signed and updated the deployment manifest also. All this works fine when my installation type is "The application is available offline also".
Now I tried it for application available online only, and i get the following error. Couldnt find much info on this exception in MSDN "Exception committing an application into store." :
Windows version: 5.1
system.deployment.dll (in C:\WINDOWS\Microsoft.NET\Framework\v2.0.41115) version: 2.0.41115.19 (lab23df.041115-1900)
mscorwks.dll version: 2.0.41115.19 (lab23df.041115-1900)
dfdll.dll version: 8.0.41115.19 (lab23df.041115-1900)
Subscription Url:https://kunal/TestCom/TestCom.application
Subscription Identity: TestCom.application, Culture=neutral, PublicKeyToken=cc5030b4672eafb2, processorArchitecture=msil
(6/30/2005 1:19:00 PM) Processing of deployment manifest has successfully completed.
(6/30/2005 1:19:02 PM) Downloading of subscription dependencies is complete.
(6/30/2005 1:19:11 PM) Following dispositions are returned by last Transaction:1,2,1,0,1,1,1,1,2,0,0,
(6/30/2005 1:19:11 PM) Subscribe application:
A system restore point for this application could not be set. Reason of failure is: The sequence number is invalid..
(6/30/2005 1:19:11 PM) Activate manifest:
Activation ofhttps://kunal/TestCom/TestCom.application resulted in exception.
Type: System.Deployment.ComponentStoreException
Exception committing an application into store.
Source: System.Deployment
Stack trace: at System.Deployment.ComponentStore.CommitApplication(SubscriptionState subState, CommitApplicationParams commitParams)
at System.Deployment.SubscriptionStore.CommitApplication(SubscriptionState subState, CommitApplicationParams commitParams)
at System.Deployment.ApplicationActivator.InstallApplication(SubscriptionState subState, ActivationDescription actDesc)
at System.Deployment.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
at System.Deployment.ApplicationActivator.ActivateDeploymentWorker(Object state)
Inner Exception
Type: System.IO.FileNotFoundException
Exception from HRESULT 0x80070002 The system cannot find the file specified.
Source: System.Deployment
Stack trace: at System.Deployment.Internal.Isolation.IStore.LockApplicationPath(UInt32 Flags, IDefinitionAppId ApId, IntPtr& Cookie)
at System.Deployment.Internal.Isolation.Store.LockApplicationPath(IDefinitionAppId app)
at System.Deployment.ComponentStore.GetApplicationPath(DefinitionAppId appId)
at System.Deployment.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
at System.Deployment.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
at System.Deployment.ComponentStore.CollectOnlineApps()
at System.Deployment.ComponentStore.ScavengeOnlineApps(SubscriptionState subState, CommitApplicationParams commitParams)
at System.Deployment.ComponentStore.CommitApplication(SubscriptionState subState, CommitApplicationParams commitParams)
Thanks,
Kunal

