views:

26

answers:

1

Hi I have created a master page and attached other pages to, and it looks fine. But when i run it it give me the following error message-

*Parse Error Message: The file'/projectname/MasterPage.vb' does not exist*

I dont know why becuase the master page is there. and it continues to the next line and says-

Line1 <% Master Language="VB" CodeFile="MasterPage.master.vb" Inherits=MasterPage" %>

any suggestion?

A: 

check on solution explorer for this file MasterPage.vb maybe you deleted. Or just click twice anywhere on your file MasterPage.master on design view if it shows you the file MasterPage.vb check that your class name is Partial Class MasterPage

pepelucaz