English 中文(简体)
Getting error while using TCMUploadAssembly.exe
原标题:
  • 时间:2011-07-20 05:42:23
  •  标签:
  • tridion

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)DependenciesTcmUploadAssembly.exe $(ProjectDir)Dependenciesconfig.xml $(TargetPath) /folder:tcm:226-92873-2

And here is the error which I am getting:

Error 1 The command "C:Documents and SettingsAdministratorMy DocumentsVisual Studio 2005ProjectsTridionTemplatingTridion.BuildingBlocksDependenciesTcmUploadAssembly.exe C:Documents and SettingsAdministratorMy DocumentsVisual Studio 2005ProjectsTridionTemplatingTridion.BuildingBlocksDependenciesconfig.xml C:Documents and SettingsAdministratorMy DocumentsVisual Studio 2005ProjectsTridionTemplatingTridion.BuildingBlocksinDebugTridion.BuildingBlocks.dll /folder:tcm:226-92873-2" exited with code 9009.

Thanks

最佳回答

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>abcxyz</userName>
<password>cdfd</password>
<uploadPDB>false</uploadPDB>
</templateAssemblyUploadConfig>

To resolve this problem, I run TcmUploadAssembly.exe from my Tridioninclient 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>abcxyz</userName>
<password>cdfd</password>
<uploadPDB>false</uploadPDB>
</templateAssemblyUploadConfig>

This resolved my problem thanks.

问题回答

That could be anything. You could try to enter the full command in a cmd window to get more detail about the problem.

Manu - I hope that s not your real password you just posted here for the whole Internet to see!

In my case, if there are spaces in full path, then one needs quotation marks around the command. E.g.

"$(SolutionDir)SDLTridionUploadTcmUploadAssembly.exe" "$(SolutionDir)SDLTridionUploadCompany.Tridion.Templating.UploadConfig.xml" "$(TargetPath)"

Password in the config file must be encrypted by TcmUploadAssembly. In command line prompt, enter the following command and press Enter, TcmUploadAssembly create the config file in the right way for you:

TCMUploadAssembly.exe Company.Tridion.Templating.UploadConfig.xml




相关问题
Getting URL of published element in SDL Tridion

Is there any way of finding the absolute URL for a published object in the SDL Tridion Interface? For example when I published a page, how can I find the url where to access the page?

What is C# sample code for VBScript SetLocale Function

I have got below code in VBScript. Sub SetPageLocale() Dim Locale Dim ContextObject Set ContextObject=getContextObject Locale=getFieldValue(ContextObject.Publication.MetadataFields("...

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)...

Component Links not working in 64 bit mode

Brief Summary: We are using Tridion 2009 SP1, however we never used .NET templating, we are still using R5 concept i.e. (VBScript, XSLT etc), we are using broker database for our linking etc. Our ...

热门标签