Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / January 2008

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Axel Dahmen - 15 Jan 2008 16:36 GMT
Hi,

On my machine I'm now working under a new domain account. With this account,
when I open my ASPX pages in Souce View, VS underlines the first line and
gives the following error:

ASP.NET runtime error: There is no build provider registered for the
extension ''. You can register one in the <compilation><buildProviders>
section in machine.config or web.config. Make sure is has a
BuildProviderAppliesToAttribute attribute which includes the value 'Web' or
'All'.

What's that error? And - more important - how can I fix it?

TIA,
Axel Dahmen
WenYuan Wang [MSFT] - 16 Jan 2008 10:13 GMT
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.
Axel Dahmen - 17 Jan 2008 19:26 GMT
Thanks, WenYuan, for trying to help.

I did a repair on the VStudio installation already, which fixed the problem.
Apparently something was missing in the registry when I switched to the new
user (which is the same user name as the old one but under a new domain).

As to your question: Unfortunately, at my customer's I have only got this
single project on my machine but I assume it's a machine configuration
problem. I haven't changed anything in the <buildProviders> section of any
.config file on my machine. Just was assigned  to a new domain.

Perhaps your (and mine) information can act as a help for someone else who
also encounters the same problem. I've seen this question being asked a
couple of times but no helpful answers had been given.

Your help was quite appreciated.

Best regards,
Axel Dahmen

----------------------------

> Hello Axel,
>
[quoted text clipped - 37 lines]
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
WenYuan Wang [MSFT] - 18 Jan 2008 07:04 GMT
Hello Axel,

It seems repairing VS could resolve the issue. I think this maybe accuse by
some wrong configuration file.
Thanks for your reply and sharing the information with us. Others may learn
and benefit from your information. :)

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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.