Extender Provider failed to return an Extender

前端 未结 10 1069
萌比男神i
萌比男神i 2020-12-29 18:06

We upgraded from .NET 2.0 to .NET 3.5. A co-worker of mine is getting the following dialog when attempting to run the ASP .NET web project under the debugger in Visual Stud

相关标签:
10条回答
  • 2020-12-29 18:47

    In VSTO, you can't use the designer while debugging another VSTO app.

    For example, if another VSTO debugging session is running and you try to invoke the Excel Designer on a different project, you'll get "The Extender Provider failed to return an Extender for this object". Stop debugging to free up the Designer.

    0 讨论(0)
  • 2020-12-29 18:48

    In Visual Studio 2019 I had several webservices in a solution failing to load with this error. In my case the error was caused because I had changed the port numbers in IIS for those web services meaning the port numbers in .csproj and/or csproj.user did not match IIS. As soon as I updated the .csproj port numbers to match IIS, the error went away.

    0 讨论(0)
  • 2020-12-29 18:48

    I had this problem because a project used IIS and HTTPS, there was no https binding on the IIS, adding a HTTPS binding on the default website fixed the problem.

    0 讨论(0)
  • 2020-12-29 18:49

    In my case run Visual Studio as administrator helped. My project uses local IIS and Studio needs Admin permissions to manage IIS.

    0 讨论(0)
  • 2020-12-29 18:53

    I encountered the

    The Extender Provider failed to return an Extender for this object.

    message in a winforms designer window.

    I'm aware that your question is about ASP.Net 3.5, but in my case I resolved it by:

    • Closing the solution in Visual Studio
    • Deleting the obj and bin directories from the problematic project.

    When I reopened the solution the error no longer occurred in the designer.

    0 讨论(0)
  • 2020-12-29 19:01

    For me none of the solutions above worked. I am using VS 2019. In my case, the repository had special characters in the name, so when cloned, the root folder had escaped characters in the name. The compiler could no longer match the file names. Updating the parent folder name and reopening VS fixed the issue.

    The detailed error behind 'Extender Provider failed to return an Extender' was related to the inability to find the compiler targets in the path.

    0 讨论(0)
提交回复
热议问题