Inhalte aufrufen

Profilbild

Error run on localhost


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
3 Antworten zu diesem Thema

#1 Hoàng Bầu

Hoàng Bầu

    Newbie

  • Members
  • Punkt
  • 3 Beiträge

Geschrieben: 09 December 2016 - 17:08

Server Error in '/' Application. The partial view 'ConditionalComments' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Install/ConditionalComments.aspx
~/Views/Install/ConditionalComments.ascx
~/Views/Shared/ConditionalComments.aspx
~/Views/Shared/ConditionalComments.ascx
~/Views/Install/ConditionalComments.cshtml
~/Views/Install/ConditionalComments.vbhtml
~/Views/Shared/ConditionalComments.cshtml
~/Views/Shared/ConditionalComments.vbhtml

 

Line 21: </script>

Line 22:
Line 23: @{ Html.RenderPartial("ConditionalComments"); }
Line 24:
Line 25: @* styles *@

 

 



#2 Hoàng Bầu

Hoàng Bầu

    Newbie

  • Members
  • Punkt
  • 3 Beiträge

Geschrieben: 10 December 2016 - 07:31

I can't first run on localhost. My code was lastest version 3.x

 

I need some help thanks



#3 Hoàng Bầu

Hoàng Bầu

    Newbie

  • Members
  • Punkt
  • 3 Beiträge

Geschrieben: 10 December 2016 - 15:18

I just fixed it no need support :)



#4 Wlady

Wlady

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 69 Beiträge

Geschrieben: 13 December 2016 - 19:54

I also got this error. Just copied the file ConditionalComments.cshtml from ~\Views\Shared\Partials to ~\Views\Install\.