我有一个MVC3 application.In和views文件夹,我创建了一个名为reports的文件夹,在reports中我添加了一个名称为"participantReport.aspx“的aspx页面。我在共享文件夹中创建了一个母版页(一个普通的母版页,而不是MVC3母版页),并将其用于此aspx页。
问题是,当我键入url作为"localhost:xxxx/Reports/participantReport.aspx“,我得到一个”服务器错误在'/‘Application.The资源找不到“。消息。
此外,在控制器中,我使用了如下所示的函数:
public
所以我有一个母版页,它有以下功能
'# Get and/or Set the Page ID
Public Property GetPageId() As String
Get
Return pgId
End Get
Set(ByVal value As String)
pgId = value
End Set
End Property
在我的模板中,即引用母版页的Default.aspx,如下所示
<%@ Page Title="" Language="vb" AutoEventW