|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Errors in Page directive<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="adminhome.aspx.vb" Inherits="AFBE.adminhome" %> Error 4 Character is not valid. C:\Inetpub\wwwroot\AFBE\adminhome.aspx 1 1 AFBE Error 5 Expression expected. C:\Inetpub\wwwroot\AFBE\adminhome.aspx 1 1 AFBE Error 6 End of statement expected. C:\Inetpub\wwwroot\AFBE\adminhome.aspx 1 1 AFBE Several things I noticed that are making it hard for me to solve this problem are: 1. All three errors have the same Line & Column 2. The directive looks exactly the same as my Page directives always do 3. I am only recieving these errors in two of my pages 4. The directive was automatically generated The other page that is giving these errors looks exactly the same, except that the CodeBehind and Inherits attributes are different. If anyone has any idea why this is causing an error, I would appreciate it. Thanks. No need to cross-post so much
Create a brand new page with those directives. Could be hidden garbage/corrupted characters "Nathan Sokalski" <njsokal***@hotmail.com> wrote in message I have a couple pages in my application that show errors in the Page news:OABaAOg%23GHA.2408@TK2MSFTNGP05.phx.gbl... directive that I cannot find. Here is a copy of my Page directive and the errors that it lists for it: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="adminhome.aspx.vb" Inherits="AFBE.adminhome" %> Error 4 Character is not valid. C:\Inetpub\wwwroot\AFBE\adminhome.aspx 1 1 AFBE Error 5 Expression expected. C:\Inetpub\wwwroot\AFBE\adminhome.aspx 1 1 AFBE Error 6 End of statement expected. C:\Inetpub\wwwroot\AFBE\adminhome.aspx 1 1 AFBE Several things I noticed that are making it hard for me to solve this problem are: 1. All three errors have the same Line & Column 2. The directive looks exactly the same as my Page directives always do 3. I am only recieving these errors in two of my pages 4. The directive was automatically generated The other page that is giving these errors looks exactly the same, except that the CodeBehind and Inherits attributes are different. If anyone has any idea why this is causing an error, I would appreciate it. Thanks. I tried recreating the two pages that were giving these errors, but it is
giving them again. Is it possible that there is some setting somewhere that is causing Visual Studio .NET to look at these files using a different encoding, or some other setting that is causing the problem? Thanks. Show quoteHide quote "Jeff Dillon" <jef***@nowhere.com> wrote in message news:uawcmSg%23GHA.4472@TK2MSFTNGP05.phx.gbl... > No need to cross-post so much > > Create a brand new page with those directives. Could be hidden > garbage/corrupted characters > > > "Nathan Sokalski" <njsokal***@hotmail.com> wrote in message > news:OABaAOg%23GHA.2408@TK2MSFTNGP05.phx.gbl... > I have a couple pages in my application that show errors in the Page > directive that I cannot find. Here is a copy of my Page directive and the > errors that it lists for it: > > <%@ Page Language="vb" AutoEventWireup="false" > CodeBehind="adminhome.aspx.vb" Inherits="AFBE.adminhome" %> > > > Error 4 Character is not valid. C:\Inetpub\wwwroot\AFBE\adminhome.aspx 1 1 > AFBE > Error 5 Expression expected. C:\Inetpub\wwwroot\AFBE\adminhome.aspx 1 1 > AFBE > Error 6 End of statement expected. C:\Inetpub\wwwroot\AFBE\adminhome.aspx > 1 1 AFBE > > > > Several things I noticed that are making it hard for me to solve this > problem are: > > 1. All three errors have the same Line & Column > 2. The directive looks exactly the same as my Page directives always do > 3. I am only recieving these errors in two of my pages > 4. The directive was automatically generated > > The other page that is giving these errors looks exactly the same, except > that the CodeBehind and Inherits attributes are different. If anyone has > any idea why this is causing an error, I would appreciate it. Thanks. > -- > Nathan Sokalski > njsokal***@hotmail.com > http://www.nathansokalski.com/ >
Existential question!
vb.net; controls Adding Lines to Access Database Detecting textchanged event when user initiates it how to check whether a number is an integer? Exception message How to tell if my app is running on laptop or desktop? Simple thread implementation not working. How to Reference a .Net Assembly from within VBA? when to use an Interface (the template like thing) in my project? |
|||||||||||||||||||||||