Category Archives: Configuration

BES Pro Install

Im about to configure Blackberry Enterprise Server Professional edition (BESPro) in our work place.
We use MDA’s paired up with OWA to our exchange but several people have been complaining about their devices being very slow and combersome.
I decided to imlement BESPro and enable the devices for email and calendar sync, the mobile provider can provide the remaining services such as web browsing and BB messenger.

Anyway i was most of the way into the installation when i bumped into a problem with MSDE edition of the install. If you don’t have a default DB with MSDE installed, the BB installer doesnt prompt to create a DB, infact it doesnt do anything it fails to connect. So firstly you have to download MSDE from microsoft and go through the install sequence, at some point it will ask you if you would like to create a default db, select yes and complete the install.

Next up make sure that all the connection methods are enabled in the db for that default db, namely TCPIP and named pipes (use the SQL Server Configuration Manageer console to do this, dont forget to restart the instance of MSSQL in the services console).

Now in your bb installer you can give the default db instance name, if it asks you if you want to create a new DB “BESMgmt” say yes, once its created the new DB you must grant either the local admin group or the bb account relevant access permissions under the security node of the DB, otherwise when you come to activate your installation by filling in the license details it will fail to connect because the installer does not create the security permission. You will see this error in the log file [PIPTOOL]: Failed to update the license keys as no database connections.

Run 32 bit Apps in IIS on 64 bit OS

So you want to run your web Apps in 32 bit mode on your 64 bit windows operating system
Ive never needed to do this until now, Cybersouce, the online financial gateway we have recently integrated with dont support 64 bit when you use their .NET API.

OK all you need to do is
1. IIS management >> Local computer node >> Web Server Extensions >> set the “ASP.NET vr xxxx (32 bit)” to Allow
2. Run the following batch command (changing the folder targets if you need to)
cscript c:inetpubadminscriptsadsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727aspnet_regiis.exe -i


If things go terribly wrong and you need to revert to 64bit then run the following batch
cscript c:inetpubadminscriptsadsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
C:WINDOWSMicrosoft.NETFramework64v2.0.50727aspnet_regiis.exe -i


WordPress add custom code highlighting tag button to visual toolbar

On my previous post to this i wanted to add some vb and tsql code, and have it appear like T-SQL or VB with similar syntax highlighting

So if you run wordpress here is how you do it
download the “WordPress:CodeHighlighingPlugin” from ideathinking

Follow their install instructions

And here is where my tip comes in

to add custom tag button so they appear in your Visual editing toolbar as your posting, locate the following js file

within the dev js file add the tag buttons of your choice, i personally added tsql and vb like so

Starting at line ~123
#Important note: replace the <_pre and <_/pre with the correct syntax (ie remove the _), i merely used it here in order the site would render the text rather than run through the highlighting engine

now you need to put it all on one line and copy paste into a similar location in the quicktags.js