Latest Post

Cannot find type: verify that the assembly containing this type is loaded. (Exception from HRESULT: 0x80131515)

Downloaded  HtmlAgilityPack.dll and loaded in Windows Powershell by running the following command Add-Type -Path ‘c:\Temp\PS\Net40\HtmlAgilityPack.dll’ Got the following error.. Add-Type : Could not load file or assembly ‘file:///C:\Temp\PS\Net40\HtmlAgilityPack.dll’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) At C:\Temp\PS\script.ps1:12 char:1 + Add-Type -Path ‘c:\Temp\PS\Net40\HtmlAgilityPack.dll’ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Add-Type], FileLoadException + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.AddTypeCommand   HtmlAgilityPack.dll does not have any dependency for the .Net version I was on (use the command $psversiontable to get the .Net version used by Powershell) It turned out that the file was blocked since it was downloaded from the internet. All I needed to do was to go to DLL’s properties and unblock it.

Top 6 Mistakes That Can Mess Professional Values of Your Business

Whenever you come up with a range of new products or services, you can’t ignore the potential of social media to reach more people and increase traffic. It can ruin your business in case you are unaware of the consequences of social activities. To get the most out of it first we need to take care of the following mistakes:- 1. Posting Similar Content This is a big No No. We can’t ignore the fact that the majority of people go for the content that is demanded by maximum no. of people. As a result they keep on posting the same content repeatedly which is already made/published by others. Make sure that your content is creative enough and niche to keep the followers engaged  and not lose their interest. 2. Posting Without Images Posts without images can be a really bad idea since people don’t go to social media to read a whole lot[…]

Asp.Net Error: There is no build provider registered for the extension ‘.html’

When you try to map an html file in ASP.net and rewrite the URL to remove .html extension such as the example below routes.MapPageRoute(“myhtml”, “myhtml”, “~/Resources/demo/myhtml.html”); It throws an error as following There is no build provider registered for the extension ‘.html’. You can register one in the <compilation><buildProviders> section in machine.config or web.config The following configuration changes in web.config fixes it. <compilation debug=”true” targetFramework=”4.5″ > <buildProviders > <add extension=”.htm” type=”System.Web.Compilation.PageBuildProvider” /> <add extension=”.html” type=”System.Web.Compilation.PageBuildProvider”/> </buildProviders> </compilation>  

Cordova Plugins: Review Unnecessary Permissions

If you went through the article on adding social sharing feature in HTML5 game using Intel XDK, it seemed like a simple plugin which should not require any permission but after adding the plugin and few more other plugins I found that WRITE_EXTERNAL_STORAGE permission was added in my android app so I checked all plugins one by one to see which plugin is adding what permissions and found out that WRITE_EXTERNAL_STORAGE permission was being added by social sharing plugin. When I checked developer notes (quoted below) I found that the permission was not required in my case, since I was not fetching any remote images for sharing. For sharing remote images (or other files) on Android, the file needs to be stored locally first, so add this permission to AndroidManifest.xml: <uses-permission android:name=“android.permission.WRITE_EXTERNAL_STORAGE“ /> In fact it was just a simple play store URL which I was sharing in my app so[…]

WordPress Error: Briefly unavailable for scheduled maintenance. Check back in a minute

This error occurs when you try to update something in WordPress site and the update fails for some reason and then your site goes down and following message is displayed Don’t worry. The process to fix this is pretty straight-forward. Go to your blog installation folder and look for .maintenance file. This file is generated by WordPress when the update occurs and then removed after the update finishes. In case update fails and this file could not be removed, then the above error message is displayed. Delete this file and you will be back up.

Four Ways To Develop A Contact List

In order to effectively use email marketing, we need to look at various ways of developing a contacts list. The ultimate goal of developing a contacts list is to enhance the length of prospects. Every email you send to people, has a possibility to get lead and convert those prospects into customers whether it is for the sale of a product/service or for promotional activities to increase traffic for a website/blog. Emails with quality content are the ones that can make a really good impact on the prospects. It doesn’t matter if you send just one or two emails in a month or an email campaigning, it works if you do it right way. In my previous post we talked about one of the ways for building contacts list which was to include a questionnaire form on your website. It is even possible to develop a list without having a website. Let see how: ⇒Sign Up Forms With the[…]

Things To Note For The Best Web Hosting Service !!

If you have registered for an attractive and apt domain; you’re already a step ahead than others who are yet to come up with the idea of being online. Next step is selection of hosting service. Choosing a hosting service for their website has been a difficult task for people. Hosting is about storing and making your web page content accessible on web therefore, it plays a very important role. There are plenty of hosting service providers but not all meet expectations in reality. Also, it is not advisable to go for free hosting. Beware of any of such traps since not only does it come with limitations but also technical problems. Buying hosting from a reliable provider is going to keep you hassle free in future. A Good host is the one which provides quality support along with the hosting services. There are various categories of web hosting and I have come up[…]

How to Choose and Register for Your Domain Name ?

In one of my previous articles we talked about different ways which can be used for building your presence online. One such option was to have a website of your own and for that the first and foremost thing which should strike your mind is “Domain Name”. Domain name is basically an online address of your website. You can also take it as your business identity. Picking a domain name is as important as naming of your offline physical shop to get established in the market. We have variety of extensions available and the most commonly used extensions are .Com, .Org, .Edu etc. Others are .Net, .Co, .Buzz and so on. It also depends on the type of business. In order to choose the most suitable domain we are going to look at following points: ⇒Keywords First You should go for the basic search of keywords that are popular and related to your business to find[…]

Add AdMob Ads to HTML5 Game using Intel XDK

The steps are as following Open your app in Intel XDK and go to CORDOVA HYBRID MOBILE APP SETTINGS section Click on “Add Plugins to this project” and search for the plugin “cordova-plugin-admob-free” in npm. Click “Add Plugin” which adds plugin to the project. Open your index.html and add following code <script> document.addEventListener(“deviceready”, onDeviceReady, false); function onDeviceReady() { initAd(); showBannerFunc(); } //initialize the goodies function initAd(){ admob.banner.config({ id: ‘ca-app-pub-3940256099942544/6300978111’, adSize: window.plugins.AdMob.AD_SIZE.BANNER }); admob.interstitial.config({ id: ‘ca-app-pub-3940256099942544/1033173712’, autoShow: false }); // Create banner admob.banner.prepare() } //display the banner function showBannerFunc(){ admob.banner.show(); } //prepare the interstitial function prepareInterstitialFunc(){ admob.interstitial.prepare(); } //display the interstitial function showInterstitialFunc(){ admob.interstitial.show(); } </script> Replace banner and interstitial ad code id with yours. The code in the example is given by Google to test the ads which displays placeholder ads for testing. This can be used during development and testing. Replace it with your ad codes for release. Another thing to note here[…]

Add Social Sharing Feature to HTML5 Game using Intel XDK

If you have gone through previous post in which we discussed about using Intel XDK to compile HTML5 games to Android apps, next steps are to add features which are quite necessary for every Android app such Social Sharing option. There are many open source plugins available to add Social Sharing feature to your app and it takes no more than a few minutes of effort to integrate this feature and get it working. The steps are as following Open your app in Intel XDK and go to CORDOVA HYBRID MOBILE APP SETTINGS section Click on “Add Plugins to this project” and search for the plugin “cordova-plugin-x-socialsharing” in npm. Click “Add Plugin” which adds plugin to the project. Open your index.html and add following code <script> function share(){ window.plugins.socialsharing.share(‘Sample’, null, null, ‘https://play.google.com/store/apps/details?id=com.html5games.sample’); } </script> Replace title and URL of the Android app in the code. And that is it. Now the share[…]