--- title: "Publish Module To Server" slug: "publish-module-to-server" tags: ["module", "Server", "Instance"] updated: 2022-12-21T15:04:10Z published: 2022-12-21T15:04:11Z canonical: "documentation.decisions.com/publish-module-to-server" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Publish Module To Server | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.0.0 | | **Location** | System > Advanced > Import-Export | The **Publish Module To Server** step allows a user to publish a module to the Decisions instance. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Confirm Configuration | Allows the user to determine if the configurations are valid | Boolean | | Instance Name | Name of the Instance | String | | Module Name | Name of the Module to publish to server | String | | Password | The password of the user | String | | Server Address | The server address | String | | User Id | Id of the user account | String | ## #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1671568710085.png) --- ## Common Errors ### Value cannot be null If an input value is null, an error will occur. To correct this, ensure that each input is correctly mapped or a value is entered. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Publish Module To Server 1[PublishModuleToServer] in flow [Flow 2]: Exception invoking method PublishModuleToServer on class ImportExportSteps ---> DecisionsFramework.LoggedException: Exception invoking method PublishModuleToServer on class ImportExportSteps ---> System.ArgumentNullException: Value cannot be null. (Parameter 'input' at System.Text.RegularExpressions.ThrowHelper.ThrowArgumentNullException(ExceptionArgument arg at System.Text.RegularExpressions.Regex.Replace(String input, String replacement at DecisionsServiceHost.Modules.ModulesHelper.RemoveReservedFileChars(String filename at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.ExportModule(String moduleName, Boolean onlyChanged at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.ExportModuleIntoZipFileReturnPath(String moduleName at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.ExportModuleIntoZip(String moduleName at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.PublishModuleToServer(String moduleName, String serverAddress, String instanceName, String userId, String password, Boolean confirmConfiguration) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` --- ### System.Exception: sourcePath: 'C:\....' folder not found If the module name provided is not found, an error will occur. To correct this, ensure that the folder exists in the Instance. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Publish Module To Server 1[PublishModuleToServer] in flow [Flow 2]: Exception invoking method PublishModuleToServer on class ImportExportSteps ---> DecisionsFramework.LoggedException: Exception invoking method PublishModuleToServer on class ImportExportSteps ---> System.ArgumentNullException: Value cannot be null. (Parameter 'input' at System.Text.RegularExpressions.ThrowHelper.ThrowArgumentNullException(ExceptionArgument arg at System.Text.RegularExpressions.Regex.Replace(String input, String replacement at DecisionsServiceHost.Modules.ModulesHelper.RemoveReservedFileChars(String filename at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.ExportModule(String moduleName, Boolean onlyChanged at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.ExportModuleIntoZipFileReturnPath(String moduleName at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.ExportModuleIntoZip(String moduleName at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.PublishModuleToServer(String moduleName, String serverAddress, String instanceName, String userId, String password, Boolean confirmConfiguration) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` ## Related - [Get Server Name](/get-server-name.md) - [Publish File To Server](/publish-file-to-server.md) - [Send Email with Custom Server](/send-email-with-custom-server.md) - [Export Module](/export-module.md) - [Get All Module Names](/get-all-module-names.md) - [Attach to Module](/attach-to-module.md) - [Zip Directory For Module](/zip-directory-for-module.md)