File name: 'System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I think the assembly bindings are missing or wrong in your web.config, they should look like:
Great a step forward :) is there a valid connectionstring in the web.config ?
Seems the error you are getting now is
A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.
I had the exact same problem, but solved it by updating ~/Views/web.config, which for some reason still contained a reference to Microsoft.Web.Helpers:
Problems upgrading from 7.2.6 to 7.3.7
When I try to upgrade from 7.2.6 to 7.3.7 I get the attached error:
Here is a link to the error from the event viewer: https://www.dropbox.com/s/mixc7218f2bmgr7/event-error.txt?dl=0
I've followed the General Upgrade guide and the version specific for 7.3.0
I hope that anyone can see what I'm doing wrong.
Your DefaultAppPool is that set to the correct .net version (and managed pipeline mode) ?
From your log:
File name: 'System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I think the assembly bindings are missing or wrong in your web.config, they should look like:
My appPool looks like this:
And my bindings are looking exactly like yours.
I'm running on IIS 8.5
And those assemblies it is complaining about are in the bin dir?
I've merged everything between the 2 bin folders.
Just like the upgrade guide says.
Hmm mind checking the permissions on the bin folder then
IUSR, IIS_IUSRS have Modify access
NETWORK SERVICE has Full Control
Same on web.config?
Yes, they're inherited from the root folder.
Ok and your app pool runs as one of the identities that have access?
Yes, but I think I've found something.
The version specific guide for 7.3.0 says:
Delete bin/System.Net.Http.*.dll (all dll files starting with System.Net.Http)
So since 7.3.0 is between my version and the latest release I followed the guide and deleted 'System.Net.Http.Formatting'.
Apparently I shouldn't do that, so I moved them back :)
So now I get this error
And here are the details: https://www.dropbox.com/s/vrkc4fjvtnkc22q/event-error2.txt?dl=0
Great a step forward :) is there a valid connectionstring in the web.config ?
Seems the error you are getting now is
A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.
Yes, it's valid. I can use the same credentials to connect via SMSS.
This solved it for me: http://stackoverflow.com/questions/17615260/the-certificate-chain-was-issued-by-an-authority-that-is-not-trusted-when-conn
The site is an Azure site that I've downloaded for the upgrade.
Glad it's solved :)
Google tells me http://stackoverflow.com/questions/17615260/the-certificate-chain-was-issued-by-an-authority-that-is-not-trusted-when-conn
Thanks a lot for your help guys.
Apparently, I'm not quite out of the woods yet.
All problems where gone, in the back end. But my fronted still fails, like this.
And here is the log file from the Event Viewer: https://www.dropbox.com/s/3i53e91k1d31d1a/event-error3.txt?dl=0
If I remove 'Microsoft.Web.Helpers.dll' from the 'bin', the backend works flawlessly, but the frontend still fails.
I had the exact same problem, but solved it by updating ~/Views/web.config, which for some reason still contained a reference to Microsoft.Web.Helpers:
Replacing this file with the one from the 7.3.7 zip-download solved the problem.
(It explains why the backend works - it does not render any of your views, which the frontend does!)
I hope that solves your problem, too! It took me three hours to track down...
Yep, that and the ClientDependency issue fixed it for me.
is working on a reply...