I found that my Bin directory in my web project had duplicate files that were appended with my computer name. Removing them corrected the issue.
Computer changed names and AD. Can not debug app because ReportViewer can not be loaded
My computer was recently renamed and put into a new domain. I can not longer debug my application because the ReportViewer assemblies can not be loaded.
"Could not load file or assembly 'Microsoft.ReportViewer.Design-<ComputerName>' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
This was working fine beforehand. I tried uninstalling and reinstalling ReportViewer using NuGet as well as Clean and force rebuild.
Not sure what else to try so any suggestions would be helpful. Thank you
2 answers
Sort by: Most helpful
-
-
Anna Xiu-MSFT 30,811 Reputation points Microsoft Vendor
2025-01-29T06:25:57.67+00:00 Hi @Scott Rappold ,
Welcome to Microsoft Q&A!
Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer. Accepted answers show up at the top, resulting in improved discoverability for others.
Issue: Computer changed names and AD. Can not debug app because ReportViewer can not be loaded
Solution: " I found that my Bin directory in my web project had duplicate files that were appended with my computer name. Removing them corrected the issue."
Sincerely,
Anna
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.