<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="https://wiseoneup.clickvalley.in/rss/xslt"?>
<rss xmlns:a10="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>wiseonup</title>
    <link>https://wiseoneup.clickvalley.in/</link>
    <description>for knowledge and fun</description>
    <generator>Articulate, blogging built on Umbraco</generator>
    <item>
      <guid isPermaLink="false">1262</guid>
      <link>https://wiseoneup.clickvalley.in/articles/msvs_version-not-set-vcinsalldir-not-set-unknown-version-undefined-found-at/</link>
      <category>Technology</category>
      <title>Msvs_version not set, VCINSALLDIR not set, unknown version ‘undefined’ found at ….</title>
      <description>&lt;p&gt;Here are few things to try –&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Install Visual Studio Community edition with payload “Desktop development with C++”.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set up node-gyp on your machine. Follow this &lt;a href="https://github.com/nodejs/node-gyp/blob/main/docs/Updating-npm-bundled-node-gyp.md"&gt;url&lt;/a&gt;. For Windows here are the steps –&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/qdbbcq2z/image.png" alt="" width="500" height="314.26735218509"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Once node-gyp is setup, upgrade your dependencies to latest version that are supported by the installed node-gyp. Otherwise install node-gyp of compatible version in previous step.&lt;/p&gt;</description>
      <pubDate>Thu, 29 Dec 2022 12:00:00 +0530</pubDate>
      <a10:updated>2022-12-29T12:00:00+05:30</a10:updated>
    </item>
    <item>
      <guid isPermaLink="false">1259</guid>
      <link>https://wiseoneup.clickvalley.in/articles/browsing-google-com-shows-error-page-with-error-code-err_cert_common_name_invalid/</link>
      <category>Technology</category>
      <title>Browsing google.com shows error page with error code ERR_CERT_COMMON_NAME_INVALID</title>
      <description>&lt;p&gt;This issue occurred a month back and I was just not able to access google.com on my machine. Other sites worked just fine but google.com was not working in any of the browser I had – Chrome, Firefox, Edge. In Chrome, it showed this error code that indicated something is wrong with the certificate. However, Edge and Firefox show a slightly different error page. I googled on this topic (of course on my other machine J) and found many articles and youtube videos that gave a generic set of instructions on how to fix this problem. Most of them suggested removing browser cache and things like that. However, nothing worked for me.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What worked for me was something I found by accident. In Edge, go to browser settings –&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/evsl3mcg/1.png?width=500&amp;amp;height=438.24701195219126" alt="Edge settings menu" width="500" height="438.24701195219126"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Search for “manage certificates” and you should see an option with this title.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/yt3irf1v/2.png?width=500&amp;amp;height=249.3573264781491" alt="manage certificates from Edge browser" width="500" height="249.3573264781491"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click on this option and it will open a popup.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/dtypbjy1/3.png?width=500&amp;amp;height=486.44067796610165" alt="certificates dialog" width="500" height="486.44067796610165"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On this pop-up, delete all certificates for google.com.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This should fix this issue for you in all browsers.&lt;/p&gt;</description>
      <pubDate>Wed, 16 Nov 2022 12:00:00 +0530</pubDate>
      <a10:updated>2022-11-16T12:00:00+05:30</a10:updated>
    </item>
    <item>
      <guid isPermaLink="false">1254</guid>
      <link>https://wiseoneup.clickvalley.in/articles/how-to-combine-merge-disk-partitions-with-healthy-recovery-partition-in-the-way/</link>
      <category>Technology</category>
      <category>PC Hardware</category>
      <title>How to combine/merge disk partitions with Healthy/Recovery partition in the way</title>
      <description>&lt;p&gt;Disk Management tool, the default application that comes preinstalled with Windows does not allow merging two partitions if they have a healthy partition between them. If you want to keep your healthy partition, the only way is to use a third-party tool.&lt;/p&gt;
&lt;p&gt;I used NIUBI Partition Editor. This allows you to move a partition to the end of the disk provided the disk space to the right is unallocated. So, the only way to restore healthy partition is to sacrifice the partition on the right of the healthy partition.&lt;/p&gt;
&lt;p&gt;Here is how it is done in NIUBI Partition Editor –&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install the free tool by downloading it from their &lt;a href="https://www.hdd-tool.com/index.html"&gt;site&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;The editor will show the disks and their partitions like below –&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/rtebzgup/disk-partitions.png?width=500&amp;amp;height=356.04113110539845" alt="NIBUI disk partitions" width="500" height="356.04113110539845"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ol start="3"&gt;
&lt;li&gt;Right click on the disk on the right of healthy partition and select Delete and choose Yes on the pop up. Make sure you take back-up of your important stuff from this drive as all data on this drive will be lost.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/h0efw1e3/delete-partition.png?width=500&amp;amp;height=356.04113110539845" alt="NIUBI delete partition" width="500" height="356.04113110539845"&gt;&lt;/p&gt;
&lt;ol start="4"&gt;
&lt;li&gt;The space on the right of the recovery partition will show as Unallocated.&lt;/li&gt;
&lt;li&gt;Right click on recovery partition and select “Resize/Move volume”. Drag the yellow box to the end of the gray bar and press OK.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/wxqpp2n4/move-recovery-paritition.png?width=500&amp;amp;height=358.6118251928021" alt="NIUBI move recovery partition" width="500" height="358.6118251928021"&gt;&lt;/p&gt;
&lt;ol start="6"&gt;
&lt;li&gt;The recovery partition show show on the right end of the disk.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/zakp1cck/recovery-partition-moved.png?width=500&amp;amp;height=356.68380462724934" alt="NIUBI recovery partition moved to end" width="500" height="356.68380462724934"&gt;&lt;/p&gt;
&lt;ol start="7"&gt;
&lt;li&gt;Right click on Unallocated space and select “Create new volume”.&lt;/li&gt;
&lt;li&gt;Expand the yellow box to take the entire gray space. Now your two drives are combined with recovery drive sitting next to this drive. Press OK to continue.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/bypdmtnk/expan-c-drive.png?width=500&amp;amp;height=352.1850899742931" alt="NIUBI resize drive" width="500" height="352.1850899742931"&gt;&lt;/p&gt;
&lt;ol start="9"&gt;
&lt;li&gt;The final step is the important step. Click &lt;strong&gt;Apply&lt;/strong&gt; to apply all these changes to your system.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/uf4bjkkh/apply-changes.png?width=500&amp;amp;height=355.39845758354755" alt="NIUBI Apply changes" width="500" height="355.39845758354755"&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 13 Nov 2022 12:00:00 +0530</pubDate>
      <a10:updated>2022-11-13T12:00:00+05:30</a10:updated>
    </item>
    <item>
      <guid isPermaLink="false">1247</guid>
      <link>https://wiseoneup.clickvalley.in/articles/access-sql-server-from-public-network/</link>
      <category>Technology</category>
      <title>How to access SQL server from public network</title>
      <description>&lt;p&gt;In order to access SQL server from network, there are couple of things that you need to do in addition to following this article by Microsoft - &lt;a href="https://docs.microsoft.com/en-us/sql/relational-databases/lesson-2-connecting-from-another-computer?view=sql-server-ver16"&gt;https://docs.microsoft.com/en-us/sql/relational-databases/lesson-2-connecting-from-another-computer?view=sql-server-ver16&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After following this article, you will have set up your SQL Express server instance to support TCP protocol and configured a fixed port. You will also have this port added to the inbound rules in windows firewall so that incoming traffic can be allowed on this port.&lt;/p&gt;
&lt;p&gt;However, you may still not be able to access your SQL server from public network although it is accessible on your LAN.&lt;/p&gt;
&lt;p&gt;The first thing that needs to be in place is a &lt;strong&gt;static IP address&lt;/strong&gt;. Talk to your internet provider and ask him to provide you a static IP address. Once you have a static IP address, you also need to know how to log in to your router (again your internet provider customer care can help you with this). Usually router can be accessed at &lt;a href="http://192.168.1.1"&gt;http://192.168.1.1&lt;/a&gt; (or 0.1) with the credentials given to you.&lt;/p&gt;
&lt;p&gt;You may have multiple devices connected on your network and we need a way to redirect incoming traffic to a specific machine that has SQL server installed on it. To do this, we need to add a &lt;strong&gt;Port Forwarding Rule&lt;/strong&gt; in your router settings that forwards all incoming requests on a specific port to this machine on network. In order to add this rule, we need to make sure the local IP address of SQL server machine remains fixed every time it connects on LAN. You can change your PC IP config from "DHCP" (which is your PC asking the router for an IP) to Manual (also known as Static IP). You can use an online guide by searching for "Configuring manual IP address”.&lt;/p&gt;
&lt;p&gt;In my case after assigning a fixed IP address to my sql server machine on LAN, I created a port forwarding rule in router like this –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/kylh3uon/router-settings-port-forwarding.png?width=500&amp;amp;height=289.8457583547558" alt="router settings port forwarding" width="500" height="289.8457583547558"&gt;&lt;/p&gt;
&lt;p&gt;And after adding this rule, my sql server was accessible from public network. Please note the server name has to be &lt;strong&gt;tcp:&lt;/strong&gt;&amp;lt;Static IP Address&amp;gt;&lt;strong&gt;,&lt;/strong&gt;&amp;lt;Port&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/nqffxbfq/sql-server-tcp-connection.png?width=480&amp;amp;height=314" alt="sql server tcp connection on port" width="480" height="314"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;P.S&lt;/p&gt;
&lt;p&gt;The sql user (admin) needs to have server role of sysadmin. It was set to public initially which failed and when I added sysadmin role, the connection worked.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/014noegh/sql-server-roles.png?width=500&amp;amp;height=472.463768115942" alt="sql server roles" width="500" height="472.463768115942"&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 31 Aug 2022 12:00:00 +0530</pubDate>
      <a10:updated>2022-08-31T12:00:00+05:30</a10:updated>
    </item>
    <item>
      <guid isPermaLink="false">1243</guid>
      <link>https://wiseoneup.clickvalley.in/articles/how-to-back-up-and-restore-remote-monogo-db-to-local-server/</link>
      <category>Technology</category>
      <title>How to back-up and restore remote monogo db to local server</title>
      <description>&lt;p&gt;It may sound difficult at first but it is very easy to backup and restore a mongodb database. Here are the steps to achieve this –&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download and install Mongodb CLI db tools from this link on both remote server as well as local machine –&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="https://www.mongodb.com/try/download/database-tools?tck=docs_databasetools"&gt;       https://www.mongodb.com/try/download/database-tools?tck=docs_databasetools&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;While installing remember the path where this installer is placing its files. For windows the default &lt;strong&gt;mongo db tools&lt;/strong&gt; &lt;strong&gt;path&lt;/strong&gt; that it took was C:\Program Files\MongoDB\Tools\100\bin&lt;/p&gt;
&lt;ol start="2"&gt;
&lt;li&gt;On server, open terminal and make the &lt;strong&gt;mongo db tools&lt;/strong&gt; &lt;strong&gt;path&lt;/strong&gt; as your present working directory and run this command –&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;em&gt;mongodump&lt;/em&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Since we are not passing any attributes to this command, it will create back up of all running databases under a dump folder which you can now see in present working directory.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Copy the database folder that you want to restore on local and transfer it to your local system.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ol start="3"&gt;
&lt;li&gt;On your local machine, create a new folder called dump under &lt;strong&gt;mongo db tools&lt;/strong&gt; &lt;strong&gt;path &lt;/strong&gt;and paste the copied folder.&lt;/li&gt;
&lt;li&gt;On your local machine, open terminal and make the &lt;strong&gt;mongo db tools&lt;/strong&gt; &lt;strong&gt;path&lt;/strong&gt; as your present working directory and run this command&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;em&gt;mongorestore&lt;/em&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This will restore/create a database in your local mongodb server.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;P.S&lt;/p&gt;
&lt;p&gt;Before running these commands, make sure your mongo db server is running.&lt;/p&gt;</description>
      <pubDate>Sun, 29 May 2022 12:00:00 +0530</pubDate>
      <a10:updated>2022-05-29T12:00:00+05:30</a10:updated>
    </item>
    <item>
      <guid isPermaLink="false">1239</guid>
      <link>https://wiseoneup.clickvalley.in/articles/can-t-connecto-to-vpn-the-l2tp-connection-attempt-failed-because-the-security-layer-encountered-a-processing-error-during-initial-negotiations-with-the-remote-computer/</link>
      <category>Technology</category>
      <title>Can’t connecto to vpn. The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer</title>
      <description>&lt;p&gt;After recent Windows 10 update, you may get this error while trying to connect through Windows 10 in-built VPN client.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Can’t connecto to vpn. The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/ipxlgthi/image.png?mode=max&amp;amp;width=361&amp;amp;height=236" alt="" width="361" height="236"&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The easiest fix is to uninstall the latest windows security update. Open Control Panel -&amp;gt; Programs and Features. Click on “view installed updates” link –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/0c5ljohv/image.png?mode=max&amp;width=500&amp;height=108" alt="" width="500" height="108"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;And you should see a Windows security update KB5009543. Uninstall this update. It may require a windows reboot.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/j3sd3kne/image.png?mode=max&amp;width=500&amp;height=102" alt="" width="500" height="102"&gt;&lt;/p&gt;
&lt;p&gt;To stop Windows from installing this update again, you can turn updates off till the time Windows pushes another update to fix this problem.&lt;/p&gt;</description>
      <pubDate>Thu, 27 Jan 2022 12:00:00 +0530</pubDate>
      <a10:updated>2022-01-27T12:00:00+05:30</a10:updated>
    </item>
    <item>
      <guid isPermaLink="false">1216</guid>
      <link>https://wiseoneup.clickvalley.in/articles/reactjs-navigation/</link>
      <category>Technology</category>
      <title>reactjs navigation</title>
      <description>&lt;p&gt;In this article, I am going to create a demo reactjs app that has navigation implemented to move from one view to another.&lt;/p&gt;
&lt;h2&gt;Pre-requisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;VS Code editor or any other editor.&lt;/li&gt;
&lt;li&gt;Node and npm – download and install the latest stable release from &lt;a href="https://nodejs.org/"&gt;https://nodejs.org/&lt;/a&gt;. Node 14 or higher is required for this tutorial.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Create a new react app&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;npx create-react-app react-navigation&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/cd3bsb5x/create-react-app.png?width=500&amp;amp;height=250.6426735218509" alt="create-react-app" width="500" height="250.6426735218509"&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This may take less than a minute and end with this message the end –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/npzpg4da/create-react-app-success.png?width=500&amp;amp;height=195.37275064267354" alt="create-react-app-success" width="500" height="195.37275064267354"&gt;&lt;/p&gt;
&lt;p&gt;As the output from the command suggests, run these commands –&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;cd react-navigation&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;npm start&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;By this time, we have created a blank reactjs app which is running on localhost:3000&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/4ledjqfn/react-app-blank.png?width=500&amp;amp;height=282.133676092545" alt="blank react app in localhost:3000" width="500" height="282.133676092545"&gt;&lt;/p&gt;
&lt;p&gt;And the code looks like this in VS Code –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/3q4j5z24/react-app-blank-source.png?width=500&amp;amp;height=300.77120822622106" alt="blank react app source code" width="500" height="300.77120822622106"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h1&gt;Time to implement react navigation.&lt;/h1&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install react-router-dom with this command&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;               &lt;strong&gt;npm install react-router-dom -s&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open app.js in VS Code and make following changes –&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/rj4nlj2i/react-router-code-in-appjs.png?width=500&amp;amp;height=349.6143958868895" alt="react router code in app.js" width="500" height="349.6143958868895"&gt;&lt;/p&gt;
&lt;p&gt;This is the most important step to understand react navigation. Here we import BrowserRouter, Routes and Route components from react-router-dom package and use them in App component html. You can add more Route tags as you add more pages to your site.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For this example, we need two react components to act as two different pages. Create these two components under a new directory name &lt;strong&gt;pages &lt;/strong&gt;under src folder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;HomePage.js&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/1ald2zjd/home-page-component.png?width=500&amp;amp;height=276.3496143958869" alt="sample home page component" width="500" height="276.3496143958869"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;UserPage.js&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/zs5p4fw2/user-page-component.png?width=500&amp;amp;height=281.4910025706941" alt="sample user page component" width="500" height="281.4910025706941"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Refresh your site (npm start) and you should be able to navigate between home page and user page.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/n5epfkwk/react-navigation-demo.gif?width=500&amp;amp;height=203.72750642673523" alt="react navigation demo" width="500" height="203.72750642673523"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h1&gt;Conclusion&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;React navigation&lt;/strong&gt; is an important concept in reactjs and almost every app needs to navigate between its views. This article helps in making this concept easy for you to understand and use the code examples given in this article to get started with &lt;strong&gt;react navigation.&lt;/strong&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 14 Dec 2021 12:00:00 +0530</pubDate>
      <a10:updated>2021-12-14T12:00:00+05:30</a10:updated>
    </item>
    <item>
      <guid isPermaLink="false">1200</guid>
      <link>https://wiseoneup.clickvalley.in/articles/free-ssl-certificate-for-your-website-hosted-on-iis/</link>
      <category>Technology</category>
      <title>Free SSL certificate for your website hosted on IIS</title>
      <description>&lt;p&gt;SSL is the basic requirement for a website these days. It affects your site’s credibility if your site is not secure and your visitors are noticing that “Not secure” tag right in the address bar when they visit your site.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/rdqf4wg1/blog_1.png?width=500&amp;amp;height=450.0924214417745" alt="Your connection to this site is not secure" width="500" height="450.0924214417745"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;SSL certificate is also important to make sure your site’s content is browsed securely and is prevented from middle man attacks and other risks I am not aware of.&lt;/p&gt;
&lt;p&gt;So how can we implement SSL for free on a site hosted on IIS? When I googled this subject, I found some sites that provide SSL for free. The only thing was I had to sign up on the site and create an account and create a free SSL certificate for myself. The only problem with this is that over the years I have signed up on too many platforms and I tend to forget passwords and even the platforms entirely.&lt;/p&gt;
&lt;p&gt;Luckily, I found another easier way to install free SSL on IIS. It is a windows console command like utility called win-acme. You can download it from their github release page –&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/win-acme/win-acme/releases"&gt;https://github.com/win-acme/win-acme/releases&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Under the assets section, look for the one that ends with .x64.trimmed.zip. The latest at the time of this blog is &lt;a href="https://github.com/win-acme/win-acme/releases/download/v2.1.20.1/win-acme.v2.1.20.1185.x64.trimmed.zip"&gt;win-acme.v2.1.20.1185.x64.trimmed.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Download and extract the contents of this zip into a folder. Open Command Prompt as Administrator.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/ev3mgt15/blog_2.png?width=442.43421052631584&amp;amp;height=500" alt="command prompt run as administrator" width="442.43421052631584" height="500"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Change your current working directory to the folder where you extracted the zip and run this command –&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;wacs.exe&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This should start a wizard –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/4ark12u1/blog_3.png?width=500&amp;amp;height=291.7737789203085" alt="win-acme wacs.exe on console" width="500" height="291.7737789203085"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Type N and hit enter. It should show a list of sites hosted on your IIS –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/zjmj4fzr/blog_4.png?width=500&amp;amp;height=163.23907455012855" alt="win-acme wacs new certificate" width="500" height="163.23907455012855"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Enter the number of the site you want to create SSL for and hit enter –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/huhlyuju/blog_winacme_wacs_step2.png?width=500&amp;amp;height=130.46272493573267" alt="win-acme wacs iis sites" width="500" height="130.46272493573267"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Enter A and hit enter –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/cmrijcpa/blog_winacme_wacs_step_final.png?width=500&amp;amp;height=303.9845758354756" alt="win-acme wacs install certificate" width="500" height="303.9845758354756"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;And that should be it. Your site is hosted on SSL. You can check by visiting your site and making sure the site shows a lock icon in the address bar –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/n0aht2uz/blog_secure_site_with_https_enabled.png?width=500&amp;amp;height=36.277602523659304" alt="https enabled site with lock in address bar" width="500" height="36.277602523659304"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;P.S&lt;/p&gt;
&lt;p&gt;This solution only works for sites that have been configured with host bindings. So you should have a domain name registered with some provider. Then you should have a CNAME entry under that domain that points to the IP address of your machine where IIS is installed. And finally you should have host name populated with the domain name under Bindings of your site.&lt;/p&gt;
&lt;p&gt;If you are new to IIS, you may have to do few more things in configuration to make sure your site is redirecting to https if users try to access it on http. You can simple copy following block inside your web.config under System.WebServer tag –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/fmgf2jdt/blog_url_rewrite_block_in_webconfig.png?width=500&amp;amp;height=172.87917737789203" alt="" width="500" height="172.87917737789203"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Make sure you have urlrewrite plugin installed in your IIS before you add this tag to web.config though. You can download it from IIS official site - &lt;a href="https://www.iis.net/downloads/microsoft/url-rewrite"&gt;https://www.iis.net/downloads/microsoft/url-rewrite&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h2&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;In this blog, I have tried to offer simplest way to install SSL certificate on a website that is hosted on IIS. I hope you liked this blog and in case you faced any issues, I would love to help. I can be reached at &lt;a href="mailto:naveenraina@outlook.com"&gt;naveenraina@outlook.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 12 Dec 2021 12:00:00 +0530</pubDate>
      <a10:updated>2021-12-12T12:00:00+05:30</a10:updated>
    </item>
    <item>
      <guid isPermaLink="false">1168</guid>
      <link>https://wiseoneup.clickvalley.in/articles/create-blog-site-in-a-day-with-umbraco/</link>
      <category>Technology</category>
      <title>Create your own blog site in a day with Umbraco</title>
      <description>&lt;p&gt;I want to share my experience of how I developed this blog site within a day. This blog site is built with Umbraco and a free plugin Articulate. Although it took me a day to figure out which plugin to use and whether it meets my requirements, I want to make this journey easier for others who are looking to build a blog site in a day.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h2&gt;Pre-requisites&lt;/h2&gt;
&lt;p&gt;This article is meant for C# and .NET developers. It may not be easy for developers working in other technologies to follow the steps I am going to mention in this article.&lt;/p&gt;
&lt;p&gt;You need to have a hosting server with IIS where you can deploy your code. You also need to have rights to change permissions on folders.&lt;/p&gt;
&lt;p&gt;Visual Studio 2019 is more suitable for this article but other versions will also work.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h2&gt;Umbraco project setup&lt;/h2&gt;
&lt;p&gt;In Visual Studio 2019, create a blank ASP.Net web application using .NET Framework.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/b0ddn1sc/blog_1.png?width=500&amp;amp;height=260.2827763496144" alt="" width="500" height="260.2827763496144"&gt;&lt;/p&gt;
&lt;p&gt;Enter the project name and leave everything else as it is.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/rnrfxnkm/blog_2.png?width=500&amp;amp;height=356.04113110539845" alt="" width="500" height="356.04113110539845"&gt;&lt;/p&gt;
&lt;p&gt;Choose Empty in the dialog that comes next.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/masp241e/blog_3.png?width=500&amp;amp;height=334.8329048843188" alt="ASP.NET Empty project" width="500" height="334.8329048843188"&gt;&lt;/p&gt;
&lt;p&gt;Right click on project name in solution explorer and select “Manage NuGet Packages”&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/3cwbmeu4/blog_4.png?width=500&amp;amp;height=451.1568123393316" alt="ASP.NET Manage NuGet Packages" width="500" height="451.1568123393316"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Go to “Browse” tab and search for “UmbracoCms” and install the plugin. Make sure the version is 8.x.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/0rom3unx/blog_5.png?width=500&amp;amp;height=232.64781491002572" alt="ASP.NET empty project install UmbracoCMS" width="500" height="232.64781491002572"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;It will take some time to set things up. Once done run your application with CTRL+F5. It will ask you to configure your Umbraco. Create a user name and password for yourself and continue with the wizard.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/bnrcdf4e/blog_6.png?width=500&amp;amp;height=329.6915167095116" alt="ASP.NET configure Umbraco 8" width="500" height="329.6915167095116"&gt;&lt;/p&gt;
&lt;p&gt;It will take some time to setup Umbraco site. The application may break in Visual Studio couple of time. Just hit F5 and it will continue setup. Once done, it will take you to Umbraco back-end –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/nb4fk0ny/blog_7.png?width=500&amp;amp;height=310.4113110539846" alt="Umbraco CMS back end landing page" width="500" height="310.4113110539846"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Skip the tour dialog. Go to Package menu and search for “Articulate”&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/2fllrcin/blog_8.png?width=500&amp;amp;height=333.547557840617" alt="UmbracoCMS install Articulate plugin" width="500" height="333.547557840617"&gt;&lt;/p&gt;
&lt;p&gt;Click on the tile and Install the package in next screen. You will have to accept the “terms of use” checkbox. Once install is complete, click on Finish button and it will refresh the page.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/0psdmxpt/blog_9.png?width=500&amp;amp;height=332.90488431876605" alt="UmbracoCMS Articulate plugin installed" width="500" height="332.90488431876605"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Go to Content menu and delete Home node.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/l0xo33ko/blog_10.png?width=500&amp;amp;height=466.5809768637532" alt="UmbracoCMS Content Home node" width="500" height="466.5809768637532"&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/rhffcfbr/blog_11.png?width=500&amp;amp;height=312.9820051413882" alt="UmbracoCMS delete Home node" width="500" height="312.9820051413882"&gt;&lt;/p&gt;
&lt;p&gt;And you are ready with your first blog site. You can check your blog site at localhost –&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/eznlqmnw/blog_12.png?width=500&amp;amp;height=362.46786632390746" alt="UmbracoCMS blog site on localhost" width="500" height="362.46786632390746"&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To create/edit/delete a blog, expand Blog node and click on Articles&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/ussnmswi/blog_13.png?width=500&amp;amp;height=264.1388174807198" alt="UmbracoCMS add blog Articles" width="500" height="264.1388174807198"&gt;&lt;/p&gt;
&lt;p&gt;Here you can create a new blog through Markdown or Rich text. I prefer Rich Text.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/xwnfiktl/blog_14.png?width=500&amp;amp;height=349.6143958868895" alt="UmbracoCMS new blog article" width="500" height="349.6143958868895"&gt;&lt;/p&gt;
&lt;p&gt;And you can enter details of your blog&lt;/p&gt;
&lt;p&gt;&lt;img src="https://wiseoneup.clickvalley.in/media/vmdboh0j/blog_15.png?width=500&amp;amp;height=296.9151670951157" alt="UmbracoCMS new article content" width="500" height="296.9151670951157"&gt;&lt;/p&gt;
&lt;p&gt;Once you enter all details, Save and Publish.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The good part about Articulate is the support for categories and tags that help your organize your blogs in a better way out of the box. You can create new categories and tags by typing a new name in the text box and hitting Enter. It also allows you to add Meta description for SEO optimization.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h2&gt;Deployment&lt;/h2&gt;
&lt;p&gt;You should be able to deploy this site like any other Umbraco site. However, I hit some issues which I will describe in my next blog.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h2&gt;CONCLUSION&lt;/h2&gt;
&lt;p&gt;In this blog, I have tried to offer simplest way to setup a blog site. I hope you liked this blog and in case you faced any issues, I would love to help. I can be reached at &lt;a href="mailto:naveenraina@outlook.com"&gt;naveenraina@outlook.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 06 Dec 2021 10:00:00 +0530</pubDate>
      <a10:updated>2021-12-06T10:00:00+05:30</a10:updated>
    </item>
  </channel>
</rss>