Ask a Question related to ASP.NET Building Controls, Design and Development.
-
nidii #1
"master" attribute not recognized
Hello,
I'm trying to define a default master page in web.config
for my web application lihe this:
<appSettings/>
<system.web>
<!--
Set the default master page
-->
<pages master="Templates/MasterAdvertising.master"/>
<!--
Set compilation debug="true" to insert debugging symbols
into the compiled page.
Because this affects performance, set this value to true
only during development.
-->
<compilation debug="true"/>
<!--
The <authentication> section enables configuration of the
security authentication
mode used by ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration of what
to do if/when an unhandled
error occurs during the execution of a request.
Specifically, it enables developers
to configure html error pages to be displayed in place of
a error stack trace.
-->
<customErrors mode="RemoteOnly"
defaultRedirect="GenericErrorPage.htm">
<!--
<error statusCode="403" redirect="NoAccess.htm"/>
<error statusCode="404" redirect="FileNotFound.htm"/>
-->
</customErrors>
</system.web>
</configuration>
At the compilation i get this error
D:\projects\cal\online\SRC\CalOnline2005UI\Templat es\MasterHeader.master:
ASP.NET runtime error: Unrecognized attribute 'master'.
(D:\projects\cal\online\SRC\CalOnline2005UI\web.co nfig line
17)D:\projects\cal\online\SRC\CalOnline2005UI\Temp lates\MasterHeader.master
Anybody knows how can be fixed?
Thanks,
Nidi
nidii Guest
-
#39052 [NEW]: pdo::query with "show slave/master status"
From: xing at mac dot com Operating system: Linux PHP version: 5.1.6 PHP Bug Type: PDO related Bug description: pdo::query... -
#39052 [Opn->Fbk]: pdo::query with "show slave/master status"
ID: 39052 Updated by: tony2001@php.net Reported By: xing at mac dot com -Status: Open +Status: ... -
InDesign "ghostly" objects from master
When you create a document with more then one master page (for example: "A-master", "B-master"...) InDesign CS copy right master page over the left... -
"stereotyping" (was: Strong Typing (Managing metadata about attribute types)
On Fri, 21 Nov 2003 02:35:05 +0900, Sean O'Dell wrote: Forgive me for being boggled, Sean. That's typically the third thing that I do (after... -
"stereotyping" (was: Strong Typing (Managing metadata about attribute types)
On Thu, 20 Nov 2003 05:17:10 +0900, Sean O'Dell wrote: would irb(main):002:0> require 'socket' => true irb(main):003:0> Socket.ancestors... -
John Saunders #2
Re: "master" attribute not recognized
"nidii" <nidii@hotmail.com> wrote in message
news:42ba4f40.0411220217.74ce21ba@posting.google.c om...Are you sure you're running the correct version of ASP.NET? "master" is an> Hello,
>
> I'm trying to define a default master page in web.config
> for my web application lihe this:
>
>
> <appSettings/>
> <system.web>
>
> <!--
> Set the default master page
> -->
>
> <pages master="Templates/MasterAdvertising.master"/>
>
> <!--
> Set compilation debug="true" to insert debugging symbols
> into the compiled page.
> Because this affects performance, set this value to true
> only during development.
> -->
> <compilation debug="true"/>
> <!--
> The <authentication> section enables configuration of the
> security authentication
> mode used by ASP.NET to identify an incoming user.
> -->
> <authentication mode="Windows"/>
> <!--
> The <customErrors> section enables configuration of what
> to do if/when an unhandled
> error occurs during the execution of a request.
> Specifically, it enables developers
> to configure html error pages to be displayed in place of
> a error stack trace.
> -->
> <customErrors mode="RemoteOnly"
> defaultRedirect="GenericErrorPage.htm">
> <!--
> <error statusCode="403" redirect="NoAccess.htm"/>
> <error statusCode="404" redirect="FileNotFound.htm"/>
> -->
> </customErrors>
> </system.web>
> </configuration>
>
>
> At the compilation i get this error
>
> D:\projects\cal\online\SRC\CalOnline2005UI\Templat es\MasterHeader.master:
> ASP.NET runtime error: Unrecognized attribute 'master'.
> (D:\projects\cal\online\SRC\CalOnline2005UI\web.co nfig line
> 17)D:\projects\cal\online\SRC\CalOnline2005UI\Temp lates\MasterHeader.master
>
>
> Anybody knows how can be fixed?
ASP.NET 2.0 feature.
John Saunders
John Saunders Guest
-
Nidi Iacobsohn #3
Re: "master" attribute not recognized
Yea, right...
I am trying this in asp.net 2, endeed... :)
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Nidi Iacobsohn Guest



Reply With Quote

