Install CrudeSync
- Last UpdatedAug 14, 2026
- 4 minute read
In this section you will learn: How to set up the CrudeSync web application.
The CrudeSync files are contained in a folder called <date>_CrudeSyncYml_<VersionNumber>.<build>, for example 20240404_CrudeSyncYml_2024.2.24095.5_2024.2. This folder is referred to as <CrudeSyncFolder> in the remainder of this manual.
-
Copy the <CrudeSyncFolder> folder into a suitable location, for example \Web\SpiralSuite\CrudeSync.
-
Extract the CrudeSyncCore.zip package in the <CrudeSyncFolder> folder. These instructions assume you extract the package into a CrudeSyncCore subfolder.
-
Open a command prompt or PowerShell console in the <CrudeSyncFolder>\DatabaseUpgrade\net8.0 folder and run the following command, replacing <ServerName> with the location of your database server. If you have chosen not to enable SQL Server TLS, add Encrypt=False; to the ConnectionString string.
Spiral.DatabaseUpgrade.Console.exe AlterDBUpgrade /AlterDBPath=".\Scripts" /ConnectionString="Integrated Security=SSPI; Persist Security Info=False; Initial Catalog=CrudeSync; Data Source=<ServerName>;" /FirstAlterDBToRun=AlterDb70.sql
Note that <ServerName> should include the instance, if appropriate. Make sure to escape any backslashes: for example, write Data Source=.\\SQL2017 instead of Data Source=.\SQL2017. Also, beware of line breaks in the printed version of this document: the above is one command on a single line.
-
Open Internet Information Services (IIS) Manager. At the root level, open Feature Delegation:
-
If needed, modify the setting for Authentication - Windows from Read Only to Read/Write:
-
Using the IIS Manager, browse to <ServerName>\Application Pools.
-
Create a new CrudeSync Application Pool:
-
Choose No Managed Code as .NET CLR version.
-
Choose Integrated as Managed pipeline mode.

-
-
Close the Add Application Pool dialog box and right-click on the CrudeSync application pool you just created. Choose Advanced Settings. The Advanced Settings dialog box opens.
-
Click the Identity entry under Process Model. Click the ellipsis button (
) that appears at the end of the row. The Application Pool Identity dialog box opens.
-
From the Built-in account list, select NetworkService. Click OK.
-
Back in the IIS Manager, right-click on Default Web Site under Sites and select Add Application from the context menu.
-
Enter CrudeSync as the Alias.
-
Select the CrudeSync Application Pool.

-
Set the Physical path to point to the CrudeSync folder (D:\Web\SpiralSuite\CrudeSync\<CrudeSyncFolder>\CrudeSyncCore).
-
Click OK to close the Add Application dialog box.
-
Select the CrudeSync web application and double-click the Authentication icon.

-
Set Windows Authentication to Enabled and all other authentication types to Disabled.
-
Right-click on CrudeSync under Default Web Site and choose Edit Permissions. The CrudeSyncCore Properties dialog box opens. Set the NTFS permissions of the folder as follows:
-
Select the Security tab, click the Edit button and click Add.
-
Click Locations, select the host server name then click OK.
-
Enter IIS Apppool\CrudeSync and click Check Names.
-
Click OK.
-
Grant the Application Pool Identity (in this case NetworkService) modify permission on the folder.
-
-
Create an appSettings.Production.json file in the same folder as appsettings.json, with the following contents:
{
"ApplicationSettings": {
"SpiralHomePageUrl": "/assay/",
"NativeConnection": {
"ConnectionString": "Provider=MSOLEDBSQL;Data Source=<ServerName>;Initial Catalog=CrudeSync;Integrated Security=SSPI;"
},
"NetConnection": {
"ConnectionString": "Data Source=<ServerName>;Initial Catalog=CrudeSync;Integrated Security=SSPI;"
},
"Root": "/CrudeSync",
"UserAuthType": "Windows"
},
"AdminSettings": {
"Administrators": [
"DOMAIN\\user1",
"DOMAIN\\user2"
]
}
}If you have chosen not to enable SQL Server TLS, add Encrypt=False; to the ConnectionString strings.
Note that <ServerName> should include the instance, if appropriate. Make sure to escape any backslashes: for example, write Data Source=.\\SQL2017 instead of Data Source=.\SQL2017. In the Administrators section enter at least one user as administrator.
Also, beware of line breaks in the printed version of this document: the strings between double quotes must not have any line breaks. Note that Initial Catalog is two words separated by a space.
-
Browse to http://localhost/CrudeSync. You should see the following screen if correctly configured:

-
Browse to the CrudeSync URL from another machine using the external URL. You should see the same screen as before if correctly configured.
Note: Additionally, you can restrict the list of users with access to the CrudeSync web service through modification of NTFS permissions, or with the Authorization Rules feature of IIS.
-
Select the CrudeSync web application.
-
Open the Authorization Rules feature in IIS.

-
Remove all existing rules.
-
Right-click and choose Add allow rule.
-
Select Specified roles or user groups.
-
Enter the name of an Active Directory group containing the required users accounts.
-
Click OK.
