web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Suggested Answer

Failing reportviewer after upgrade 8.1 to 8.2

(0) ShareShare
ReportReport
Posted on by 12

Dear reader,

yesterday I started the upgrade from our 8.1 to 8.2 (small steps at a time). All went pretty flawless besides a stubborn issue when displaying a webresource with reportviewer. This webresource is defined in our invoice form (to display the invoice report ofcourse). When the form loads, it errors out. Tracing shows me this specific error:

Request failed with exception System.Web.HttpCompileException (0x80004005): c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\8226853f\1e6ff009\App_Web_reportviewer.aspx.d3c49f8c.7sxwo-xe.0.cs(257): error CS0433: The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\8226853f\1e6ff009\assembly\dl3\5d2bf8a0\00f50ec3_5d01d301\Microsoft.ReportViewer.WebForms.DLL' and 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\11.0.0.0__89845dcd8080cc91\Microsoft.ReportViewer.WebForms.DLL'


This seems pretty clear English to me, but I don't really get it. I presume the dll ought to be in the GAC in the first place. After cleaning the temporary asp.net files, resetting iis and reloading the form, the folder to the second dll immediately reappears.
.NET no-no that I am, I also renamed the dll in the GAC, ofcourse followed by a lot of "file not found" errors.

What could I try next?

Thanks for thinking along with me.
Best regards,

Jeroen

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hello;

    Please, right-click the file Microsoft.ReportViewer.WebForms.dll in the following folders and check the product version in "details" tab :

    Folder : "C:\Program Files\Microsoft Dynamics CRM\CRMWeb\bin\"

    Folder : "c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\8226853f\1e6ff009\assembly\dl3\5d2bf8a0\00f50ec3_5d01d301\"

    Then go to the folder "C:\Program Files\Microsoft Dynamics CRM\CRMWeb\" and check the web.config file.

    Make sure the version of the assembly "Microsoft.ReportViewer.WebForms" here is the same as the one in the bin folder( <add assembly="Microsoft.ReportViewer.WebForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=4545121" />)

  • Suggested answer
    PranavShroti Profile Picture
    4,510 on at

    Did you check the Report Authoring Extension requirements:

    docs.microsoft.com/.../hh699754%28v%3dcrm.8%29

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans