RAM <r_********@poczta.onet.plwrote:
On Thu, 20 Jul 2006 22:55:08 +0100, Barry Kelly
<ba***********@gmail.comwrote:
You need to create a simple, small application that reproduces the bug.
Post it here, and people will check it to see if it is in fact a bug
with MS and not a bug in your code.
I attach.
The code you posted is a simple website. Note, I'm not an ASP.NET
expert. It doesn't exhibit an access violation, though. It throws an
exception, HttpUnhandledException. The inner exception is as follows:
"Message: Content controls are allowed only in content page that
references a master page.
Stack: at System.Web.UI.MasterPage.CreateMaster(TemplateCont rol owner,
HttpContext context, VirtualPath masterPageFile, IDictionary
contentTemplateCollection) at System.Web.UI.Page.get_Master() at
System.Web.UI.Page.ApplyMasterPage() at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Source: System.Web"
So, this code doesn't seem enough to show the access violation?
-- Barry
--
http://barrkel.blogspot.com/