SenseNet / sn-webpages

UI layer for the sensenet platform built using ASP.NET pages, webparts and controls.
https://www.sensenet.com/
GNU General Public License v2.0
5 stars 8 forks source link

LoginView fails to load #34

Open tusmester opened 5 years ago

tusmester commented 5 years ago

After installing the WebPages package and visiting the main page of the default site, this error shows up instead of the login view:

Couldn't load /Root/System/SystemPlugins/Portlets/AdvancedLogin/LoginView
tusmester commented 5 years ago

I was not able to reproduce the issue. It is possible that the installed Services and WebPages packages are not compatible. The first thing to try in this case is to upgrade all installed packages to their latest version from nuget.

herflis commented 4 years ago

from gitter: "when i checked event viewer got this error message: Message: http://server/Root/System/SystemPlugins/Portlets/AdvancedLogin/LoginView.ascx(41): error CS0012: The type 'IIdentity' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'."

sushantlotlikar commented 4 years ago

Hi @tusmester, @herflis,

FYI

  1. I was getting this same issue. The issue was resolved after I modified the web.config file as follows: `

    `

  2. References: stackoverflow/solution github/dotnet/standard/issue/542
  3. My Env: VS Community 2017 v15.9.2 .Net Framework 4.7.1

Regards, Sushant Lotlikar