Hi all,
Im getting a UnauthorizedAccessException when deploying a newer version of an app I have previously deployed successfully.
Have tried removing all traces of the App and re-installing, same deal.
The app is actually successfully installed and I am able to run it by using the actual exe, just not sure why the appref-ms is being installed to the framework\v2.0....... directory instead of the start menu Any ideas?
Cheers
__________________________________________________________________
Cleaned Up Deployment Log (* = Removed Info):
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfdll.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 2.0.50727.3053 (netfxsp.050727-3000)
SOURCES
Deployment url : http://*/*.Client.application
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET
Deployment Provider url : http://*/*.Client.application
Application url : http://*/Application%20Files/*.Client_1_0_0_16/*.Client.exe.manifest
Server : Microsoft-IIS/6.0
X-Powered-By : ASP.NET
IDENTITIES
Deployment Identity : *.Client.application, Version=1.0.0.16, Culture=neutral, PublicKeyToken=f08f1f6e8f3f83f3, processorArchitecture=msil
Application Identity : *.Client.exe, Version=1.0.0.16, Culture=neutral, PublicKeyToken=f08f1f6e8f3f83f3, processorArchitecture=msil, type=win32
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://*/*.Client.application resulted in exception. Following failure messages were detected:
+ Access to the path 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\* Client.appref-ms' is denied.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [11/02/2009 14:37:18] : Activation of http://*/*.Client.application has started.
* [11/02/2009 14:37:19] : Processing of deployment manifest has successfully completed.
* [11/02/2009 14:37:19] : Installation of the application has started.
* [11/02/2009 14:37:20] : Processing of application manifest has successfully completed.
* [11/02/2009 14:37:21] : Request of trust and detection of platform is complete.
* [11/02/2009 14:45:50] : Downloading of subscription dependencies is complete.
* [11/02/2009 14:45:50] : Commit of the downloaded application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [11/02/2009 14:45:52] System.UnauthorizedAccessException
- Access to the path 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\* Client.appref-ms' is denied.
- Source: mscorlib