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
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.
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)SDLTridionUpload\TcmUploadAssembly.exe" "$(SolutionDir)SDLTridionUpload\Company.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
Related
i just moved wordpress from hosting server to my local machine. but got an error like this
Parse error: syntax error, unexpected end of file in /opt/lampp/htdocs/wp/wp-admin/includes/class-wp-list-table.php on line 1190
How to solved
It means that the file is incomplete/broken. You did not move the full file but just part of it. You can fix it by either downloading the file from hosting server again (just that one) or by downloading wordpress from wordpress.org and copy that file.
Pls check the file:class-wp-list-table.php on line 1190,
Probably you have modified it, So just delete what you added in Line 1190, then try again!
BUMP: any thoughts or suggestions?
Building my web application has been throwing the following errors:
The command ""C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool.exe" sign /a /t http://timestamp.verisign.com/scripts/timestamp.dll "application.exe"" exited with code 1
An error occurred while attempting to sign: application.exe
The specified timestamp server either could not be reach or
Based on this post, I added different servers with something like
signtool sign /v /td sha256 /tr "http://timestamp.comodoca.com/rfc3161" /fd sha1 application.exe
but my build still references the Verisign URL even after running this signtool catdb /r http://timestamp.verisign.com/scripts/timestamp.dll and signtool remove http://timestamp.verisign.com/scripts/timestamp.dll
Any ideas? Do I need to create a new certificate? Thanks in advance for help!
So I finally found what the problem was. There was a Build Event setting this reference to Verisign. Once I found it and updated, the build was successful.
The location of this is r-click on the project < select Properties < select the Compile tab < click button for Build Events...
Hope this helps any others.
I am trying to create a User Defined Functions in IBM data studio, I am following the steps at this Link.
I did not have any problem until the step where I have to Register the jar file with DB2 by entering:
db2 "CALL sqlj.install_jar('C:\Program Files\IBM\SQLLIB\java\jdk
\bin\udftest.jar','UDFTESTJAR')"
Into DB2 Command Prompt. However it shows the following error:
SQL20200N The install or replace of "BELSIZE .UDFTESTJAR" failed as
"C:\Program Files\IBM\SQLLIB\java\jdk\bin\udftest.j" could not be
located. SQLSTATE=46001
I have check through the location of udftest.jar, I am sure that the location path was correct. May I know what is wrong with me command line? Thanks in advance!
After looking true the website link again, I have forgotten to add file: at the path.
db2 "CALL sqlj.install_jar('file:C:\Program Files\IBM\SQLLIB\java\jdk
\bin\udftest.jar','UDFTESTJAR')"
I am using XAMPP a Mac for local development, but I used this code at work (using Windows and an otherwise identical development environment) and it worked fine:
$objPHPExcel = new PHPExcel();
$sheet = $objPHPExcel->createSheet();
$sheet->fromArray($a);
...
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');
//$objWriter->save('P:/Projects/Mess3/Sadness.xlsx');
$objWriter->save('/Users/tjb1982/Desktop/sadness.xlsx');
The commented-out text works with my Windows system at work. I tried to output the file to 'php://output' and got a garbled mess (is that what is to be expected?).
I can't seem to find anyone who is experiencing this problem outside of those who had permissions problems or had the file open when they were trying to save it. Please help!
I was getting the same error "Cannot close zip file.." and realized it didn't have permissions to write to that directory. Check your write permissions. (IIS8 + php + mysql + oracle)
Once i allowed write permissions problem was immediately fixed.
Generally this means one of 3 things:
The directory where you're trying to save the file doesn't exist
The directory/file has permissions that preclude you from writing to it
The file is already open in some other application, or has a lock on it
I had the same problem, just added the path in the save method and it worked
$objWriter->save(dirname(FILE)."dir1"."/".$file.".xlsx");
I found that this problem is caused when you execute the code once and then open the outputted excel file with Office excel. Try closing the file in excel and then try! Hope this helps!
I had the same problem, actually you have to modify the basic rights of reading and writing given to your PHPWord directory:
chmod -R 777 PHPWord/
I am trying to change the memory usage for R on a windows 7 machine.
I go to the desktop shortcut > properties and try to change the target from
"C:\Program Files\R\R-2.13.0\bin\i386\Rgui.exe" to
"C:\Program Files\R\R-2.13.0\bin\i386\Rgui.exe" --max-mem-size=500M
as per this post https://stat.ethz.ch/pipermail/r-help/2010-June/241154.html
But I get an error message "The name '"C:\Program Files\R\R-2.13.0\bin\i386\Rgui.exe" --max-mem-size=500M' specified in the target box is not valid, make sure the path and file name are valid."
Any suggestions on how to fix this?
I just tried it. It works fine on my machine. Maybe you entered the --max.. in the "execute-in"-field instead of the "target"-field. If this is not the problem try this: create a .bat file and enter yourpath\Rgui.exe --max-..., then create a shortcut to that .bat.