There was a problem starting C:\\Windows\System32\LogiLDA.dll (Solved)

If you are using some Logitech accessories, you may come across this issue after you restart your computer: “There was a problem starting C:\Windows\System32\LogiLDA.dll“.

LogiLDA” in the error message stands for Logitech Download Assistant. In short, the issue is probably caused by a configuration or installation error of Logitech drivers or assistant software. Here is the full error message:

There was a problem starting C:\Windows\System32\LogiLDA.dll
The specified module could not be found.

Solve There was a problem starting  C:\Windows\System32\LogiLDA.dll error

Looking for a way to see your Windows version? Check this post out.

Solution for “There was a problem starting
C:\Windows\System32\LogiLDA.dll” error

The fastest and easiest solution to stop this error message popping up after restarts is that disabling Logitech Download Assistant in the “Startup” list of Windows. Follow the steps below to disable it.

  1. Open Task Manager (Right click on taskbar and click Task Manager OR search for Task Manager in Start)
  2. Go to “Startup” tab
  3. Right click on “Logitech Download Assistant“. After that, select “Disable
Disable Logitech Download Assistant to solve There was a problem starting  C:\Windows\System32\LogiLDA.dll
Disable Logitech Download Assistant to solve LogiLDA.dll error

Permanently uninstall Logitech Download Assistant

Disabling Logitech Download Assistant in Task Manager is kind of a hack to get around the underlying issue. The underlying issue is a corrupt software installation. Similarly, missing software may cause this issue too.

The permanent solution is that uninstalling Logitech Download Assistant completely. However, uninstalling it is not easy because this software doesn’t appear in Add or Remove Programs list. Therefore, you need to use an uninstaller (A desktop application that scans directories and registry and find/remove the selected software).

There are many free or paid uninstallers around.  A suggestion would be Ashampoo UnInstaller. Please use it at your own risk as uninstallers frequently remove registry keys in order to uninstall applications completely.

Make sure to take a back up of your Registry before using them. Additionally, you may want to create a restore point in your Windows first.

How to redirect HTTP requests to HTTPS by using IIS URL Rewrite

One way to ensure that your visitors access to your website via secure connection is to redirect HTTP requests to HTTPS by using IIS URL Rewrite module. You will find step-by-step instructions to configure IIS in this post.

Note that you may need to spend some extra effort on configuration if you have a load balancer that hosts SSL certificates (SSL offloading). Please check the last section (“If your web server is behind a Load Balancer…”) at the end of this post for more information.

Looking for an alternative way to redirect HTTP requests to HTTPS? Check this post out.

Redirect HTTP requests to HTTPS by using IIS URL Rewrite

Follow the steps below to redirect all HTTP requests to your HTTPS URL.

  • Download and install URL Rewrite module
  • Make sure that your website is accessible via HTTP (Check Site Binding to make sure there is a binding for port 80)
Redirect HTTP requests to HTTPS by using IIS URL Rewrite
IIS site binding for HTTP requests
  • In server, site or application level, go to URL Rewrite feature
  • Click “Add Rule(s)” in the “Actions” pane
  • Select “Blank rule“. Click “OK
Create a rule to redirect HTTP requests to HTTPS by using IIS URL Rewrite
Create a new URL Rewrite rule
  • Select “Matches the Pattern” from “Requested URL” menu
  • Select “Wildcards” from “Using” menu
  • Enter * into “Pattern” field
  • Add a new condition with input {HTTPS}, type “Matches the Pattern“, pattern off. This condition will make sure to prevent indefinite loop from HTTPS to HTTPS. The condition will make sure the rule is executed if the request is not HTTPS
Inbound rule to redirect HTTP requests to HTTPS by using IIS URL Rewrite
Match URL and condition for URL Rewrite rule
  • In the “Action” section, select “Redirect” from “Action type” menu
  • Enter https://{HTTP_HOST}{REQUEST_URI} into “Redirect URL” field. Click here for more information about server variables and URL parts
Redirect URL to redirect HTTP requests to HTTPS by using IIS URL Rewrite
Redirection type and URL
  • Click “Apply” in the “Actions” pane
  • Try to access your site/application via HTTP URL and check if it is redirected to HTTPS

Web.config changes

When you add, edit or remove a URL Rewrite URL, corresponding web.config file is automatically updated. Go to application folder and open the web.config file if you want to view the changes.

<rewrite>
   <rules>
      <rule name="Redirect Subfolder" enabled="true" patternSyntax="Wildcard" stopProcessing="true">
         <match url="*" ignoreCase="true" />
         <conditions logicalGrouping="MatchAny">
            <add input="{HTTPS}" pattern="off" />
         </conditions>
         <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Found" />
      </rule>
   </rules>
</rewrite>

Not working? Try these

If the URL Rewrite rule for redirection is not working (HTTP requests continue to go to HTTP site), I would recommend using Failed Request Tracing (FRT) to troubleshoot redirection. Here is a link for instructions to use FRT for URL Rewrite troubleshooting.

Additionally, try the recommendations below to solve the issue:

  • Make sure that “Require SSL” is unchecked in “SSL Settings” 
SSL settings to redirect HTTP requests to HTTPS by using IIS URL Rewrite
Uncheck “Require SSL”
  • Instead of a wildcard, try using a regex in “Match URL” section (Select “Regular Expressions” from “Using” list. Enter (.*) into “Pattern” field). More information
  • Try ^OFF$ pattern for the condition. More information
  • Previous URL Rewrite rule might have cached. Try to use server variable from this list that disable kernel mode caching for all requests. You can also try disabling internal cache of rewritten URLs. Here is a list of registry values for IIS URL Rewrite.

If your web server is behind a Load Balancer…

Many companies leverage load balancers to distrubute workload amond several web servers. If this is the case in your environment, you may need to change the server variable you use in the condition of your URL Rewrite rule. 

In the instructions above, we used {HTTPS} header to check the usage of HTTPS protocol. The load balancer in your network may remove this header from requests. A better practice in this scenario is to use {HTTP_X_FORWARDED_PROTO} header. Click here for more information.

Here is the web.config entry for an example URL Rewrite rule using {HTTP_X_FORWARDED_PROTO} header:

<rewrite>
  <rules>
    <rule name="HTTPS Redirect" stopProcessing="true">
      <match url="(.*)" />
      <conditions>
        <add input="{HTTP_X_FORWARDED_PROTO}" pattern="https" negate="true" />
      </conditions>
      <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" />
    </rule>
  </rules>
</rewrite>

References

Create and edit webpack configuration file automatically

If you are working with a variety of packages, resources, and styling extensions, an easy way to create and edit webpack configuration file (webpack.config.js) might be just the tool you have been looking for.

Webpack is a tool to bundle your assets (scripts, styles, images). It protects their dependencies to each other. I think the diagram below explains it very well (courtesy of webpack.js.org).

Create and edit webpack configuration file
What is webpack?

Looking for instructions to use JavaScript in your Visual Studio React template? Check this post out.

Easy way to create and edit webpack configuration file

When you have several resource files and complex dependencies, editing webpack configuration file may become cumbersome. Thankfully, there are tools to make this task a lot easier by simple selections. Here are two of them:

Jakoblind.no webpack configuration tool

Select main library, transpiler, styling extensions, images, and utilities to create your webpack.config.js and other related files such as README.md and package.json.

Create and edit webpack configuration file

Netlify webpack configuration tool

Netlify’s tool offers a wide selection of transpilers (Babel, JavaScript, TypeScript, CoffeeScript, Vue etc.) and CSS preprocessors (less, sass, stylus etc.) to automatically create your webpack.config.js file.

Create and edit webpack configuration file