Ask a Question related to ASP.NET General, Design and Development.
-
Dennis Peterson #1
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
-
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... -
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... -
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... -
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... -
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... -
Peter Gossmann #2
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,
> dennisPeter Gossmann Guest



Reply With Quote

