I have never done the upgrade, but I am pretty sure EPiServer 7 doesn't use FriendlyUrlRewriteProvider, but HierarchicalUrlRewriteProvider instead.
Can you check if you have this part of code in episerver.config and try to comment the whole urlRewrite node out and see if it works.
<urlRewrite defaultProvider="EPiServerFriendlyUrlRewriteProvider">
<providers>
<add name="EPiServerFriendlyUrlRewriteProvider" description="EPiServer standard Friendly URL rewriter" type="EPiServer.Web.FriendlyUrlRewriteProvider,EPiServer" />
<add name="EPiServerIdentityUrlRewriteProvider" description="EPiServer identity URL rewriter" type="EPiServer.Web.IdentityUrlRewriteProvider,EPiServer" />
<add name="EPiServerNullUrlRewriteProvider" description="EPiServer bypass URL rewriter" type="EPiServer.Web.NullUrlRewriteProvider,EPiServer" />
</providers>
</urlRewrite>
I updated my site from EPiServer CMS 6 to EPiServer CMS 7 and when I'm trying to run it, the site throws an exception -> .EPiServerException: A value is required for pageReference .
This error occured in line code below;
Below is the complete stack trace of Exception:
Help me guys to ressolve this problem. Thanks