Skip to main content
4-Participant
December 20, 2022
Solved

installing windchill 12.1 fails to create mdf file

  • December 20, 2022
  • 8 replies
  • 2956 views

Getting this error installing 12.1: CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'c:\Program Files\Microsoft SQL Server\/windchill12_1.mdf'

Best answer by HelesicPetr

Hi @apriori-it 

Have you ever read instalation guide? 

HelesicPetr_0-1671641651478.png

 

The PSI do not support to install your second Windchill DB to the existing one. 

 

I can imagine that you install it to an another instance and move the new database to existing one after Windchill is installed. but I can not recommand it.  

 

PetrH

8 replies

16-Pearl
December 21, 2022

This looks like the user running the SCU does not have permissions. Similar to below support case. Make sure to run as administrator.

https://www.ptc.com/en/support/article/CS304199

4-Participant
December 21, 2022

Thank you @SWeiler_9940261  But the user has full permissions on the folder and is able to create/add files to this location manually. I wonder if that "\/" in the path is the cause of an error. But can't find to get this path corrected.

HelesicPetr
22-Sapphire II
December 21, 2022

@apriori-it 

it does not matter that user has a permission.

You need to run it as administrator .

 

Also check the database service account

check if the account has access that is used for running database  

 

Today I has experience that the service account is different then usual and it needs to be changed.

 

PetrH