master page virtual path ......directive error

Y

YY

Every time I add the directive <%@ MasterType
VirtualPath="~/SttAllocation.Master" %>


Server Error in '/' Application.

Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: CS0030: Cannot convert type
'SttAllocation.SttMaster' to 'ASP.sttmaster_master'

Source Error:

Line 148: public new ASP.Sttmaster_master Master {
Line 149: get {
Line 150: return ((ASP.sttmaster_master)(base.Master));
Line 151: }
Line 152: }


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\d357ec28\684c5874\App_Web_availablecrn.aspx.d4d077b3.vixdnvqk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,265
Latest member
TodLarocca

Latest Threads

Top