Cyber Crime
New Member
I truly feel dumb for asking this, but I have a website (asp.net 4) with 49 pages. The website is in vb.But I added a forum (and called it "knowledgbase"), so it's like ... company.com/knowledgebase/ ... I configured the forum as a separate application in IIS7, and it's written in c#.Is it possible to use one of my vb master pages in the c# forum? Or would I have to create an entirely separate c# master page? Edit:Basically, in the knowledgebase/default.aspx file, there's this:\[code\]<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" Inherits="YAF.ForumPageBase" culture="auto" uiculture="auto" %><%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %><script runat="server">\[/code\]I tried doing this:\[code\]<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" Inherits="YAF.ForumPageBase" culture="auto" uiculture="auto" MasterPageFile="~/homepage.Master" %><%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %><script runat="server">\[/code\]But of course ... the page language says "c#" and the master page is written in vb. So the result was this (as expected):\[code\]Server Error in '/knowledgebase' Application.Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: The 'masterpagefile' attribute is not supported by the 'register' directive.\[/code\]Thanks for any guidance anybody can offer!