Monday, 22 September 2014

A username and password are being requested by xxx The site says: "Contact Your Hosting Company for Username and Password"

A username and password are being requested by xxx  The site says: "Contact Your Hosting Company for Username and Password"

Many of the wordpress authors have found the above popup in their wordpress sites.

This is actually a security threat. Follow the instructions to get rid of these messages.

1. Contact your hosting company and speak to them. You will be provided with a username and password (Different from your login username and password). Keep in mind everytime when you are logging in you have to provide theses details.

2. The other way is to permanently delete the message. In your wordpress installed directory locate the file '.htaccess' and if you find any lines similar to this,

AuthUserFile /folder/.htpasswd
AuthType Basic
AuthName "PrivateWebsite"
Require valid-user 

Just remove the lines. That's it! 

You will no longer have the login username and password messages.

Saturday, 20 September 2014

Oracle APEX : Display appropriate keypads for Field Items.

Hi All,

In many mobile applications you may notice that different keypads are shown at different fields.

For Example when you are typing mobile number means numeric keypad is shown,
When you are inserting e-Mail address means email keypad is shown,
and for Address,URL etc., you may see various keypads.

This can be achieved in Oracle Application Express  also.

Oracle Apex - In the end devices(mobiles) Respective keypads will be shown based on the input element's type attribute.
At present this can be achieved by using item-plugin

Extract and import the plugin to your application.
Change the  Display as property and input type property to respective plugin and field attributes.

Now you can see your application firing different keypads for different data type fields.

Friday, 19 September 2014

System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

Hi All,

This is a very common error which comes when your system doesn't hold enough permissions.

If you are trying to connect with oracle database then sometimes you get
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

1. Try to add Everyone / Read for Oracle home and all sub folders and restart IIS - this should solve problem.

Note - While you give permissions for Oracle_home folder ensure the sub folders are inherited with the permissions. For this -> right click your folder -> Security -> Advanced->Change Permissions
and check "Replace all child object permissions with inheritable permissions from this object".

Then Restart your system. Now Run your project it will work.

2.In your project if you encounter "OCIEnvCreate failed with return code -1 but error message text was not available with ODP.net" then
 
Run -> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe  -i 

 The version v2.0.50727 in the above code may vary according to the framework installed.

3. While Running the above code if you encounter 
 An error has occurred: 0x8007b799
You must have administrative rights on this machine in order to run this tool.


 Then you should Turn off the UAC to fix this.
For this go to
Start > Control Panel > System and Security > Action Center > Choose Your UAC Level - Set this to Never Notify (Requires a restart); 

You are done!