Error message about something that does not exist in the application

Asked

Viewed 82 times

-2

While running my application is showing this message, but there is no such parameter. Here is the error message:

<%@ Application Codebehind="Global.asax.cs" Inherits="AgendaContato.MvcApplication" Language="C#" %> 
<%@ Application Codebehind="Global.asax.cs" Inherits="AgendaContato.MvcApplication" Language="C#" %>
  • Where is the error message?

  • 1

    That’s not an error message, that’s code

  • If this appears when you open the application in the browser, is because the ASP code is not being interpreted by the server. Are you sure that your server is running?

  • yes pq I run the application, and the strange that even that Inherits="Scheduling contact.Mvcapplication" does not exist, scheduling contact

  • Why is it declared twice?

  • was unintentionally @Ciganomorrisonmendez

  • It is still unclear to us what the error message is. You could take a print of the error screen and put in your question?

  • Obg @Ciganomorrisonmendez worked, it turns out I changed the namespace of my control and was popping this error or message in my browser so renomiei the globalasax file, and it worked

Show 3 more comments

1 answer

1


The Global.asax does not accept this statement in duplicity:

<%@ Application Codebehind="Global.asax.cs" Inherits="AgendaContato.MvcApplication" Language="C#" %> 

Also check that the file is intact.

  • 1

    Thanks for the support @Gypsy Morrison Mendez, I found the solution, marked your answer as correct.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.