Scenario:
Fresh Data platform install for version 5.5.22
Data Platform configuration wizard fails on Create BDNA Schema.
Error occurred when executing mssql_CreateDatabase.sql
Error in setup.log:
ERROR Read script file error:
Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: MODIFY FILE failed. Specified size is less than or equal to current size.
Cause:
The script uses the ALTER DATABASE with MODIFY FILE command which can only make a file size bigger.
If a smaller size is encountered the above error is caused.
a)If "BDNA" and "BDNA_PUBLISH" already exists with a default size greater than what is specified in the script, this can give the above error.
b)If the model database in SQL server is set to a size greater than what is specified in the script, this can give the above error.
Resolution:
1)If its a fresh install - Drop existing "BDNA" and "BDNA_PUBLISH" database.
2)Close the config wizard if still opened.
3)In file explorer browse to C:\Program Files\BDNA\Data Platform\Database\SQLServer\Script or the equivalent location in your system.
4)Open the file mssql_CreateDatabase in edit mode and find the following code:
Original Code snippet:
"ALTER DATABASE [${BMS_CATALOG_NAME}] MODIFY FILE(Name = ${BMS_CATALOG_NAME}, SIZE =5GB , FILEGROWTH=200MB);
ALTER DATABASE [${BMS_CATALOG_NAME}] MODIFY FILE(Name = ${BMS_CATALOG_NAME}_LOG, SIZE =50MB , FILEGROWTH=50MB); "
Now replace or edit the above code to match the below:
ALTER DATABASE [${BMS_CATALOG_NAME}] MODIFY FILE(Name = ${BMS_CATALOG_NAME}, SIZE =350MB , FILEGROWTH=350MB);
ALTER DATABASE [${BMS_CATALOG_NAME}] MODIFY FILE(Name = ${BMS_CATALOG_NAME}_LOG, SIZE =250MB , FILEGROWTH=250MB);
5)Validate the Model database size. The modeldev and modellog size should be less than what is being used in the script. If it is not, you may either decrease the initial size in the model database or increase the size in the mssql_CreateDatabase.sql script.
Related Articles
Data Platform Normalize configuration wizard fails to connect to SQL 10Number of Views "Cannot Load TAPI website" error when running Data Platform Configuration Wizard 77Number of Views User Console Configuration Wizard Fails at “Configure Flexera User Console” Step 4Number of Views Connect attempt to BDNA Data Platform service failed 16Number of Views Snow Data Update Job fails with the error "Could not complete cursor operation because the table schema changed after the … 70Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago