I am attempting to generate my offline update packs and running into errors when doing so. I am going to try and give as much detail as possible below on my current situation.
Current offline site info:
- Version: 2403
- Console version: 5.2403.1171.1000
- Site version: 5.0.9128.1000
- ServiceConnectionTool executable version: 5.0.9128.1007
- ServiceConnectionTool executable location: C:\Program Files\Microsoft Configuration Manager\cd.latest\SMSSETUP\TOOLS\ServiceConnectionTool\
***Note*** - Within the ServiceConnectionTool folder are 10 total files (baseutil.dll, Microsoft.ConfigurationManager.CabinetUtils.dll, Microsoft.ConfigurationManager.DmpConnector.Common.dll, Microsoft.ConfigurationManager.DmpConnector.Connector.dll, Microsoft.ConfigurationManager.DmpConnector.DataUpload.dll, Microsoft.ConfigurationManager.DmpConnector.MessageDownload.dll, Microsoft.ConfigurationManager.ManagedBase.dll, ServiceConnectionTool.exe, ServiceConnectionTool.log, and setupdl.exe)
Following majority of the guides online, I created my usagedata.cab file by running the following command in an Administrator command prompt, I placed the cab file in the Temp directory for easy access and transfer to an internet connected system:
> ServiceConntectionTool.exe -prepare -usagedatadest C:\Temp\usagedata.cab
I checked the ServiceConnectionTool.log file to ensure that there wasn't any errors. It said that the Telemetry export step is running, then almost immediately followed up with Telemetry Export step finished. I assumed that this meant there weren't any errors and the cab file was good to go. usagedata.cab file was 74KB in size.
Because I don't have an SCCM server set up on an internet connected system, I copied over the original ServiceConnectionTool.exe along with the cab file that was created by the above command. I then transferred the 2 files onto my internet connected system and attempted to run the following command from an Administrator command prompt:
> mkdir C:\Temp\UpdatePacks
> ServiceConnectionTool.exe -connect -usagedatasrc C:\Temp -updatepackdest C:\Temp\UpdatePacks
This then returns the following error:
Uploading and downloading data is in progress. Please wait...
ERROR: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ConfigurationManager.CabinetUtils, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.ConfigurationManager.CabinetUtils, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at OfflineConnection.Telemetry.connect(String pathfolder, String ProxyserverUri, String ProxyuserName)
at OfflineConnection.Program.Main(String[] args)
I also attempted to run the previous command with the -downloadsiteversion flag between -connect and -usagedatasrc and received the same error.
Current offline site info:
- Version: 2403
- Console version: 5.2403.1171.1000
- Site version: 5.0.9128.1000
- ServiceConnectionTool executable version: 5.0.9128.1007
- ServiceConnectionTool executable location: C:\Program Files\Microsoft Configuration Manager\cd.latest\SMSSETUP\TOOLS\ServiceConnectionTool\
***Note*** - Within the ServiceConnectionTool folder are 10 total files (baseutil.dll, Microsoft.ConfigurationManager.CabinetUtils.dll, Microsoft.ConfigurationManager.DmpConnector.Common.dll, Microsoft.ConfigurationManager.DmpConnector.Connector.dll, Microsoft.ConfigurationManager.DmpConnector.DataUpload.dll, Microsoft.ConfigurationManager.DmpConnector.MessageDownload.dll, Microsoft.ConfigurationManager.ManagedBase.dll, ServiceConnectionTool.exe, ServiceConnectionTool.log, and setupdl.exe)
Following majority of the guides online, I created my usagedata.cab file by running the following command in an Administrator command prompt, I placed the cab file in the Temp directory for easy access and transfer to an internet connected system:
> ServiceConntectionTool.exe -prepare -usagedatadest C:\Temp\usagedata.cab
I checked the ServiceConnectionTool.log file to ensure that there wasn't any errors. It said that the Telemetry export step is running, then almost immediately followed up with Telemetry Export step finished. I assumed that this meant there weren't any errors and the cab file was good to go. usagedata.cab file was 74KB in size.
Because I don't have an SCCM server set up on an internet connected system, I copied over the original ServiceConnectionTool.exe along with the cab file that was created by the above command. I then transferred the 2 files onto my internet connected system and attempted to run the following command from an Administrator command prompt:
> mkdir C:\Temp\UpdatePacks
> ServiceConnectionTool.exe -connect -usagedatasrc C:\Temp -updatepackdest C:\Temp\UpdatePacks
This then returns the following error:
Uploading and downloading data is in progress. Please wait...
ERROR: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ConfigurationManager.CabinetUtils, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.ConfigurationManager.CabinetUtils, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at OfflineConnection.Telemetry.connect(String pathfolder, String ProxyserverUri, String ProxyuserName)
at OfflineConnection.Program.Main(String[] args)
I also attempted to run the previous command with the -downloadsiteversion flag between -connect and -usagedatasrc and received the same error.