Skip to main content

Posts

Showing posts from 2013

Error: Write to Disk Access Denied - Troubleshooting - BitTorrent

I have downloaded Bit Torrent software and when trying to download I got an error after few seconds saying: Error: Write to Disk Access Denied Solving this problem is so simple: Shut down BitTorrent program. Go to Start and in the small search box on top of windows start button start typing Bittorrent and the program will show, right click with the mouse on the icon and Run as Administrator. All ur problems are sorted out now and you can enjoy downloading... Good Luck.

Taxonomy Engineering Roadmap

Taxonomy Taxonomy , is the  classification of organisms in an ordered system that indicates natural relationships. Purpose: Taxonomies are normally used to facilitate access to information. For the most of tasks and purposes the Taxonomy will be used to connect, relate and classify content. The Taxonomy will enhance content categorization and organization in addition to the ease of access and search. Planning The Taxonomy should reflect the objectives of the project. It should be produced by a cross-functional team which includes business, technical, information management, subject matter experts and content creation stakeholders. The Taxonomy implementation and usage in the project will be defined. Design The design phase will include the below steps: Identify, gather and review resources A set of verbs, nouns, terms and vocabularies will be collected. This list will be reviewed and refined by the ad-hoc team created in the planning phase. A final list should b...

CFLDAP Add Active Directory User to a Group

I was trying to add a user to a group and had lots of code formatting etc. I was unable to find a straightforward code to help me. I have prepared the below code to help you using CFLDAP and also I will give you an alternative way using the dsmod command line. Lets start first with the CFLDAP: Now lets add an active directory user to a group using command line: When I wrote the above code I added a bulk list of users to a certain Active Directory group. Sometimes the CFLDAP failed so in the cfcatch I called the dsmode using the cfexecute. Why? Some of the user CN names contained special characters like 'bracket (' this caused an error when using the cfldap to add users to the groups so I had to use the cfexcute which succeeded.

Coldfusion: Custom cfhttp tag

I was trying to invoke the below URL: https://api.linkedin.com/v1/people/~:(id,first-name,last-name,industry,skills)?oauth2_access_token=blabla When I make the call directly from the browser it works fine, but if I call it using  cfhttp  request I got 404 Not Found error. The issue is most likely related to url encoding, kindly advise how send the request using cfhttp or another method without being enforced to be urlencoded, I have replaced the cfhttp tag with the custom cf_http method as below: Coldfusion: Custom cfhttp tag : Annoyed by the limitations of the default cfhttp tag i have written a custom cf_http tag that overcomes some of the limitations. Well any co...

How to embed code snippet in Blogger or Wordpress

I had a problem embedding code snippets and inline code examples to my blog visitors. I surfed and found a simple solution as below: Create an account on  github.com After logging in to github, click on Gist paste your code in the text and select the language. After saving copy the below code into the end of your blog post, please use the html editor: Loading .... Now include the below using your html editor: Loading .... References: http://blog.moski.me/2012/01/gist-with-bloggers-dynamic-views.html https://github.com/moski/gist-Blogger

Importing SSL certs to Coldfusion Railo OR Lucee keystore

If you are having the below error: Railo 3.3.4.003 Error (javax.net.ssl.SSLHandshakeException) Message sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Cause javax.net.ssl.SSLHandshakeException This means you are trying to invoke an https webservice. to invoke an SSL webserver you need to import the certificate into Railo by using keytool command. Below are the steps on how to do this: 1- use fire fox to open the webservice and click on the padlock as shown on the below image: 2-Click on more information as below:  3- Click on View Certificate as below: 4-Click on details as below:  5- Now export the certificate and save it to your computer with .cer extension. 6- Search in railo folder for the keytool command location, in my case it was under railo\jdk\bin 7-  Search in railo folder for the cacerts loca...