Oracle Enterprise Manager Database Control URL not accessible

This short blog showing you how to access to Oracle Enterprise Manager Database Control URL when you install an Oracle 11g database server in your Windows 10 PC.

After you completed the installation of Oracle 11g, you got a link like https://localhost:1158/em.

But when you access to it then you got the follow screen and there is no way for you to continue.


Go to command prompt and run the following command.

c:\> certutil -setreg chain\EnableWeakSignatureFlags 8


Now, you refresh your browser and you should see “Continue to this website (not recommended)”.


Posted in .Net, Community, Oracle | Tagged | Leave a comment

System.NullReferenceException: ‘Object reference not set to an instance of an object.’ For array in the class

This blog shows you how to resolve the above error that the normally C# beginner will struggler with.

If you read and type the code below then compile it. It will not get any error.

class whyarray


    private MyClass[] aTAField;


    /// <remarks/>

    public MyClass[] ATA




            return this.aTAField;




            this.aTAField = value;






class MyClass


    public int Id { get; set; }

    public string fullname { get; set; }


class Program


    static void Main(string[] args)


        whyarray wa = new whyarray();

        MyClass mc = new MyClass();


        mc.Id = 1;

        mc.fullname = “someone”;


        wa.ATA[0] = mc;



Somehow once you run it then you will get the error “System.NullReferenceException: ‘Object reference not set to an instance of an object.’”.

To resolve this, you need to add

wa.ATA = new MyClass[10];

above the line

wa.ATA[0] = mc;


Posted in .Net, Community, Computers and Internet | Tagged , , , | Leave a comment

Connect Azure web app to on premise database, hybrid

This short blog shows you to important elements to let you connect from Windows Azure back to on premise database.

Below is actually my journey to get the Hybrid between Azure Cloud and on-premise SQL Database working.

If you search the web by using google then you will get this link

Connect to on-premises SQL Server from a web app in Azure App Service using Hybrid Connections (

When I read up to Create a Hybrid Connection and a BizTalk Service, unfortunately the New hybrid connection is not functioning.

I need to fold back to Azure classic portal following the instruction in Create and Manage Hybrid Connections (


When I install the On-Premise Setup in my on-premise VM running Windows Server 2012 R2 without Active Directory and with Visual Studio 2015 installed. I have gotten an unsolved error “CmdletInvocationException: Could not load file or assembly ‘Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies. The system cannot find the file specified.”,


I then changed to another VM that is running Windows Server 2012 R2 with Active Directory and run Visual Studio 2013. The On-Premise Setup  completed successfully.




I completed the creation of the Biztalk Service in classic portal, went back to the new Azure Portal to add the Biztalk Service.


I have then started the out of the box MVC application, changed my connection string. Download the Deployment profile from the Azure App Service. Deployed successfully to Azure App Service.







Posted in .Net, Cloud, Community, Computers and Internet | Tagged , , , | Leave a comment

Cisco VPN 0440 for Windows 10 1607

This short blog show you how to install Cisco VPN 0440 inn Windows 10 1607.

You will get message “This app can’t run on this PC” when you install Cisco VPN 0440 in Windows 10 1607.



Unzip your exe to a folder.

Trick the vpnclient_setup.msi to run as Previous version of Windows.


You need to find a copy of DNE software to install first, dneupdate64.msi. If not then you might not be able to completely setup.

After the installation change your registry.

Navigate to the following registry key:


Double click DisplayName and

 For x86, change the value data from something like “@oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter” to “Cisco Systems VPN Adapter”

For x64, change the value data from something like “@oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter for 64-bit Windows” to “Cisco Systems VPN Adapter for 64-bit Windows”

Posted in .Net, Community, Computers and Internet | Tagged , , , | Leave a comment

Add Visual C++ to Visual Studio 2015 installation

This short post showing you how to add Visual C++ into your Visual Studio 2015 previously installed without this C++ component.

You start a New Project, look for Visual C++ template then you will see Install Visual C++ 2015 Tools for Windows Desktop. Click on that.

It will then pop up a Install Missing Features dialog.

The Visual Studio Setup program will be launched.

You will get the warning to close the Visual Studio before continue (even though you have closed it).

You will then see the features that you have selected.

Click Next then click Update.

The installation will be started to add the features you have selected. Here is the Visual C++. For me, this will take more than 2 hours.

Click Close once the installation is completed.

You launch Visual Studio again and create new Visual C++ project, now you can.

Posted in .Net, Community, Computers and Internet | Tagged , , , | Leave a comment