I am having a problem with the declaration in the .aspx file when it
comes to inheriting the code behind screens.
By default the IDE inserts the following line of code into the HTML portion
of the .aspx file.

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="index_m.aspx.vb" inherits="prjName.index_m"%>

This was working without a problem. We now have an error generated from the
server as follows:

Server Error in '/Sugar' 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 base type 'prjName.index_m' does not exist in the
source file 'index_m.aspx.vb'.

Source Error:

We now have to change the line to read the following to get it to work:

<%@ Page Language="vb" AutoEventWireup="false" src="index_m.aspx.vb"
Codebehind="index_m.aspx.vb" inherits="index_m"%>

This will then works fine. The problem is if you make a change to the .aspx
file the server reinserts, "inherits="prjName.index_m.aspx", into the page
re-creating the problem above. This never used to happen. Now it is
affecting all pages created in the website. We have not made any changes to
the configuration of local development enviroments or the server. We are
running SP2 for the .NET framework.
Does anyone have a possible clue as to what the issue might be. A quick
answer or fix is appreciated.