Cannot run XBAP by double-clicking
I have an XBAP project that runs fine in Visual Studio, but when I double-click the XBAP file it generates, I get the error:
Application Deployment Error
The application cannot be deployed. Contact
the application publisher for assistance.
This is the error log:
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.1318
System.Deployment.dll : 2.0.50727.1318 (redbitsb1.050727-1300)
mscorwks.dll : 2.0.50727.1318 (redbitsb1.050727-1300)
dfshim.dll : 2.0.50727.1318 (redbitsb1.050727-1300)
SOURCES
Deployment url :(removed)/Test.xbap
Application url :(removed)/Test.exe.manifest
IDENTITIES
Deployment Identity : Test.xbap, Version=1.0.0.1, Culture=neutral, PublicKeyToken=8dde26a59990219c, processorArchitecture=msil
Application Identity : Test.exe, Version=1.0.0.1, Culture=neutral, PublicKeyToken=8dde26a59990219c, processorArchitecture=msil, type=win32
APPLICATION SUMMARY
* Online only application.
* Browser-hosted application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* An exception occurred while downloading the application. Following failure messages were detected:
+ Exception occurred during store operation.
+ Value does not fall within the expected range.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
No phase information is available.
ERROR DETAILS
Following errors were detected during this operation.
* [6/3/2007 7:28:49 PM] System.Deployment.Application.DeploymentException (ComponentStore)
- Exception occurred during store operation.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ComponentStore.SubmitStoreTransaction(StoreTransactionContext storeTxn, SubscriptionState subState)
at System.Deployment.Application.ComponentStore.SubmitStoreTransactionCheckQuota(StoreTransactionContext storeTxn, SubscriptionState subState)
at System.Deployment.Application.ComponentStore.CommitApplication(SubscriptionState subState, CommitApplicationParams commitParams)
at System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState& subState, CommitApplicationParams commitParams)
at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking)
at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker()
Inner Exception
System.ArgumentException
- Value does not fall within the expected range.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IStore.Transact(IntPtr cOperation, StoreTransactionOperation[] rgOperations, UInt32[] rgDispositions, Int32[] rgResults)
at System.Deployment.Internal.Isolation.Store.Transact(StoreTransactionOperation[] operations, UInt32[] rgDispositions, Int32[] rgResults)
at System.Deployment.Application.ComponentStore.SubmitStoreTransaction(StoreTransactionContext storeTxn, SubscriptionState subState)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Any assistance is appreciated.

