After setting up a SCCM 2012 primary site underneath a central site, when firing up the console on the primary site (even 24 hours later) I get the following error: “Your Configuration Manager console is in read-only mode while this site completes tasks related to maintenance mode. After these tasks are complete you must reconnect you Configuration Manager console before you can edit or create new objects.”
Checking the Database Replication Status shows that the link is being configured:
All servers run Windows Server 2008 R2 Ent SP1. Both the central and primary sites are configured to use separate SQL instances on a remote SQL 2008 R2 SP1 CU6 server.
On the primary site server, I needed to run setup.exe from c:program filesMicrosoft Configuration Managerbinx64 and select ‘perform site maintenance or reset this site’, the ‘modify SQL server configuration’. and change the SQL Server Service Broker (SSB) port to an unused port that is something other than the default (4022 is default). I used 4122.
Click Next and finish the setup wizard. Monitor the rcmctrl.log and sitecomp.log files for activity over the next 20 minutes and you will see reconfugration happening, once this is complete you will have healthy Database Replication and you should be able to open your SCCM console as normal.
I needed to quickly identify all of the packages in a SCCM environment that had been updated since their original source (version 1) was distributed, along with the date this occured. The following simple SQL query formed a nice reports. This displays all packages Source Date and Version, ordered by Source Date where sourceversion is greater than 1 (updated since original content was distributed):
select PackageID,Name,PkgSourcePath,SourceDate,SourceVersion from v_Package where SourceVersion > 1 order by SourceDate DESC
When troubleshooting a package that wasn’t transferring from a SCCM DP to a BDP today, I realised that the filename had a plus (+) sign in it, eg BrushTip_+Round 10.PspScript. Bitsadmin reported:
ERROR CODE: 0x80190194 – The requested URL does not exist on the server.ERROR CONTEXT: 0x00000005 – The error occurred while the remote file was being processed.
The problem here is that with IIS requested URLs containing unencoded “+” characters in the path (not querystring) are rejected by default. Since we couldn’t rename the file, the workaround was to disable this validation by setting the allowDoubleEscaping attribute in the system.webServer/security/requestFiltering configuration section in the application’s web.config. Be aware that doing this may make your application more vulnerable to malicious URLs.
<requestFiltering allowDoubleEscaping=”true” />
See http://www.ifinity.com.au/Blog/entryid/60/404-error-in-iis-7-when-using-a-url-with-a-plus-sign-in-the-path for more info.
A great collection of Powershell scripts for System Center products is located here – http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/60930/Default.aspx
I noticed this in the SCCM 2012 product documentation update today…
Microsoft Background Intelligent Transfer Service (BITS) is required to allow throttled data transfers between the client computer and System Center 2012 Configuration Manager site systems. BITS is not automatically downloaded during client installation. Most operating systems include BITS, but if they do not (for example, Windows Server 2003 R2 SP2), you must install BITS before you install the System Center 2012 Configuration Manager client.
I think this will catch out a few people…. a good one to remember…
I think the fact that the client deployment in System Center 2012 Configuration Manager does not include BITS will catch out a few people, especially since the documentation puts this point under the ‘Dependencies External to Configuration Manager and Automatically Downloaded During Installation’ section….
See Prerequisites for Client Deployment in Configuration Manager – http://technet.microsoft.com/en-us/library/gg682042.aspx
If you want to pre-download the SCCM 2012 Prerequisite Downloads, simply run SMSSETUPBINX64setupdl.exe “targetdir” from the SCCM 2012 install source on an internet connected machine. This will download about 406 file totalling just under 400MB in size.