IT Nota

  • Home
  • How To
  • .NET
  • WordPress
  • Contact

How to Set MS Edge for IE Compatibility Mode

If you need to access legacy websites designed for earlier versions of Internet Explorer, such as those using VBScript client (as opposed to JavaScript), you may encounter issues with the website rendering or functionality in modern browsers, including Microsoft Edge.

However, there is a solution in Microsoft Edge that can help resolve these issues. By using Internet Explorer compatibility mode, you can ensure that these legacy websites will display and function properly in Microsoft Edge.

Here are the steps to set Microsoft Edge to Internet Explorer compatibility mode:

Method 1

  1. Open Microsoft Edge and click on the three dots (…) in the upper-right corner to access the settings menu.

  2. Select the Settings option from the drop-down menu.

    Microsoft Edge settings

  3. Under Settings on the left pane, scroll down to the Default browser section.

  4. Click on the Add button under Internet Explorer mode pages and an Add a page window will open.

    Microsoft Edge settings - Add legacy site to Internet Explorer mode pages

  5. Enter the full URL (or IP address) of the legacy site and click the Add button, it will bring you back to the Settings window with the newly added site.

  6. Close the Settings page and restart Microsoft Edge.

Here’s a summary of the steps in a screenshot:

IE compatibility setting in MS Edge browser

After restarting Microsoft Edge, it will be set to use Internet Explorer compatibility mode and you should be able to access websites and web applications that require Internet Explorer.

Method 2

If you have Enterprise Mode turned on, you can just add the website URL to the file sites.xml:

  1. Go to C:\IEEnterpriseMode folder and look for a file called sites.xml.

  2. Open sites.xml with a text editor and you should see something similar to this:

    <site-list version="1">
      <created-by>
        <tool>EMIESiteListManager</tool>
        <version>12.0.0.0</version>
        <date-created>01/01/2023 00:24:49</date-created>
      </created-by>
      <site url="www.itnota.com">
        <compat-mode>IE11</compat-mode>
        <open-in>IE11</open-in>
      </site>
    </site-list>
    
  3. Just add all the sites you want to access with IE compatibility mode to the XML file like so:

    <site-list version="1">
      <created-by>
        <tool>EMIESiteListManager</tool>
        <version>12.0.0.0</version>
        <date-created>01/01/2023 00:24:49</date-created>
      </created-by>
      <site url="www.itnota.com">
        <compat-mode>IE11</compat-mode>
        <open-in>IE11</open-in>
      </site>
      <site url="www.mysite.com">
        <compat-mode>IE11</compat-mode>
        <open-in>IE11</open-in>
      </site>
    </site-list>
    
  4. Once completed, just save the file and exit.

You can try each method or both in conjunction. It shouldn’t affect one or the other. That’s all there is to it.

Further Reading

Enterprise Mode and the Enterprise Mode Site List
Turn on Enterprise Mode and use a site list

February 3, 2023 Filed Under: How To Tagged With: Classic ASP, Microsoft, Windows

SSIS Best Practice with Naming Conventions

In 2006, Jamie Thomson originally came up with naming conventions for SSIS tasks and data flow components which makes packages and logs more readable and easier to find.

Koen Verbeeck and André Kamman extended the existing list with almost 40 tasks/components since then.

This list should be used just as a reference if you want to use standard naming convention in SSIS.

The point is whether or not you want to follow this naming standard, it’s always better to use a standard for your package maintainability and readibility.

Task

The acronyms below can be used at the beginning of the names of tasks to identify what type of task it is.

TaskPrefix
For Loop ContainerFLC
Foreach Loop ContainerFELC
Sequence ContainerSEQC
ActiveX ScriptAXS
Analysis Services Execute DDLASE
Analysis Services ProcessingASP
Azure Blob DownloadADT
Azure Blob UploadAUT
Azure HDInsight Create ClusterACCT
Azure HDInsight Delete ClusterACDT
Azure HDInsight HiveAHT
Azure HDInsight PigAPT
Back Up DatabaseBACKUP
Bulk InsertBLK
CDC ControlCDC
Check Database IntegrityCHECKDB
Data FlowDFT
Data Mining QueryDMQ
Data ProfilingDPT
Execute DTS 2000 PackageEDPT
Execute PackageEPT
Execute ProcessEPR
Execute SQL Server Agent JobAGENT
Execute SQLSQL
Execute T-SQL StatementTSQL
File SystemFSYS
FTPFTP
Hadoop File SystemHFSYS
Hadoop HiveHIVE
Hadoop PigPIG
History CleanupHISTCT
Maintenance CleanupMAINCT
Message QueueMSMQ
Notify OperatorNOT
Rebuild IndexREBIT
Reorganize IndexREOIT
ScriptSCR
Send MailSMT
Shrink DatabaseSHRINKDB
Transfer DatabaseTDB
Transfer Error MessagesTEM
Transfer JobsTJT
Transfer LoginsTLT
Transfer Master Stored ProceduresTSP
Transfer SQL Server ObjectsTSO
Update StatisticsSTAT
Web ServiceWST
WMI Data ReaderWMID
WMI Event WatcherWMIE
XMLXML
ExpressionEXPR

Components

These acronyms should be used at the beginning of the names of components to identify what type of component it is.

ComponentPrefix
ADO NET SourceADO_SRC
Azure Blob SourceAB_SRC
CDC SourceCDC_SRC
DataReader SourceDR_SRC
Excel SourceEX_SRC
Flat File SourceFF_SRC
HDFS File SourceHDFS_SRC
OData SourceODATA_SRC
ODBC SourceODBC_SRC
OLE DB SourceOLE_SRC
Raw File SourceRF_SRC
XML SourceXML_SRC
AggregateAGG
AuditAUD
Balanced Data DistributorBDD
Cache TransformCCH
CDC SplitterCDCS
Character MapCHM
Conditional SplitCSPL
Copy ColumnCPYC
Data ConversionDCNV
Data Mining QueryDMQ
Derived ColumnDER
DQS CleansingDQSC
Export ColumnEXPC
Fuzzy GroupingFZG
Fuzzy LookupFZL
Import ColumnIMPC
LookupLKP
MergeMRG
Merge JoinMRGJ
MulticastMLT
OLE DB CommandCMD
Percentage SamplingPSMP
PivotPVT
Row CountCNT
Row SamplingRSMP
Script ComponentSCR
Slowly Changing DimensionSCD
SortSRT
Term ExtractionTEX
Term LookupTEL
Union AllALL
UnpivotUPVT
ADO NET DestinationADO_DST
Azure Blob DestinationAB_DST
Data Mining Model TrainingDMMT_DST
Data Streaming DestinationDS_DST
DataReader DestinationDR_DST
Dimension ProcessingDP_DST
Excel DestinationEX_DST
Flat File DestinationFF_DST
HDFS File DestinationHDFS_DST
ODBC DestinationODBC_DST
OLE DB DestinationOLE_DST
Partition ProcessingPP_DST
Raw File DestinationRF_DST
Recordset DestinationRS_DST
SharePoint List DestinationSPL_DST
SQL Server Compact DestinationSSC_DST
SQL Server DestinationSS_DST
SQL Server Mobile DestinationSSM_DST

Further Reading

SSIS Naming Conventions 2.0
How to Add Custom Logging to SSIS Package

January 9, 2023 Filed Under: Tips and Tricks Tagged With: ETL, Microsoft, SSIS

How to Install a Certificate on Windows Server

Steps to Install a Certificate on a Window Server

  1. Right-click on Windows button at the bottom left corner and select Run.

  2. Type in mmc and click OK.

    Run MMC from Windows Run

  3. On the new Console window menu, click on file and select Add/Remove Snap-in… or press Ctrl+M.

  4. Select Certificates and click on Add > button. Select Computer account and click Next.

  5. Click on Local computer and click Finish. You should see Certificates (Local Computer) on the Selected snap-ins: pane. click OK.

    Add Certificates Snap-ins

  6. Under the Console Root on the left pane, expand on Personal, Certificates.

    Certificates import - All Tasks

  7. Import the certificate (pfx file) from Local Machine and click Next.

  8. Select the certificate file from the local folder and click Next.

    Certificate import wizard - pfx file

  9. Type in the password for the certificate and check on Include all extended properties and click Next.

    Certificate import wizard - certificate password

  10. Check on Place all certificates in the following store – Certificate store: and type in Personal if it’s not already filled in. Click Next.

  11. The Certificate Import Wizard will confirm all the selection. If everything is correct, just click on Finish and you should get a confirmation that the import was successful. Click OK and you’re done.

Please keep in mind if you’re installing this certificate for a website on IIS, you still need to assign the certificate to the corresponding website on IIS.

Further Reading

Installing the trusted root certificate

December 12, 2022 Filed Under: How To Tagged With: Microsoft, Windows Server

How to Serve AVIF Image on IIS

How do you take advantage of serving AVIF image from IIS server? For simplicity sake, since the setup is very similar to serving WebP format, I’m going to use the same screenshot illustrations from that post.

The problem with using IIS Server is by default IIS does not recognize AVIF as an image type so it cannot correctly render it on the page even if the browser can support it.

Using a test page avif-test.html with the content below, the page will render as shown.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>IT Nota AVIF Test Render</title>
</head>
<body>
  <h1>PNG</h1>
  <img src="images/caniuse-AVIF-Test.png" width="368" height="335" alt="PNG" />

  <h1>AVIF</h1>
  <img src="images/caniuse-AVIF-Test.avif" width="368" height="335" alt="AVIF" />
</body>
</html>

IIS failed to render WebP format
The screenshot above is taken from a webp test page, however the experience will be very similar for AVIF.

The issue stems from the fact that IIS does not recognize AVIF as a legitimate MIME type. So with a simple fix, we can make IIS to treat the new format as a valid image file.

How to Enable AVIF on IIS

  1. Launch IIS Manager.

  2. Click on your main server on the left pane to make sure we’re making the change on a server level (as opposed to a site level). Then click on the MIME Types.

    IIS Manager MIME type setting

  3. On the right pane of MIME Types dialog box, click on Add… link.

    IIS Manager Add a new MIME Type

  4. We want to add a new MIME type of AVIF as an image type so IIS knows how to handle this new format.

    In Add MIME Type box, enter .avif as the file name extension and image/avif as the MIME type and click OK.

    IIS Manager add new MIME type AVIF as image/avif

That’s all there is to it.

Now if you reload your Chrome browser, you should be able to see both image files rendered correctly.

WebP rendered from IIS successfully
The screenshot above is taken from a webp test page, however the experience will be very similar for AVIF.

As a side note, currently, the way to compress the image to AVIF is to do it from avif.io website.

Further Reading

How to Serve AVIF Image Format with Fallback for Other Browsers
How to Serve WebP Image on IIS
How to Serve WebP Image Format with Fallback for Other Browsers
How to Serve Outlook File Type on IIS

December 2, 2022 Filed Under: How To Tagged With: IIS, Internet Information Services, Microsoft

How to Force HTTPS in IIS

This is a short tutorial on how to force an HTTPS connection to your website in IIS. The way we do it is by adding a URL Rewrite rule that will redirect any unsecured incoming traffic to HTTPS.

Steps

  1. The first step you need to check is if you have URL Rewrite module installed. If you don’t have it installed, you can download it from the link at the bottom of this post.

  2. You can either use the GUI on IIS to set this up, or apply the rules in web.config file of your website. You just need to substitue the target URL with your own.

  3. Open your web.config in a text editor and add the rewrite rule inside the system.webServer child element:

    <system.webServer>
      <rewrite>
        <rules>
          <rule name="Force HTTPS" enabled="true" stopProcessing="true">
            <match url="(.*)" />
            <action type="Redirect" url="https://www.itnota.com" />
            <conditions logicalGrouping="MatchAll">
              <add input="{HTTPS}" pattern="^OFF$" />
            </conditions>
          </rule>
        </rules>
      </rewrite>
    </system.webServer>
    

    Or if you use IIS GUI, it should look something similar to this:

    IIS Rules using URL Rewrite to force HTTPS connection

That’s all there is to force HTTPS connection to your website. In this day and age, this should be the minimum setup for any websites.

Download

URL Rewrite

June 1, 2022 Filed Under: How To Tagged With: IIS, Internet Information Services, Microsoft

Next Page »
Buy me a coffee Support this site
Buy Me a Coffee?

Categories

  • .NET
  • Coding
  • Cybersecurity
  • Database
  • How To
  • Internet
  • Multimedia
  • Photography
  • Programming
  • Resources
  • Review
  • Tips and Tricks
  • Uncategorized
  • Use Case
  • WordPress
  • Writing

Recent Posts

  • How to View Stored Procedure Code in SQL Server
  • How to Find a String in SQL Server Stored Procedures
  • How to Remove Cached Credentials without Rebooting Windows
  • ESP Work Automation: Empowering Enterprises with Streamlined Workflows and Operational Efficiency
  • How to Search for a String in All Tables in a Database

Recent Posts

  • How to View Stored Procedure Code in SQL Server
  • How to Find a String in SQL Server Stored Procedures
  • How to Remove Cached Credentials without Rebooting Windows
  • ESP Work Automation: Empowering Enterprises with Streamlined Workflows and Operational Efficiency
  • How to Search for a String in All Tables in a Database

Tags

.NET .NET Core AdSense ASP.NET Cdonts Dll Classic ASP Code Editor ETL FSharp Genesis Framework Git Google HP Asset Manager HTML5 Hugo IIS Information Security Internet Internet Information Services iOS JAMStack Linux macOS Microsoft Microsoft SQL Server MVC PHP PowerShell Python Simple Mail Transfer Protocol Smtp Server SQL SQL Server SSIS SSMS SSRS Sublime Text Visual Studio Visual Studio Code VPN Windows Windows 8 Windows 10 Windows 2012 Windows Server

Copyright © 2011-2025 IT Nota. All rights reserved. Terms of Use | Privacy Policy | Disclosure