error in new Web Project

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: error in new Web Project

    i have a project i created yesterday. when i came in this
    morning to work with it...i got the following error:

    "The file failed to load in the Web Form designer. Please
    correct the following error, then load it again: Invalid
    URL."

    i've checked everything out and everything is where it's
    supposed to be...anybody?

    here is the @Page directive
    <%@ Page Language="vb" AutoEventWireup="false"
    Codebehind="Home.aspx.vb" Inherits="SAINET.Web.Home" %>

    By the way all of the pages (and controls) are giving me
    that error in this project. Also here are the properties
    of the Project...

    Assembly Name: SAINET.Web
    Root Namespace: SAINET.Web
    Project Folder: [url]http://a.valid.url/SAINET.Web/[/url]
    Project File: SAINET.Web.vbproj
    Output Name: SAINET.Web.dll

    The symptoms of this problem are:
    ->Page "Design" is disabled
    ->Intellisense/Auto Complete is disabled in "HTML" view
    (very annoying)

    I worked all day on the project yesterday...the project
    builds fine and runs fine...however it's kind of a bummer
    not to have all of the features of VS.NET editor might as
    well use notepad, lol.


    thanks,
    dennis
    Dennis Peterson Guest

  2. Similar Questions and Discussions

    1. New Project ASP.NET Error
      Hi, When I try to create a new project (C# Web App .NET in my Windows 2003 Server Enterprise) with Visual S. 2003, I get the 500 Internal server...
    2. Error doing a new webservice project
      Any idea what I would need to look at configuring when I get. "The Web server reported the following error when attepting to create or open the...
    3. Error Creating ASP.Net Project
      Hi, I have setup a test server with the following installed: 1) Windoes Server 2003 - Latest SPs applied. 2) Ms_SQL Server 2000 - Latest SPs...
    4. Error While trying to run project.
      I am running Asp.Net on XP proff. I have re installed it several times but i still get this message. Also If i select the Yes option of the message...
    5. error while trying to run project
      hi all... I get an error while trying to run project telling me: unable to start debugging on the web server. the project is not configured to be...
  3. #2

    Default Re: error in new Web Project

    It would be useful if you could post some more details about your
    pages. Here are the causes that i know of:

    Property with Session access causes "The file failed to load in the
    Web Form designer."
    Your pages (or their base class) have a property that access the
    Session object. The Session object is not available at design time =>
    this causes the error. Then: Why did it work yesterday? I noticed,
    that the designer still works until you close the pages and open them
    again.
    To avoid this place this attribute in fornt of your Property:
    [DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)]

    A second cause may be due to Visual Studio .Net 2003. i had this
    problem after upgrading from VS 2002. All Pages that had a different
    Base class than the Page class could not be displayed. In my case, i
    had to delete my user profile to get it working again.

    hope this helps

    Peter Gossmann
    MCP for ASP.NET


    "Dennis Peterson" <p30carver@hotmail.com> wrote in message news:<0bd001c352b9$406082c0$a301280a@phx.gbl>...
    > i have a project i created yesterday. when i came in this
    > morning to work with it...i got the following error:
    >
    > "The file failed to load in the Web Form designer. Please
    > correct the following error, then load it again: Invalid
    > URL."
    >
    > i've checked everything out and everything is where it's
    > supposed to be...anybody?
    >
    > here is the @Page directive
    > <%@ Page Language="vb" AutoEventWireup="false"
    > Codebehind="Home.aspx.vb" Inherits="SAINET.Web.Home" %>
    >
    > By the way all of the pages (and controls) are giving me
    > that error in this project. Also here are the properties
    > of the Project...
    >
    > Assembly Name: SAINET.Web
    > Root Namespace: SAINET.Web
    > Project Folder: [url]http://a.valid.url/SAINET.Web/[/url]
    > Project File: SAINET.Web.vbproj
    > Output Name: SAINET.Web.dll
    >
    > The symptoms of this problem are:
    > ->Page "Design" is disabled
    > ->Intellisense/Auto Complete is disabled in "HTML" view
    > (very annoying)
    >
    > I worked all day on the project yesterday...the project
    > builds fine and runs fine...however it's kind of a bummer
    > not to have all of the features of VS.NET editor might as
    > well use notepad, lol.
    >
    >
    > thanks,
    > dennis
    Peter Gossmann Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139