Sometimes you are not allowed to transfer files between machines but you can transfer text via clipboard. A little hack how to transfer a file using a standard Windows utility certutil. Create a text file encoding the file certutil -encode file.exe file.txt Open and copy text Create a new file on the remote desktop and […]
Sometimes a connection cannot be promoted by Promotion Management with the error: Resolution Status=Copied, Dependency Status=All the required dependencies are included., Commit Status=Commit attempted and failed., Promotion Status=Failure : Relationship would not be a tree after update so bailing. It may help to promote connection using BiarEngine. This can display a better message explicitly saying […]
%WINDIR%\System32\odbcconf.exe CONFIGSYSDSN "SQL Server" "DSN=macoprod|Description=macoprod|SERVER=10.2.151.18|Trusted_Connection=No|Database=macoprod" %WINDIR%\SysWOW64\odbcconf.exe CONFIGSYSDSN "SQL Server" "DSN=macoprod|Description=macoprod|SERVER=10.2.151.18|Trusted_Connection=No|Database=macoprod"
To prevent accidental start of a batch file (e.g. restarting services or a starting load), you can add the following lines in the beginning. Use Y as a first argument when scheduling the file You will be prompted to answer whether you want to continue, if you start the batch. @echo off if /I "%1"=="Y" […]
A query is based on eFashion universe and returns two objects: measure [Promotion Cost USD] and dimension [Duration]. The variable [Cost] is defined as =If [Duration]>0 Then [Promotion Cost USD]/[Duration] The following formula in report’s cell returns #MULTIVALUE =Sum([Cost]) If I just replace the variable with the expression, it will return correct value =Sum(If [Duration]>0 […]
Notes from the book "97 Things Every Software Architect Should Know"
CREATE VIEW C_FINANCEENTRYPV WITH SCHEMABINDING AS SELECT ACCOUNTNUMBER ,ENTRYDATE ,Sum(IsNull(FINANCEENTRY.DEBITBASE,0)) DEBITBASE ,Sum(IsNull(FINANCEENTRY.CREDITBASE,0)) CREDITBASE ,Count_Big(*) CNT FROM dbo.FINANCEENTRY FINANCEENTRY GROUP BY ACCOUNTNUMBER, ENTRYDATE GO CREATE UNIQUE CLUSTERED INDEX C_FINANCEENTRYPV_01 ON C_FINANCEENTRYPV ( ACCOUNTNUMBER, ENTRYDATE ) GO SELECT * FROM C_FINANCEENTRYPV WITH (NOEXPAND)
This post describes the steps to repair CMS database and Filestore using SAP BusinessObjects reposcan.exe. Note that this may delete some items from CMS or Filestore if the dependencies are not found. Make sure that you have made necessary backups before applying reposcan. You can run the tool without repairing option (or with -repair off). This […]
Server Manager > Manage > Server Manager Properties > Do not start Server Manager automatically at logon
Local Security Policy > Account Policies > Password Policy > Password must meet complexity requirements -> Disabled