Last post Aug 10, 2020 08:57 AM by YihuiSun
Aug 08, 2020 01:42 AM|gpadvorac|LINK
I have an asp.net application that has 2 web.config files:
B was installed when setting up a Web Adapter from Esri ArcGIS and this has been working for years.
Now we're migrating to a new server with the exact same configuration but now we're getting a conflict between the 2 web.config files.
web.config "A" has this line in it:
<add assembly="Microsoft.ReportViewer.WebForms, Version=220.127.116.11, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
which is crashing the web adapter. If I rem out that line of code everything works but I cannot run reports.
Question: We're getting some kind of conflict between these config files which I don't understand. Is there a special way I should be dealing with them (2 web.config files in the same app)?
Aug 08, 2020 11:04 AM|mgebhard|LINK
It's very difficult to provide assistance without the actual error message. I assume you need to install Esri ArcGIS on the new machine or at least read the reference
Microsoft.ReportViewer.WebForms, Version=18.104.22.168 comes with the Report Viewer 2015 runtime. Maybe just install the runtime.
Aug 08, 2020 04:58 PM|gpadvorac|LINK
Thank you. Since its a new server I might need to install the report viewer runtime, however, I assumed that since it's DLLs are in the apps bin folder it should not be needed.
Aug 10, 2020 08:57 AM|YihuiSun|LINK
Version=22.214.171.124, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
I suggest you can check the following points.
<assemblyIdentity name="xxxxxxx" publicKeyToken="xxxxxx" />
<bindingRedirect oldVersion="x.x.x.x-x.x.x.x" newVersion="x.x.x.x" />
(2 web.config files in the same app)