Last post Mar 30, 2005 01:59 PM by timmcb
Mar 30, 2005 10:44 AM|Ruks|LINK
Mar 30, 2005 01:59 PM|timmcb|LINK
Look in the page you are trying to load. It probably has a page directive with the src= attribute as the error warns. That is the only case where this error is to be displayed. It would look something like this:
<%@ Page Language="VB" Src="somefile.vb" ... %>
Visual Studio does not support editing this kind of page very well. However, they should work at run-time if properly coded.
You could change it to a codebehind page:
<%@ Page Language="VB" Codebehind="somefile.vb" ... %>
Visual Studio works best with codebehind pages. If you do this I recommend you creating a new page and then cut and paste the sample code into the body and code behind file. This will ensure the page directive is set up properly.