3

How can I remove SSL from my asp.net mvc site in Visual Studio?

When I change SSL from True to False it shows this error:

SSL removal error

1

2 Answers 2

2
  1. Copy the URL.
  2. In Solution Explorer, right click the project name and select Properties.
  3. Select the Web tab, and then paste the URL into the Project Url box. Save the file (Ctl+S).
  4. now change SSL from True to False.
Sign up to request clarification or add additional context in comments.

Comments

0

Try this. Have a look in your FilterConfig.cs file and remove the line that says. filters.Add(new RequireHttpsAttribute()); Line.

public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
    filters.Add(new HandleErrorAttribute());
    filters.Add(new System.Web.Mvc.AuthorizeAttribute());
    filters.Add(new RequireHttpsAttribute()); 
}

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.