Search code examples
tridion

Getting error while using TCMUploadAssembly.exe


Can you please suggest why I am getting below error, when I am trying to upload my Assembly using TCMUploadAssembly.exe, below is the setting which I have done in my POST Build event.

$(ProjectDir)Dependencies\TcmUploadAssembly.exe $(ProjectDir)Dependencies\config.xml $(TargetPath) /folder:tcm:226-92873-2

And here is the error which I am getting:

Error 1 The command "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\TridionTemplating\Tridion.BuildingBlocks\Dependencies\TcmUploadAssembly.exe C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\TridionTemplating\Tridion.BuildingBlocks\Dependencies\config.xml C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\TridionTemplating\Tridion.BuildingBlocks\bin\Debug\Tridion.BuildingBlocks.dll /folder:tcm:226-92873-2" exited with code 9009.

Thanks


Solution

  • I resolved my problem and now I am able to upload my assembly to my Tridion.

    The problem was in my config.xml file, I was writing my password directly, due to that it was giving below error, my previous config format was like below which was giving error:

    <?xml version="1.0"?>
    <templateAssemblyUploadConfig>
    <targetURL>http://machine</targetURL>
    <userName>abc\xyz</userName>
    <password>cdfd</password>
    <uploadPDB>false</uploadPDB>
    </templateAssemblyUploadConfig>
    

    To resolve this problem, I run TcmUploadAssembly.exe from my Tridion\bin\client and it generated the below config file and the changes was only in password section

        <?xml version="1.0"?>
    <templateAssemblyUploadConfig>
    <targetURL>http://machine</targetURL>
    <userName>abc\xyz</userName>
    <password>cdfd</password>
    <uploadPDB>false</uploadPDB>
    </templateAssemblyUploadConfig>
    

    This resolved my problem thanks.