• 0

C# Error: Exception from HRESULT: 0x80131047


Question

Any idea whats going on here. When I try to debug and run the program the above mentioned error code pops up. The only thing that I figure out is that it was unable to load a dependence, and the assembly or codebase was invalidly named. ??? Any help would be greatly appreciated. Thanks in advance.

5 answers to this question

Recommended Posts

  • 0

I repaired the installation of MS C# Express. Just to make sure there wasn't something wrong with a file or something. Anyways, no luck so far. I ran an old program, and it runs fine with no error messages. It has to be something in the code.

  • 0

Is it a web app or a WinForms app?

If it's a web app make sure you don't have any references to the namespace or any compiled dlls within your Register statements.

If it's a WinForms app make sure you haven't 'Referenced' or 'Using' any references to your namespace / any compiled versions in dlls.

From a past experience with this, I believe that the problem can be interpreted as 'recursive code inclusion', although someone correct me if I'm wrong.

Chris

edit: sorry, just realised the first part repeats the steps in the linked post.

  • 0

Thanks for the help. :) There aren't any .dll files in the project yet. It's a Windows Forum Application.

I created a brand new project with no spaces in the name, and it works fine. It has to do with something about the name of the project with spaces in it. In fact, I used underscores instead of spaces to remedy the situation, and it gave me the same error. I'm sure there some logical explanation for it. It's working now.

Thanks for the help. :)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Ahhh, the file transfer oobe assistant... Chef's kiss!
    • I like these themed recap top lists. As long as you don't overuse them! ⚠️
    • They didn’t need to. Don’t blame Apple for Linux incompetencies. CUPS was there all along for Linux to grab it and make something of it.
    • I was gonna say something similar but decided there's no point anymore. Some people like nutrek for whatever reason,.let them have it and I'll just rewatch the originals and hopefully in a decade someone new will take over and do a retcon
    • Grab the 2025 MacBook Air with M4 and save 18 percent now by Paul Hill If you’re in the market for a modern MacBook Air, check out the Apple 2025 MacBook Air 15-inch with the M4 chip on Amazon. It packs 16GB of Unified Memory and features a 256GB SSD. It's now discounted by 18%. This brings the price down to $1,178 from its original $1,428, a saving of $250. The deal also includes AppleCare+ for three years, which will help to protect your laptop. If you’re interested in this deal, act fast because it’s only available for a limited time. Powering this MacBook Air is Apple’s latest M4 chip which brings big performance boosts for multitasking, video editing, and graphically demanding games. The laptop boasts excellent battery life with up to 18 hours between charges, making it an exceptional choice for users on the go. This MacBook Air features a 15.3-inch Liquid Retina display which boasts vibrant colors and sharp details and there is a 12MP Center Stage camera, a three-mic array, and six speakers with Spatial Audio for improved video calls and media consumption. As for connectivity, you get two Thunderbolt 4 ports, MagSafe charging, a headphone jack, Wi-Fi 6E, and Bluetooth 5.3, with support for up to two external displays. This deal includes AppleCare+ which extends the standard one-year warranty and 90 days of technical support to three years from the purchase date. This gives you access to unlimited repairs for accidental damage, such as screen cracks or liquid spills, with a service fee ($99 for screen/enclosure damage, $299 for other accidental damage). With AppleCare+, you get 24/7 priority access to Apple experts for technical support and get global repair coverage and convenient service options such as carry-in and mail-in. Covered by AppleCare+ is the MacBook, its battery if the capacity drops below 80%, included accessories, Apple memory, and the Apple USB SuperDrive. Apple 2025 MacBook Air 15-inch: $1,178 (Amazon US) / MSRP $1,428 This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
  • Recent Achievements

    • Dedicated
      Amadou earned a badge
      Dedicated
    • One Month Later
      TheRingmaster earned a badge
      One Month Later
    • First Post
      smileyhead earned a badge
      First Post
    • One Month Later
      K V earned a badge
      One Month Later
    • Week One Done
      K V earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      641
    2. 2
      ATLien_0
      243
    3. 3
      Xenon
      180
    4. 4
      neufuse
      155
    5. 5
      +FloatingFatMan
      127
  • Tell a friend

    Love Neowin? Tell a friend!