RE: ASP.NET: There is no build provider registered for the extension '



Hello Axel,

According to your description, you got an error message reads "there is no
build provider registered for the extension" when opening aspx pages in
source view. If I misunderstood anything here, please don't hesitate to
correct me.

This line of error message means VS IDE cannot found build provider
registered for .aspx extension.

Does this issue occur on each web project on your machine?

1) If it only occurs on your current project, please check your project
web.config file.
Did you add the entry as below in your config file? If so, please remove it.
<buildProviders>
<clear/>
</buildProviders>

2) Otherwise, please check your web.config in the .net framewok folder
(C:\Windows\Microsoft.NET\Framework\[version]\CONFIG) if the issue occurs
on each web project on your side.
Is the following entry located in your config file? if not, please add it.
<buildProviders>
<add extension=".aspx" type="System.Web.Compilation.PageBuildProvider"/>

3) At last, if the issue still persists, please register build provider in
your project web.config file directly.
<buildProviders>
<add extension=".aspx" type="System.Web.Compilation.PageBuildProvider"/>

Hope this helps. Please try the above method and let me know if this works.
We are glad to assist you.

Have a great day,
Best regards,

Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: X performance woes
    ... 1G RAM, Celeron 3Ghz processor, onboard video and ethernet. ... Module class: X.Org Server Extension ... Loading extension MIT-SUNDRY-NONSTANDARD ... Using vrefresh ranges from config file ...
    (Ubuntu)
  • Re: SerializationException while accessing a remote object
    ... > I'm receiving an error message when trying to set a context control object ... > The server side config file contains: ... > sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream ... > requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Configuration error
    ... You can change "true" and "false" all day long, and it won't accomplish ... and that the config file has ... > same error message. ... > Source Error: ...
    (microsoft.public.frontpage.programming)
  • RE: Client found response content type of text/html; charset=utf-8, but expected text/xml.
    ... This typically means that the config file you are using has an error in it. ... WHat you are likely seeing is the error message - this can come from the ... >I'm trying to setup a webservice on a Windows 2003 server, ... >If a web.config file exists in my UtilityServices, I get the above error, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: VFP 7SP1 App requires mapped drive--trying to use UNC instead
    ... First I assume you tested UNC ... The error message notes a specific config file and PATH variable. ... Maddeningly true. ...
    (microsoft.public.fox.programmer.exchange)

Loading