'BizTalk 2010 Import Application triggers "Access to the path is denied" error
I have imported and stood up BizTalk 2010 installations and this is the first time I have encountered this error. Googling and searching for this in StackOverflow did not uncover anything close to what I am seeing.
When I imported a BizTalk 2010 application (that was exported from another BizTalk server -- setting up a test BizTalk environment), the logs all appear to show that the import worked until near the end...
----8<---snip snip--->8----
Updating parties and enlistments...
PerformingEndChangeRequestsWithRollBack
* Performing EndTypeChangeRequest for resource type "System.BizTalk:Assembly".
* Performing EndTypeChangeRequest for resource type "System.BizTalk:BizTalkAssembly".
* Performing EndTypeChangeRequest for resource type "System.BizTalk:BizTalkBinding".
Import Wizard[10/4/2016 4:06:52 PM]: Error in Importing Application
Import Wizard[10/4/2016 4:06:52 PM]: Access to the path is denied.
Import Wizard[10/4/2016 4:06:52 PM]: Entering Page Results
The import process for the application xyzBiztalkApplication to the group BizTalk Group failed.
The following error(s) occurred.
-Access to the path is denied.
The log does not indicate to what path the access was denied. One page that came the closest was this: UnauthorizedAccessException
Event Viewer was also not helpful. All it had was this:
Error while importing "C:\Users\BlarneyUser\Desktop\BiztalkInstall\xyzBizTalk_20161004.msi".
Access to the path is denied.
I already confirmed that BizTalk Adminstration Console was executed using "Run as Administrator" on a Windows 2012 Server, and that the user was added to the BizTalk Server Administrators group.
Finally, I whipped up a quick C# console application that probed every single folder in the C:\ drive to identify those folders that had UnauthorizedAccessException... and compared that to the other BizTalk server (from which I got the MSI) -- both were identical.
Any ideas on how to address that denied message?
Solution 1:[1]
There is an article here Access denied when deploying BizTalk solutions from Visual Studio
It sounds like you have done most of the relevant steps for a MSI rathter than Visual Studio in that article included.
- Make sure your user account is member of BizTalk Server Administrators group and also member of SSO Administrators or SSO Affiliate Administrators group. These memberships should grant you required access to the database.
However one thing to try that the article also mentions is a utility from Microsoft called Process Monitor. That helps in identifying if something else has a lock on the files. It is part of the Windows Sysinternals suite.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dijkgraaf |
