I've got a project that is using MS AJAX RC1 and one of the common problems people have been running into is that if you use the "Publish" option and uncheck the option to "Allow this precompiled site to be updatable", then "Object Reference Not Set" errors sprout up everywhere and anywhere
So the posted solution is to make sure to check that box....
Well, when i do that, the application won't compile.... yet it does when i leave that box unchecked.....
What it's having problems with and in two totally different locations is with references to some user controls i have created and am trying to dynamically add them to the respective aspx pages...
So i have for the ascx page (and see that i am giving it a classname):
<%
@ Control Language="VB" EnableViewState="false" ClassName="ReportGridControl" AutoEventWireup="false" CodeFile="ReportGrid.ascx.vb" Inherits="common_controls_ReportGrid" %>
<div style="padding-bottom: 4px;" id="GridHeader" runat="server" />
..... all the markup/code in here .....
</div>
Then the in the aspx's page i say (Look! Intellisense even picks it up!!):
And during publishing with that "updatable" checkbox checked, the output says:
C:\Projects\Website\reports\leads.aspx.vb(352,0): error BC30002: Type 'ASP.ReportGridControl' is not defined.
It IS defined and VS even sees it while i am working on the code
So to recap:
- Leave that "update" checkbox unchecked: application compiles, but MS Ajax is broken
- Check that box: application won't compile
I sure hope someone has some answer to get by this problem, I am at a dead stand still with this issue right now :-(
"If you make it idiot proof, they'll build a better idiot"