Avoid essbase login pop up when using API

HI,
I have written a vb macro to retrieve data from essbase using APIs. I have used EssVConnect. Eventhough i give the server,username and password to a variable and execute the procedure, the essbase login screen appears. I want to avoid this as this code would be used for automation. Please help me in doing so. The retrieval code which is part of the automation code is here below. Here the sheet name, application name and the database name is read from another worksheet and assigned to the variables sheetName , AppName and DBName. The Cache here is the application name and database name which are assigned is to the variables AppName and DBName is highlighted in the essbase login popup. And if i modify the variable Server1 to server the procedure stops running. it says login failed due to insufficient credentials. But i use admin user.
Declare Function EssVConnect Lib "ESSEXCLN.XLL" (ByVal sheetName As _
Variant, ByVal UserName As Variant, ByVal Password As Variant, ByVal Server _
As Variant, ByVal application As Variant, ByVal database As Variant) As _
Long
Declare Function EssVRetrieve Lib "ESSEXCLN.XLL" (ByVal sheetName As _
Variant, ByVal range As Variant, ByVal lockFlag As Variant) As Long
Declare Function EssVDisconnect Lib "ESSEXCLN.XLL" (ByVal sheetName As _
Variant) As Long
Sub RetrieveData()
Server1 = "localhost"
UserName = "admin"
Password = "password"
Set Ssheet = Sheets(sheetName)
Ssheet.Activate
AppName = CStr(applicationname)
DbName = CStr(DatabaseName)
TimeStart = Timer
sts = EssVConnect(sheetName, UserName, Password, Server, AppName, DbName)
If sts = 0 Then
x = EssVRetrieve(sheetName, Null, 1)
If x = 0 Then
Y = EssVDisconnect(sheetName)
If Y <> 0 Then
GoTo ErrHan
End If
Else
GoTo ErrHan
End If
Else
MsgBox ("Connection failed for the worksheet - " & sheetName)
GoTo ErrHan
End If
TimeEnd = Timer
TimeTester = TimeEnd - TimeStart
ErrHan:
On Error Resume Next
End Sub
Edited by: ragavhere on Nov 13, 2009 7:03 PM

Hi,
Thanks for your responses. Server variable problem is secondary. I have a excel worksheet in this format
ApplicationName     DatabaseName     SheetName
RetilPOC     Plan1     Sheet2
RetilPOC     Plan2     Sheet3
RetilPOC     Plan3     Sheet4
The application name,database name and sheet name are read by a procedure from this worksheet row by row and passed as a parameter to the procedure "RetrieveData".My primary objective is to login to the essbase application and database which are passed as parameters from the procedure which invokes the procedure "RetrieveData" without the essbase login screen coming up. How can i do it automatically?The user shouldn't keep typing the username and password. The procedure should read the login credentials from the variables and login automatically. How do i need to modify my code to achieve this?

Similar Messages

  • How to avoid security information pop up when using BSP in SRM

    Hi. I have created a custom BSP and have flagged it as HTTPS in the properties, and the URL does start HTTPS.
    I have then put this BSP in a role in SRM and can access it from the internal ITS after logging into SRM. Obviously the main SRM URL is also HTTPS. The BSP actually does its job fine.
    However, when I click on the BSP I get the security information pop up telling me that the page contains both secure and nonsecure items every time.
    How can I avoid this?
    I have read the article on the wiki, but it does not apply to my BSP as there are no links at all in my BSP, and everything is HTTPS.
    We can not change the IE settings as all our desktops are locked down and configured in the same way from an outsource company.
    Any help would be greatly appreciated.
    Regards,
    Dave.

    Hi. I'd already seen that, and it is not quite the same as mine. That link is about calling a BSP as a catalog in SRM and switching from HTTPS to HTTP.
    I am calling the BSP direct from the SRM main menu and everything of mine is HTTPS, I am not switching.
    Do you have any other ideas?
    Thanks a lot for your help.
    Regards,
    Dave.

  • With TSM adware removal tool I was able to remove unknown software that was making ads pop up when using Safari. So the y don't pop up anymore. The problem now is that when I open safari It is still downloading websites and after awhile it

    With TSM adware removal tool I was able to remove unknown software that was making ads pop up when using Safari. So the y don't pop up anymore. The problem now is that when I open safari It is still downloading websites and after awhile it freezes the browser. I have to constantly go to Safari Preferences to remove them and then the browser will start working again. What can I do to stop this?

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off merely by the seeming complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the behest of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts SerialATA 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' com.clark.\* \*dropbox \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB com.apple.AirPortBaseStationAgent 464843899 51 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { print "'${p[41]}'";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$|'${p[41]}'/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1100) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/ { next;} /(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { print "'${p[41]}'.plist\t'${p[42]}'";if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]" "$1;b=b$1;} END { if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' /^ +[NP].+ =/h;/^( +D.+[{]|[}])/{ g;s/.+= //p;};' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' '" L*/P*/*loginit*' 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;|sort|uniq' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t /S*/L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' -i4TCP:0-1023 com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' );N1=${#c2[@]};for j in {0..9};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D13 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 14 2 48 43;D13 4 5 32 1;D13 4 3 60 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start Time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Login pop-up when launching Webdynpro ABAP application from SAP Inbox

    Hello All,
    We have configured our workflow to trigger WD ABAP application from SAP Inbox.
    However when we launch the workitem from SAP Inbox, we are getting a login pop-up screen in IE which prompts us to enter SAP password.
    Can you please help how can we avoid getting that login screen and how the WD ABAP application can single sign on from SAP GUI to IE for that user-id.
    Appreciate all your help.
    Regards,
    Samta.

    Hi Samta,
    You can configure User(RFC) and password for your webdynpro appl'n using SICF tcode.
    Path : /default_host/sap/bc/webdynpro/sap/(your wdp appln)
    Thanks
    Katrice

  • Yoga 13 - On-screen Keyboard Randomly Popping Up When Using Physical Keyboard?

    While in laptop mode, and typing on the built-in physical keyboard or a keyboard attached via USB, the on-screen keyboard will randomly pop up, taking away focus (particularly noticeable when using extended desktop on an external display) and eating up half of the screen real estate.  As soon as I press the next key on the physical board, the on-screen keyboard minimizes itself.  Sometimes it will pop up when I'm not even touching the laptop!
    Anyone else experience this and/or know how to stop it?  It's the only thing about this machine that drives me absolutely nuts.  It seems to be random.  I can't pin it down and haven't found any similar reports via Google search.
    Thanks in advance.

    Disabling "OnScreen Keyboard (Lenovo Transition)" stopped it.  The solution is good enough for me, as I don't need the keyboard to pop up on its own anyway.  It'll pop up when I tap in a text-entry box, and that's all that matters.
    Attempts to calibrate the screen were unsucecssful.  I can't say whether or not a screen calibration will stop the random pop-up issue because every time I calibrated the screen, it broke the right-side screen swipe that reveals the Charms Menu.  Resetting the screen calibration was the only way I could find to restore the right-side swipe function. This is quite unfortunate because, regardless of the fact that it broke my Charms swipe, my touchpoints were FAR more accurate after the calibration than before.
    So now I have another problem.  I can't calibrate my screen for optimum accuracy without losing the convenience of the right-side swipe.    
    Any ideas?

  • Error when using API.DataWindow.Utilities.mShellAndWait: File not found

    I am trying to run a simple command using API.DataWindow.Utilities.mShellAndWait, however I am experiencing the following error in FDM web. Strangely, I do not see the same error when the command is run from FDM Workbench:
    Error: File not found
    At Line: ###
    The command is as follows:
    Dim strCMD
    strCMD = "ECHO %DATE% %TIME% >> \\<servername>\<folder1>\<folder2>\File.Log"
    API.DataWindow.Utilities.mShellAndWait strCMD, 0
    This command works fine when run directly from the command line. I am using a UNC path so thought this would have worked. Can anyone please suggest how I can resolve this? I have also tried the following and this results in a similar error:
    Dim strCMD
    strCMD = "ECHO %DATE% %TIME% >> \\<servername>\<folder1>\<folder2>\File.Log"
    Set WshShell = CreateObject("WScript.Shell")
    Set WshShellExec = WshShell.Exec(strCMD)
    Error: The system cannot find the file specified.

    I would expect the issue is due to user access priviledges.
    When you run it through Workbench, the shell and wait is using your (logged on user's) credentials.
    When it operates through the web stie, it is using the service account credentials.
    If the service account does not have permissions, that could explain the 'file not found', though I would expect an access is denied error.
    $.02

  • An error message pops up when using text to speech function in trial version

    An unable to decode and import the selected wav/mp3 message
    pops up when trying to use the text to speech function with the
    trial version. It will let me select the voice but will not apply
    the changes or convert.
    Any suggestions??

    Hi there
    I've noticed more than few posts about this since Captivate 4
    was released.
    Are you by chance using Windows Vista 64 bit? Seems most that
    have reported this issue have been using that version.
    Please report it to Adobe as a bug.
    Click
    here to view the WishForm/Bug Reporting Form
    Cheers... Rick

  • Audio pops/clicks when using external speakers

    Here's the problem -- When my Mac plays a sound and it had not played any sounds for a while, it always pops (or clicks, same thing, just a matter of magnitude). There is no pop if there was sound recently, like in the last 3 minutes or so.
    My iMac is an aluminum 20" model purchased in May 2008. I have external speakers playing audio. I don't think the pop happens when it's just the internal speakers.
    Is there an audio driver update? The Software Update menu doesn't find anything newer to install for me. The pop is very irritating and I consider this Mac to be broken with respect to audio output.

    Finally, a workaround. From another thread I learned that this is an old issue. The Mac shuts off the audio output electronics after some period of inactivity. When it reactivates, an audible pop happens. It's an old issue that Apple for some stupid reason doesn't care to solve. For a company that espouses fluid, integrated user experience, it is incredible that Apple could allow such a glaring audio defect to persist through so many generations of products. Surely they must realize many users will be connecting external amplified speaker systems to the analog audio out port. Doesn't anyone at Apple test the computers against the variety of input loads the audio output circuitry will be interfaced to? I understand that Apple has no control over the variety input impedances and DC biases their audio output electronics will see. But I think the popping could be avoided if they just employed a simpler scheme where the audio electronics do shut off. They are too smart for their own good.
    That said, the hack that is so far working for me is this freeware utility KeepSoundAwake that plays an inaudible sound periodically. I would much rather see a solution in the firmware.

  • Crackling/popping/garbled when using USB audio iPod iOS 6.16

    I know several people are having this issue.  iPod touch with iOS 6.16, when using the USB cable plugged in to Ford Sync or other stereo head units with USB connectivity, I hear a random popping/crackling/garbled sound.  The iPod does this on 2 different vehicles so I know it is not the stereo it self.  I have a 2005 Chevy Silverado that I added the IS-GM655 adapter to install a USB and AUX port.  Also I have a Ford Van that has the SYNC system in it.
    When the iPod is plugged in to the stereo via the USB port, I get random popping or crackling like a CD skipping from the audio. When the iPod is connected via the AUX headphone jack, I don't seem to hear any popping or crackling.  I have tried cleaning the port on the bottom of the iPod with rubbing alcohol and it seemed to help a little, but I still noticed the popping/crackling/garbled sound coming from the USB connectivity. Also, Bluetooth and WI-FI are off, I even tried airplane mode and different USB cables, still get same symptoms.
    Any fixes for this yet, it appears from all of the other threads I have read and googled, there are SEVERAL other people experiencing this issue and nothing has fixed it??
    The only thing I use the iPod for is music, there are no other apps installed on it currently.

    Hey Relentless85, Have you tried a "Cline Free" dryer sheet? ! OK, done messing around. It's static electricity, why I have no idea. In my Toyota, I have this issue, The other half's Toyota-- no issue! (go figure) It's always worse in the winter, and only with one adapter. As long as you don't touch the iPod, move it or look at it for to long, your OK. But do any one of the listed activities, you know use the iPod-- it clicks and pops likes a bowl of Rice Crispy's. This helped me, it's going to sound stupid and shouldn't work but it does help. Get yourself a grounding tether, the wrist strap with the wire, the thing you wear when working on computer's, anyway place the strap on your iPod, so it touches the metal back, and the other end attach to some part of your vehicles frame, not to any of the wiring! It shouldn't work but it does for me. The garbled sound, does it it sound like the feedback noise from cassette tapes? (Maybe your not old enough for that...) or over metered sound? A distortion or rumble? Try turning off the EQ feature on your iPod or put it on FLAT, or reduce the volume output level from your iPod to about 80% - 85%. It could be the iPod is sending a frequency that exceeds your car stereo's range, (over metering. On analog tape you did this to boast the bass, but the same practice in digital format causes distortions). About the only other thing to try is Resetting or Restoring, but I don't think it will help in this case. If the tether ground helps, it static, if not-- then you cleared out one thing to check. Hope this helps, Good luck. Cheers.

  • Draft messages left in trash when using API

    Recently, I have discovered a problem when sending an email using the Groupwise API that the draft message created before delivery is placed in the Trash. Before it seemed that the draft message was emptied from trash. Has something changed (using versions 7 and 8)? Or, is there a setting I need to change in code?
    Thanks,
    Mike
    Here is a code sample:
    Set objGW = createobject("NovellGroupwareSession")
    Set objAcct = objGW.Login()
    objMsg = objAcct.Mailbox.Messages.Add()
    objMsg.Subject = "Test"
    objMsg.BodyText.PlainTest = "This is a test."
    objMsg.Recipients.Add("my email address")
    objMsg.Attachments.Add("path and filename")
    objMsg.Send()
    I receive the email, but I also get a draft in my trash without a recipient.

    On 9/12/2011 5:56 AM, mikecsom wrote:
    >
    > Recently, I have discovered a problem when sending an email using the
    > Groupwise API that the draft message created before delivery is placed
    > in the Trash. Before it seemed that the draft message was emptied from
    > trash. Has something changed (using versions 7 and 8)? Or, is there a
    > setting I need to change in code?
    >
    > Thanks,
    >
    > Mike
    >
    > Here is a code sample:
    >
    > Set objGW = createobject("NovellGroupwareSession")
    > Set objAcct = objGW.Login()
    > objMsg = objAcct.Mailbox.Messages.Add()
    > objMsg.Subject = "Test"
    > objMsg.BodyText.PlainTest = "This is a test."
    > objMsg.Recipients.Add("my email address")
    > objMsg.Attachments.Add("path and filename")
    > objMsg.Send()
    >
    > I receive the email, but I also get a draft in my trash without a
    > recipient.
    >
    >
    That has always happened, afaik..

  • How to avoid OCM reinstall through OPatch when using EM Harvester?

    Currently running OEM Grid Control 11g (11.1.0.1.1GC PSU) on an infrastructure repository database (11.2.0.1.2). Previously had OCM installed in every ORACLE_HOME in our environment. I removed all existing OCM installations and OCM Instrumentation in each database.
    I then installed OCM (10.3.3.2.2) into the OMS_HOME in order to begin using the EM Harvester for all configuration uploads rather than multiple OCM installs. This went fine, and I began to see targets in MOS indicating GC as the data source rather than OCM. Good so far.
    I then installed PSU 11.2.0.1.3 to the infrastructure repository database. During the patch installation, OPatch re-installed OCM into the database ORACLE_HOME without my knowledge. This caused some targets to appear in MOS with OCM as the data source again. At this point I had two sets of OCM processes running. I've confirmed that the patch caused the OCM reinstall by checking the opatch logs from $ORACLE_HOME/cfgtoollogs, where I can see the fresh OCM install occur.
    I then installed patch 9431704 to the MW_HOME/oracle_common ORACLE_HOME to resolve the 'FMW Welcome Page Application' target showing down in Grid Control issue. The patch went fine, but OPatch again reinstalled OCM, this time to MW_HOME/oracle_common and MW_HOME/utils. So at this point I had four sets of OCM processes running, which caused many duplicate targets to appear in MOS, again with OCM as the data source. Confirmed yet again that the OPatch session led to the new OCM installs by reviewing the logs.
    I would like to exclusively use the EM Harvester to upload configuration details to MOS. Per the whitepaper in note 848962.1, "The only prerequisites for using an EMGC system to collect and upload configuration data to Oracle Support are that the EMGC OMS must be at least version 10.2.0.5, and there must be an OCM instance configured (and running in connected mode) in the Oracle Home of the OMS."
    So this leads to my question. How can I continue to patch OMS, the repository database, and the target databases, while preventing OPatch from reinstalling OCM in every ORACLE_HOME it finds?
    I understand that whitepaper's comment to mean that I only require OCM in the OMS_HOME and it should not run out of any other ORACLE_HOMEs in our environment. Should I simply allow OPatch to install OCM anywhere it wants, then pause them by running '$ORACLE_HOME/ccr/bin/emCCR hold'? Is there a flag I can include when running 'opatch apply' to tell it skip OCM installation?

    Thanks EricvdS, I think that will work. I plan to try it with my next PSU patch. It's not exactly what I wanted, since I'd prefer to avoid having OPatch installed at all (and thus have no ORACLE_OCM user and no OCM instrumentation in the database), and I believe the initial OPatch install will submit OCM data to MOS even before pausing it and setting it to disconnected mode, and I'd like to avoid that too.
    I also have the feeling that I may be able to skip the OPatch install by not providing my email address and MOS password or CSI number when applying patches. I'll try that too.

  • Is there any way to avoid a huge memory spike when using CGContextDrawImage for a high resolution image?

    Hi,
    I'm trying to fix the orientation of an UIImage in my app (iPad 2, iOS 7). I'm using the method described here: https://gist.github.com/alex-cellcity/1531596, but a huge memory spike appears when CGContextDrawImage is called. The image size I'm trying to fix is 2848x4288.
    Anybody knows any algorithm to avoid this huge spike?
    Thanks,
    Roberto.

    While I never done iOS code it appears that the code you link to basically does the following:
    takes a large image A
    generates a transformation matrix by doing rotation in 90 degree increments and by mirroring
    creates a large image B
    draws image A into B using the transformation matrix
    releases memory for image A
    goes on using image B
    This results in a memory peak as you have two large images in RAM, until image A gets deallocated, which can't be done until B has been drawn.
    I can see two possible solutions to this, both which probably require you to explicitly modify individual pixels:
    1) Try to simplify the solution - if 180 degree rotation and mirroring is enough to solve your image issues, then a simple in-place (same bitmap) pixel swap could be done.
    2) Find more memory -  if you need 90, 270 or arbitrary degrees of rotation as well, you could instead keep either image A or B on disc.
    Keep image A on disc: read pixels from disc and place appropriately in image B. This may require you to first load image A and write it back to disc as ARGB data (one byte for each color) for easy access.
    Keep image B on disc: get pixel from image A and place it at the right location in image (file) B - this will require pre-creating a file of the correct size for Bs ARGB data and then moving the insertion point for writing around. When done dealloc image A and load image B.
    Keep image A and B on disc: combine using disc for image A and B - this will minimize RAM usage but will probably be the slowest solution and will increases disc (SSD/flash) load and wear.

  • Why not pop IE when using VPN

    I use VPN to link a server machine in the OAF(JDeveloper 10).
    But I run the HelloWorldPG.xml, +there are no IE page to pop to display.
    And then throw a error message (connection timed out) in the consoles.
    In the meantime, I have set "Specify Host Name" to VPN IP in the Embedded OC4J Server Perferences.
    What's the reason, and how to solute it, Ths.
    Edited by: Sumury on May 27, 2013 2:33 PM

    Hi,
    Sometimes the connection is very slow over VPN and hence connection times our before the Page is launched. Following are some of the options which could be explored:
    * If the myclass file is already there, system would not recompile all the data and go directly to OC4J server initialization. At times this is enough.
    * If step 1 is not enough, you can try logging into a system where the VPN is fast (through remote login) and then run the program there.
    * This option is to find another instance in your local network and deploy the finalzied code in the final environment.
    Regards
    Sumit

  • Login pop up when downloading BW query to Excel in Portal

    I have published several BW queries as iViews in the EP 6.0. I have SSO set up between the BW and the EP 6.0 and viewing the queries on the Portal works fine.
    However, when I open the queries in Excel or download them to Excel, a pop up box promting the user for a login keeps appearing. This only happens with queries that contain images, for example hierarchical queries contain little arrow .gifs for expanding and collapsing hierarchies - queries without images don't promt for a login. The behavior is very annoying since one pop up is generated for every image and you have to click ok or cancel 100 times before you are finally able to view the content in Excel.
    Can anyone tell me what to do to prevent this from happening? Can the images be put in a public part of the BW Server that doesn't require a login or can the images somehow be downloaded to Excel or even be totally ignored?
    Any help will be highly appreciated.
    Many thanks,
    Nicole

    check oss Note no. 732218
    basically its about hard coding user id & password for sap/bw/mime service in SICF
    Regards
    Raja

  • "Stay on this Page" "Leave this Page" pops up when using SAP URL?

    Has anyone else experience this pop-up message when an SAP URL (www.sap.com) is embedded in a Personas frame??
    No problem with non-SAP URL such as from the google.com family.
    Same problem persist even in the WTS environment.
    I had a quick discussion with Tamas Hoznek today and he experienced the same problem.
    Seems to be a recent problem. I already logged an OSS ticket on this.
    Thoughts anyone??
    Thanks,
    Frank

    Hi Sushant,
    Can you please help me with this?
    I am in a flavor of MM02, and I want to display MMBE as part of the screen. I am using HTML viewer and the url I am using is
    http://server:port/sap/bc/bsp/persos/mainapp/index.html?~transaction=MMBE%20MS_MATNR-LOW%3D1100292%3BDYNP_OKCODE%20ONLI
    I have added following to whitelist
    server:port/sap/bc/bsp/persos/*
    server:port/sap/*
    My HTML viewer control has url http://{1}. Key 1 is linked to an input field containing url. PushOnEnter event of the input field triggers a script that refreshes HTML control. I am getting following error.
    SAP HTML Control
    An error occured during SAPR3 page downloading: http://server:port/sap/bc/bsp/persos/mainapp/index.html?%7etransaction=MMBE%2520MS_MATNR-LOW%253D1100292%253BDYNP_OKCODE%2520ONLI
    The scecified url is not in the white list.
    Please, contact yout system administrator.
    Can you please help me with this?
    Regards
    Abhi

Maybe you are looking for

  • How do i video chat on the new imessage

    everytime i sent a video chat request it just says waiting for _____ to answer, and

  • G4 Box On Demand Error Code YVM105

    I have the new G4 Box. I am getting the error code YVM105 for the On Demand Players except BBC and ITV. However on my original BT YouView Box which is now in the bedroom all On Demand Players are working 100%. Do I have a faulty G4 Box or is there a

  • TS2446 My iphone 5s has been disabled do to forgotten pin #. How do I enable the phone

    I have a company IPhone5s. In working with my settings i inadvertantly assigned a new pin and then forgot what is is. I tried a few times to access my phone with what i thought was the correct pin, but after trying several times my phone became disab

  • I get an error when trying to install updates in Photoshop CS6

    I get an error when trying to install updates in Photoshop CS6. It says "Update Failed; Updates could not be applied." Anybody else have this probelm?

  • Manage Passwords List Empty

    Starting about 1 week ago all of the passwords in my "Manage Password" list under client security are gone.  I know I didn't back them up, so I started to enter some of the passwords back fully intent when I had at least 10 or 15 passwords to back it