ASP.NET 2.0: Build provider and master page issue

I had an unpleasant time yesterday afternoon re-stabilising an ASP.NET 2.0 application after it went berserk. I don’t do that much coding in ASP.NET these days, but when I do, I seem to run into lots of problems.A fellow developer on the same project wasn’t very helpful or sympathetic – he sat there and informed everyone in a loud voice that he’d just come off another project where he’d built a much larger ASP.NET app without any problems at all. Yes, thanks for the support!

I had several problems layered on top of one another, including those strange issues where Visual Studio 2005 seems to get into a complete mess somehow with assembly references.I also saw evidence of Visual Studio putting incorrect duplicate file references into the project file.Killing every bin and obj folder and deleting the entire contents of the Temporary ASP.NET Files folder helped no end.However, I had one problem that I couldn’t clear for ages. Certain .aspx pages constantly reported errors associated with their @Page directives. One page, in particular, constantly reported this error (even after I had re-built the page from scratch), and others intermittently reported the same error! The error message stated that:

“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’.”

Why on earth would I need to register a build provider for non-existent file extensions? The problem seemed also to manifest itself in an inability to find a master page unless I provided a fully qualified path name. Another strange thing was that sometimes a different error would be reported by Visual Studio saying that part of the path to the web application directory could not be found. Needless to say the path was correct and present. The problem survived cleaning down the project and rebooting the system.

I tried everything I could think of to solve the issue. Nothing worked until, by trial and error, I hit on a solution. In Web.Config, I added the following buildProviders extension entry to the compilation element:

<compilation debug=”true”>
<buildProviders>
<add extension=”*” type=”System.Web.Compilation.PageBuildProvider”/>
</buildProviders>
</compilation>

Success! The problem disappeared. I then had the presence of mind to IMMEDIATELY go back and comment out the buildProvider entry.The problem did not come back! Whatever happened when I added the build provider seems to have solved the underlying issue.

I can’t explain the cause, but I can see a few reports of the same delinquent behaviour when I Google. Hopefully this will be of help to someone out there. I really do hope Microsoft has put some effort into stabilising Visual Studio 2008 rather than just concentrating on adding features.

Also, before someone asks, yes, I do have Visual Studio 2005 SP1 installed, and yes, I am using a Web Application project rather than a Web Site project.

BizTalk Server 2006 R2 Finally Arrives!

I apologize for being noticeably quiet for the past few months but it's been a very busy summer with lots of work and little free time for blogging.

The BizTalk (Connected Systems Group) team has done an excellent job and shipped the latest version of their flagship product BizTalk Server 2006 R2. In many ways this is much more than just an"R2" release, especially with all the new adapters, accelerators and partners (like GXS that we work with) involved. Not to mention built in support for EDI, AS2 and RFID. In other ways it's a great "upgrade" release from BizTalk Server 2006 since all your old BTS2006 assemblies and projects should work perfectly on "R2".

Click here for a larger view

Click here for a larger view

As you can see from the screen shots above, all aspects of BizTalk Server 2006 R2 run just fine on Windows Vista with the exception of those features that require Windows SharePoint Services. I know this feature seems small but I have a very hefty new Dell D830 notebook as my main development machine and it's just a lot more productive developing under Vista and then testing on a Win2K3 virtual machine.

And in case you're wondering what I've really been up to for the past few months you can read about it in the following Microsoft case studies (shameless personal plug)

Industrial Seal Maker Eliminates the Uncertainty from Electronic Invoicing

Global Distributor Avoids Cost, Risk While Upgrading Mission-Critical Data Warehouse

Seal Maker Expects $5 Million Revenue Boost from Internet Ordering System

The only thing lacking in BizTalk Server 2006 R2 is support for development running under Visual Studio 2008 Beta 2 but I expect the BizTalk team will issue a service pack sometime after Visual Studio 2008 ships later this year or early next year.

On a final note, I'd just like to say thanks to Mitch Stein MSFT] and Richard Hughes [MSFT] as well as the PSS folks for all their support and help during our testing and deployment. You folks ROCK!

Technorati Tags: BizTalk Server 2006 R2

BizTalk Server 2006 R2 Finally Arrives!

I apologize for being noticeably quiet for the past few months but it's been a very busy summer with lots of work and little free time for blogging.

The BizTalk (Connected Systems Group) team has done an excellent job and shipped the latest version of their flagship product BizTalk Server 2006 R2. In many ways this is much more than just an"R2" release, especially with all the new adapters, accelerators and partners (like GXS that we work with) involved. Not to mention built in support for EDI, AS2 and RFID. In other ways it's a great "upgrade" release from BizTalk Server 2006 since all your old BTS2006 assemblies and projects should work perfectly on "R2".

Click here for a larger view

Click here for a larger view

As you can see from the screen shots above, all aspects of BizTalk Server 2006 R2 run just fine on Windows Vista with the exception of those features that require Windows SharePoint Services. I know this feature seems small but I have a very hefty new Dell D830 notebook as my main development machine and it's just a lot more productive developing under Vista and then testing on a Win2K3 virtual machine.

And in case you're wondering what I've really been up to for the past few months you can read about it in the following Microsoft case studies (shameless personal plug)

Industrial Seal Maker Eliminates the Uncertainty from Electronic Invoicing

Global Distributor Avoids Cost, Risk While Upgrading Mission-Critical Data Warehouse

Seal Maker Expects $5 Million Revenue Boost from Internet Ordering System

The only thing lacking in BizTalk Server 2006 R2 is support for development running under Visual Studio 2008 Beta 2 but I expect the BizTalk team will issue a service pack sometime after Visual Studio 2008 ships later this year or early next year.

On a final note, I'd just like to say thanks to Mitch Stein MSFT] and Richard Hughes [MSFT] as well as the PSS folks for all their support and help during our testing and deployment. You folks ROCK!

Technorati Tags: BizTalk Server 2006 R2

Some new BizTalk links

Some interesting links:
BizTalk Server Database Optimization White Paper – This is an excellent MSDN write-up on how to optimize your BizTalk systems. The title is somewhat incorrect as it describes how to optimize the hardware (which RAID level to use, turn off hyperthreading), the Network (usage of subnets), the OS (Registry and other settings) , […]

Canadian BizTalk 2006-R2/SOA Conference

 
























Microsoft Canada is host a R2 launch conference in conjunction with a SOA conference. The conference will be held Calgary, Toronto and Montreal. The details and registration links are below.


















2007 Microsoft SOA & Business Process Conference
 




 









Microsoft Canada is pleased to announce the 2007 Microsoft SOA & Business Process Conference to be held in Calgary, Toronto, and Montreal. Be the first to hear about the new wave of innovation included in BizTalk Server 2006 R2, with enhanced capabilities such as native support for Electronic Data Interchange (EDI) and AS2 as well as RFID.  During these 2 days you will learn about both Microsoft’s current portfolio and long-term strategy for SOA & Business Process initiatives. Whether you are a developer, architect, or business decision maker we will have something for you with tracks spanning the full spectrum of technology, architecture, and business value topics.

What You Can Expect


Keynote Sessions 



  • Business Value Track
    The Business Value track will have multiple sessions that will focus on issues such as establishing a SOA roadmap. We will provide case studies and guidance to help your SOA and business process initiatives demonstrate value quickly and stay focused on business goals. Whether you are a partner practice manager evaluating the business opportunity of SOA and business process or an enterprise decision maker evaluating the potential return on investment of your SOA and BPM initiatives, the Business Value track is for you.

 



  • Technical Track
    The Technical track will have multiple sessions that will focus on the design and implementation of service oriented and business process solutions. We will provide best practices and proven patterns for handling challenges with many aspects of solution architecture such as; data, identity, messaging, workflow, and rules.

“Ask the Expert” Sessions *
Technical Partner Business Planning Sessions *
Evening Reception

The Microsoft SOA & Business Process Conference is the event for customers and technology partners to get detailed guidance for planning and delivering solutions for Service Oriented Architecture and Business Process Management. Guidance will be provided across 2 tracks focused on Technical and Business Value topics.


**Session agendas will be provided shortly.


***Please join us on Day 1 of this 2 Day event for a social reception***


_______________________________________________________________________________________


Microsoft Canada a le plaisir d’annoncer le Congr%u00e8s de Microsoft sur l’architecture orient%u00e9e sur les services et sur les processus d’affaires 2007 qui se tiendra %u00e0 Calgary, %u00e0 Toronto et %u00e0 Montr%u00e9al. Soyez les premiers %u00e0 d%u00e9couvrir les toutes derni%u00e8res innovations de BizTalk Server 2006 R2 ,  incluant des fonctionnalit%u00e9s plus performantes telles que (native support) pour EDI et AS2, ainsi que pour le RFID.   D’une dur%u00e9e de deux jours, le congr%u00e8s vous offrira l’occasion de vous informer sur le portefeuille de produits actuel de Microsoft et sur sa strat%u00e9gie %u00e0 long terme en mati%u00e8re d’architecture orient%u00e9e sur les services et de processus d’affaires. Que vous soyez un d%u00e9veloppeur, un sp%u00e9cialiste en architecture ou un d%u00e9cideur gestionnaire, nos ateliers qui couvrent le champ complet de la technologie, de l’architecture et de la valeur commerciale sauront vous int%u00e9resser.



Programme



Discours d’ouverture



  • Atelier sur la valeur commerciale

L’atelier sur la valeur commerciale portera notamment sur l’%u00e9tablissement d’un guide relatif %u00e0 l’architecture orient%u00e9e sur les services. Nous pr%u00e9senterons des %u00e9tudes de cas et donnerons des conseils pour que vos projets d’architecture orient%u00e9e sur les services et de processus d’affaires g%u00e9n%u00e8rent rapidement de la valeur tout en respectant les objectifs de l’entreprise. Que vous soyez un directeur des services-conseils aux partenaires %u00e9valuant le potentiel commercial de l’architecture orient%u00e9e sur les services ou un d%u00e9cideur-gestionnaire %u00e9valuant le rendement du capital investi potentiel de ses projets d’architecture orient%u00e9e sur les services et de processus d’affaires, cet atelier s’adresse %u00e0 vous.


 



  • Atelier technique

L’atelier technique portera sur la cr%u00e9ation et la mise en %u0153uvre de solutions ax%u00e9es sur les services et les processus d’affaires.  Nous parlerons des meilleures pratiques et des mod%u00e8les %u00e9prouv%u00e9s permettant d’affronter les difficult%u00e9s en faisant appel %u00e0 de nombreux aspects de l’architecture de solutions, tels que les donn%u00e9es, la messagerie, le flux de travaux et les r%u00e8gles.



 Ateliers %u00ab Demandez %u00e0 l’expert %u00bb*
Ateliers sur la planification des affaires %u00e0 l’intention des partenaires techniques*
R%u00e9ception

Le Congr%u00e8s de Microsoft sur l’architecture orient%u00e9e sur les services et sur les processus d’affaires est l’%u00e9v%u00e9nement par excellence destin%u00e9 aux clients et aux partenaires technologiques qui d%u00e9sirent obtenir de l’information d%u00e9taill%u00e9e en vue de planifier et d’offrir des solutions orient%u00e9es sur les services et la gestion des processus administratifs. Cette information sera transmise dans le cadre d’un atelier technique et d’un atelier sur la valeur commerciale.


**Les agendas des diff%u00e9rentes sessions seront disponibles sous peu


*** Joignez-vous %u00e0 nous le premier jour de cet %u00e9v%u00e9nement de deux jours pour une r%u00e9ception ***


 






 







  Register for Calgary


 





























Date


Time


Location


Address


EventID



A


September 25 – 26, 2007


7:30 am – 6:30pm


The Westin Calgary


320 4th Avenue SW 
Calgary, AB, T2P 2S6


1032350673


A



A


A


A


A


A










 Register for Mississauga































Date


Time


Location


Address


EventID



A


October 3 – 4 , 2007


7:30 am – 6:30pm


Microsoft Canada Head Office


1950 Meadowvale Blvd
Mississauga, Ontario,    L5N 8L9


1032351073


A



A


A


A


A


A










 Register for Montreal































Date


Time


Location


Address


EventID



A


October 24 – 25, 2007


7:30 am – 6:30pm


Hotel Place D’Armes


55 Saint-Jacques West
Montreal, Quebec,       H2Y 3X2


1032351086


A



A


A


A


A


A










%u00a92007 Microsoft Corporation. All rights reserved. Microsoft is either a registered trademark or trademark of Microsoft Corporation in the United States and/or other countries.

Privacy Policy

Win an Invite to the Microsoft HALO 3 Pre-Launch Party on September 24th!

Can

you name every vehicle in HALO 2?

Do you know how many Flood must be killed to beat HALO 2 on Legendary?

And do you “know what ladies like”?

THEN THIS CONTEST IS FOR YOU!

Thanks to the incredibleevangelismteam here

in the South Central district, I’m pleased to bring you, dear reader, the chance to

go to the Microsoft Pre-Launch party for HALO 3. That’s right, you will be welcomed

into the Microsoft campus in Irving, TX on September 24th,

2007 between 6pm and Midnight and have a chance to play HALO 3 while

everyone else is still standing in line! You read that right, 6 hours

of HALO 3 while the rest of the peasants are sitting outside GameStop just so they

can rush home an play it. The event will feature food and drink and everything

you’d expect from such a prestigious frag-fest.

You can win this ticket to Master Chief Nirvana by doing two things!

Important, you must do both things to win.

  1. Leave a comment on this blog containing:

  1. Your Real Name

  2. Your Gamertag (No tag? Sorry, serious fans only)

  3. The reason you should win the ticket.

  • Be on XBOX LIVE this Saturday (9/15/07) night, between 8 PM and 9 PM Central.

  • I will review the entries, consult the mystic oracle, and pick from among the comments

    the very best response. On Saturday night between 8pm and 9pm Central I will

    logon to XBOX LIVE (Gamertag Gisben for those who are new here) and will see if that

    person is online. If not? On to the next best response of course!

    The

    lucky winner will be given all of the relevant details for the event.

    This event is being held in Irving, TX … If you can’t be in Irving, TX

    on September 24th of your own power, then do not enter. The contest is only

    for the ticket to enter the event, not for travel or anything else.

    And I remind you … may your reasons good, this isn’t a random drawing my

    friends, your reason has to be better than everyone else’s reason if you hope to walk

    away with the prize.

    Speaking at the Microsoft SOA &amp; Business Process Conference

    I’ve just received word that one of the sessions I submitted has been accepted for

    the Microsoft SOA & Business Process

    Conference. This is year is bound to be interesting coming just after the

    release of BizTalk 2006 R2 (scheduled for late September) and just before Visual Studio

    2008 (scheduled for late November). I will be speaking on BizTalk 2006 R2 and

    HIPAA Transactions, a topic near and dear to my heart as I’ve done a great deal of

    work with both the HIPAA Accelerator and the Covast EDI Adapter for previous versions

    of BizTalk, and am currently working on a Proof-Of-Concept application for a claims

    clearinghouse using BizTalk 2006 R2. If you have a chance to get out to Redmond

    in late October, here are the details (hat

    tip to Mary Kay BizTalk Guru Zach Bonham)

    http://mssoaandbpconference.com/

    Who is invited to attend?

    Space will be limited, but anyone who is interested in SOA and Business Process should

    attend.
    Who should attend the conference?

    The conference is intended to educate and inform project managers, business managers,

    process owners/executives, IT/technical implementers, developers and business/technical

    consultants. Individuals from IT departments, development organizations, Project Management

    Offices (PMOs), and those business focused individuals who need to grasp a deeper

    understanding of how Project, Portfolio and EPM can empower their organization to

    do more will get great value from this conference.

    What is the charge to attend the conference?

    Registrationis $299.

    Microsoft SOA & Business Process Conference 2007

    The annual Microsoft SOA & Business Process Conference has been scheduled for 2007. You can find the conference site here, where you’ll find a list of sessions along with registration information. Pluralsight is sponsoring the show so we’ll have a booth and several of us will be speaking during the week. I’m doing the session on the new BizTalk WCF adapters. Jon and Matt are also speaking on different topics.

     


     

    But the thing we’re probably most excited about is that Pluralsight is doing a preconference training seminar in conjunction with the conference. You can read more about it on the conference web site here — or just click on the “Discounted SOA Training” on the main page. We’re calling the seminar What’s New in Microsoft Connected Systems.  If you’re attending the conference or will be in the area during the end of Oct (10/28), check it out. We’ve designed this to be an advanced developer-oriented seminar to help ramp-up on the cool new technologies being developed by the Microsoft Connected Systems Division (CSD). Here are some of the highlights:

     


    • .NET 3.5 (Orcas) ramp-up
    • WCF Web API for REST/POX
    • WCF RSS/Ajax features
    • Workflow Services
    • WCF/WF/BTS integration
    • What’s new in BTS 2006 R2
    • WCF adapters for R2
    • BizTalk RFID
    • BizTalk Services (in the cloud)

     

    The sessions are designed for developers and technical decision makers and will be taught by Jon,  Matt, and myself. For more details, or to register online, check out the event description page here.