1

Resolved

MarshalPatchProperties_PublishP

description

Getting the error "MarshalPatchProperties_PublishP: Error: OcaSetProperty(PublishPatchARPMaschine): property name should be no longer than 20 chars - right after installating the binaries.

I assume this is because some of the managed accounts are longer than 20 characters.

file attachments

comments

brianlala wrote Mar 18, 2013 at 3:29 AM

Account names in the DOMAIN\accountname format actually have a 22-character limitation. So if your full account name is __AccountNameIsLongerThan22Chars@domain.com_, then the "Pre-Windows2000" format name (which SharePoint expects) is actually DOMAIN\AccountNameIsLongerT.

But the error message refers to a 20-character limitation, not 22. Could it be something else, e.g. your database names, computer name, etc.?

Brian

MaxMelcher wrote Mar 18, 2013 at 9:48 AM

Hi Brian,

thanks for your response!

I did not change the defaul values (except some true/false and some of the account names).


Attached is my Inputfile, I can reproduce the issue with it.

So long,
Max

MaxMelcher wrote Mar 18, 2013 at 12:07 PM

Okay, I think I found the cause:

It does work with SharePoint 2013 RTM - if I used the slip-streamed version of AutoSPSourceBuilder (December 2012 included) the script interrupts after installing the SharePoint binaries.

brianlala wrote Mar 18, 2013 at 5:36 PM

Hey Max, what happens if you use the latest March 2013 CU for SP2013? I got it to install without any problems.

Brian

MaxMelcher wrote Mar 18, 2013 at 11:02 PM

Hi Brian,

nope, tried it with March PU - same result.
Server 2012, SQL Server 2012 - any other clues ?


Any other ideas?

Thanks for your time and help!
Max

whorn76 wrote Mar 26, 2013 at 9:55 PM

This issue is caused by the AutoSPInstaller improperly flagging this line in the setuplog as an error (due to the 'Error:' portion:

MarshalPatchProperties_PublishP: _Error: OcaSetProperty(PublishPatchARPMaschine): property name should be no longer than 20 char

Line 581 and 652 of the AutoSPInstallerFunctions.ps1 scour the setuplog for errors:

$setupLastError = $setupLog | select-string -SimpleMatch -Pattern "Error:" | Select-Object -Last 1 #| ? {$
.Line -notlike "Startup task"}

Those two lines will need to be changed to make an exception for these lines in the setup log:

2013/03/26 14:42:01:900::[1124] MSI(INFO): 'MarshalPatchProperties_PublishP: ERROR: OcaSetProperty(PublishPatchARPMachine): property name should be no longer than 20 chars'

I simply changed those 2 lines in the PS1 file to ignore it like this:

$setupLastError = $setupLog | select-string -SimpleMatch -Pattern "Error:" | Where-Object {$
-notmatch "MarshalPatchProperties_PublishP: ERROR:"} | Select-Object -Last 1 #| ? {$
.Line -notlike "Startup task"}

Thanks,

Wes

MaxMelcher wrote Apr 1, 2013 at 1:21 PM

It seems to be fixed in the latest changeset.

Installed with PU March - worked without a single warning!

thanks for this awesome project!
Max