web form designer error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ani

    #1

    web form designer error

    Hi,

    After creating a Web form page that works with no
    errors, I try to reopen it later and get this error
    message:
    "The file could not be loaded into the Web Forms designer.
    Please correct the following error and then try loading it
    again:
    The @ Page or @ Control directive contains a src=
    attribute, which is not supported in Visual Studio. Make
    sure all of the classes used in the page are built or
    referenced in the project."

    My main page has this at the top:

    <%@ Page Language="vb" src="CodeBehind .vb"
    Inherits="Quest ionaire.Paging" %>


  • William F. Robertson, Jr.

    #2
    Re: web form designer error

    Try changing the src attribute to codebehind

    bill

    "ani" <anonymous@disc ussions.microso ft.com> wrote in message
    news:001201c39d 76$79015ca0$a40 1280a@phx.gbl.. .[color=blue]
    > Hi,
    >
    > After creating a Web form page that works with no
    > errors, I try to reopen it later and get this error
    > message:
    > "The file could not be loaded into the Web Forms designer.
    > Please correct the following error and then try loading it
    > again:
    > The @ Page or @ Control directive contains a src=
    > attribute, which is not supported in Visual Studio. Make
    > sure all of the classes used in the page are built or
    > referenced in the project."
    >
    > My main page has this at the top:
    >
    > <%@ Page Language="vb" src="CodeBehind .vb"
    > Inherits="Quest ionaire.Paging" %>
    >
    >[/color]


    Comment

    • William F. Robertson, Jr.

      #3
      Re: web form designer error

      Try changing the src attribute to codebehind

      bill

      "ani" <anonymous@disc ussions.microso ft.com> wrote in message
      news:001201c39d 76$79015ca0$a40 1280a@phx.gbl.. .[color=blue]
      > Hi,
      >
      > After creating a Web form page that works with no
      > errors, I try to reopen it later and get this error
      > message:
      > "The file could not be loaded into the Web Forms designer.
      > Please correct the following error and then try loading it
      > again:
      > The @ Page or @ Control directive contains a src=
      > attribute, which is not supported in Visual Studio. Make
      > sure all of the classes used in the page are built or
      > referenced in the project."
      >
      > My main page has this at the top:
      >
      > <%@ Page Language="vb" src="CodeBehind .vb"
      > Inherits="Quest ionaire.Paging" %>
      >
      >[/color]


      Comment

      Working...