Professional Web Applications Themes

Compile error when 2 pages use same codebehind file - ASP.NET General

I have 2 pages referencing the same codebehind file in my project. Originally the pages referenced separate code behind files. Once I changed the reference to the same file, everything worked fine while the file was in the project directory. When the obsolete file was removed from the project directory, my application will no longer compile. Can someone please help with this issue? Thank in advance, Tom...

  1. #1

    Default Compile error when 2 pages use same codebehind file

    I have 2 pages referencing the same codebehind file in my
    project. Originally the pages referenced separate code
    behind files. Once I changed the reference to the same
    file, everything worked fine while the file was in the
    project directory. When the obsolete file was removed
    from the project directory, my application will no longer
    compile. Can someone please help with this issue?

    Thank in advance,
    Tom
    Thomas Connolly Guest

  2. #2

    Default RE: Compile Error

    Yes I did get an error message saying that the source
    files of the obsolete pages cannot be found.

    >-----Original Message-----
    >Hi Tom,
    >
    >Do you get an error when you compile? What's the error?
    >
    >Jim Cheshire
    >Developer Support
    >ASP.NET
    >jamescheonline.microsoft.com
    >
    >This post is provided as-is with no warranties and
    confers no rights.
    >
    >--------------------
    >>Content-Class: urn:content-classes:message
    >>From: "Thomas Connolly"
    <thomas.connollyus.ssiworldwide.com>
    >>Sender: "Thomas Connolly"
    <thomas.connollyus.ssiworldwide.com>
    >>Subject: Compile error when 2 pages use same codebehind
    file
    >>Date: Fri, 25 Jul 2003 15:16:22 -0700
    >>Lines: 10
    >>Message-ID: <02ec01c352fa$61828070$a501280aphx.gbl>
    >>MIME-Version: 1.0
    >>Content-Type: text/plain;
    >> cht="iso-8859-1"
    >>Content-Transfer-Encoding: 7bit
    >>X-Newsreader: Microsoft CDO for Windows 2000
    >>X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
    >>Thread-Index: AcNS+mGCgbv5w+SZStmdnoMjjLKCPA==
    >>Newsgroups: microsoft.public.dotnet.framework.aspnet
    >>Path: cpmsftngxa06.phx.gbl
    >>Xref: cpmsftngxa06.phx.gbl
    microsoft.public.dotnet.framework.aspnet:162250
    >>NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
    >>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >>
    >>I have 2 pages referencing the same codebehind file in
    my
    >>project. Originally the pages referenced separate code
    >>behind files. Once I changed the reference to the same
    >>file, everything worked fine while the file was in the
    >>project directory. When the obsolete file was removed
    >>from the project directory, my application will no
    longer
    >>compile. Can someone please help with this issue?
    >>
    >>Thank in advance,
    >>Tom
    >>
    >
    >.
    >
    Thomas Connolly Guest

  3. #3

    Default RE: Compile error when 2 pages use same codebehind file

    To be more specific, here is the error:
    Source file 'C:\Inetpub\wwwroot\WYIRIS\FAQ_Txt.aspx.cs'
    could not be opened ('The system cannot find the file
    specified. ')
    >-----Original Message-----
    >Hi Tom,
    >
    >Do you get an error when you compile? What's the error?
    >
    >Jim Cheshire
    >Developer Support
    >ASP.NET
    >jamescheonline.microsoft.com
    >
    >This post is provided as-is with no warranties and
    confers no rights.
    >
    >--------------------
    >>Content-Class: urn:content-classes:message
    >>From: "Thomas Connolly"
    <thomas.connollyus.ssiworldwide.com>
    >>Sender: "Thomas Connolly"
    <thomas.connollyus.ssiworldwide.com>
    >>Subject: Compile error when 2 pages use same codebehind
    file
    >>Date: Fri, 25 Jul 2003 15:16:22 -0700
    >>Lines: 10
    >>Message-ID: <02ec01c352fa$61828070$a501280aphx.gbl>
    >>MIME-Version: 1.0
    >>Content-Type: text/plain;
    >> cht="iso-8859-1"
    >>Content-Transfer-Encoding: 7bit
    >>X-Newsreader: Microsoft CDO for Windows 2000
    >>X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
    >>Thread-Index: AcNS+mGCgbv5w+SZStmdnoMjjLKCPA==
    >>Newsgroups: microsoft.public.dotnet.framework.aspnet
    >>Path: cpmsftngxa06.phx.gbl
    >>Xref: cpmsftngxa06.phx.gbl
    microsoft.public.dotnet.framework.aspnet:162250
    >>NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
    >>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >>
    >>I have 2 pages referencing the same codebehind file in
    my
    >>project. Originally the pages referenced separate code
    >>behind files. Once I changed the reference to the same
    >>file, everything worked fine while the file was in the
    >>project directory. When the obsolete file was removed
    >>from the project directory, my application will no
    longer
    >>compile. Can someone please help with this issue?
    >>
    >>Thank in advance,
    >>Tom
    >>
    >
    >.
    >
    Thomas Connolly Guest

  4. #4

    Default Re: Compile error when 2 pages use same codebehind file

    Open the .csproj and .sln files with a text editor, and search for
    references to the obsolete file. I have had similar problems when deleting
    unwanted code behind files.

    Regards

    Ron

    "Thomas Connolly" <thomas.connollyus.ssiworldwide.com> wrote in message
    news:02ec01c352fa$61828070$a501280aphx.gbl...
    > I have 2 pages referencing the same codebehind file in my
    > project. Originally the pages referenced separate code
    > behind files. Once I changed the reference to the same
    > file, everything worked fine while the file was in the
    > project directory. When the obsolete file was removed
    > from the project directory, my application will no longer
    > compile. Can someone please help with this issue?
    >
    > Thank in advance,
    > Tom

    Ron McNulty Guest

  5. #5

    Default RE: Compile error when 2 pages use same codebehind file

    Tom,

    Did you remove the reference from the Page directive? I'm asking because I
    want to try and reproduce your problem and I haven't been able to do so. I
    have two Webforms. I changed the second's Page directive to indicate that
    the codebehind file is the first's codebehind file and I also changed the
    class that it inherits. (Did you do that?) When I compile after deleting
    the original codebehind, it works fine.

    The only thing I can think of is that you did not change the class that
    your Webform inherits from.

    Jim Cheshire
    Developer Support
    ASP.NET
    [email]jamescheonline.microsoft.com[/email]

    This post is provided as-is with no warranties and confers no rights.


    --------------------
    >Content-Class: urn:content-classes:message
    >From: "Thomas Connolly" <thomas.connollyus.ssiworldwide.com>
    >Sender: "Thomas Connolly" <thomas.connollyus.ssiworldwide.com>
    >References: <02ec01c352fa$61828070$a501280aphx.gbl>
    <x4CzZwvUDHA.2240cpmsftngxa06.phx.gbl>
    >Subject: RE: Compile error when 2 pages use same codebehind file
    >Date: Fri, 25 Jul 2003 15:53:48 -0700
    >Lines: 59
    >Message-ID: <1fe801c352ff$9bc4cd10$a001280aphx.gbl>
    >MIME-Version: 1.0
    >Content-Type: text/plain;
    > cht="iso-8859-1"
    >Content-Transfer-Encoding: 7bit
    >X-Newsreader: Microsoft CDO for Windows 2000
    >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
    >Thread-Index: AcNS/5vEu2SNKBrPRLWzprJFDjfryQ==
    >Newsgroups: microsoft.public.dotnet.framework.aspnet
    >Path: cpmsftngxa06.phx.gbl
    >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:162261
    >NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >
    >To be more specific, here is the error:
    >Source file 'C:\Inetpub\wwwroot\WYIRIS\FAQ_Txt.aspx.cs'
    >could not be opened ('The system cannot find the file
    >specified. ')
    >
    >>-----Original Message-----
    >>Hi Tom,
    >>
    >>Do you get an error when you compile? What's the error?
    >>
    >>Jim Cheshire
    >>Developer Support
    >>ASP.NET
    >>jamescheonline.microsoft.com
    >>
    >>This post is provided as-is with no warranties and
    >confers no rights.
    >>
    >>--------------------
    >>>Content-Class: urn:content-classes:message
    >>>From: "Thomas Connolly"
    ><thomas.connollyus.ssiworldwide.com>
    >>>Sender: "Thomas Connolly"
    ><thomas.connollyus.ssiworldwide.com>
    >>>Subject: Compile error when 2 pages use same codebehind
    >file
    >>>Date: Fri, 25 Jul 2003 15:16:22 -0700
    >>>Lines: 10
    >>>Message-ID: <02ec01c352fa$61828070$a501280aphx.gbl>
    >>>MIME-Version: 1.0
    >>>Content-Type: text/plain;
    >>> cht="iso-8859-1"
    >>>Content-Transfer-Encoding: 7bit
    >>>X-Newsreader: Microsoft CDO for Windows 2000
    >>>X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
    >>>Thread-Index: AcNS+mGCgbv5w+SZStmdnoMjjLKCPA==
    >>>Newsgroups: microsoft.public.dotnet.framework.aspnet
    >>>Path: cpmsftngxa06.phx.gbl
    >>>Xref: cpmsftngxa06.phx.gbl
    >microsoft.public.dotnet.framework.aspnet:162250
    >>>NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
    >>>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >>>
    >>>I have 2 pages referencing the same codebehind file in
    >my
    >>>project. Originally the pages referenced separate code
    >>>behind files. Once I changed the reference to the same
    >>>file, everything worked fine while the file was in the
    >>>project directory. When the obsolete file was removed
    >>>from the project directory, my application will no
    >longer
    >>>compile. Can someone please help with this issue?
    >>>
    >>>Thank in advance,
    >>>Tom
    >>>
    >>
    >>.
    >>
    >
    Jim Cheshire Guest

  6. #6

    Default RE: Compile error when 2 pages use same codebehind file

    Yes I did change both the class and the code behind file
    in the page directive. Keep in mind that in the IDE,
    everything runs fine. Try this, keep aspx page 2
    referencing the code behind file in aspx page 1. Delete
    the obsolete code behind file from the original aspx page
    2. save everything. Compile. Close the IDE and manually
    navigate to the page using your browser. Does it load.
    >-----Original Message-----
    >Tom,
    >
    >Did you remove the reference from the Page directive?
    I'm asking because I
    >want to try and reproduce your problem and I haven't been
    able to do so. I
    >have two Webforms. I changed the second's Page directive
    to indicate that
    >the codebehind file is the first's codebehind file and I
    also changed the
    >class that it inherits. (Did you do that?) When I
    compile after deleting
    >the original codebehind, it works fine.
    >
    >The only thing I can think of is that you did not change
    the class that
    >your Webform inherits from.
    >
    >Jim Cheshire
    >Developer Support
    >ASP.NET
    >jamescheonline.microsoft.com
    >
    >This post is provided as-is with no warranties and
    confers no rights.
    >
    >
    >--------------------
    >>Content-Class: urn:content-classes:message
    >>From: "Thomas Connolly"
    <thomas.connollyus.ssiworldwide.com>
    >>Sender: "Thomas Connolly"
    <thomas.connollyus.ssiworldwide.com>
    >>References: <02ec01c352fa$61828070$a501280aphx.gbl>
    ><x4CzZwvUDHA.2240cpmsftngxa06.phx.gbl>
    >>Subject: RE: Compile error when 2 pages use same
    codebehind file
    >>Date: Fri, 25 Jul 2003 15:53:48 -0700
    >>Lines: 59
    >>Message-ID: <1fe801c352ff$9bc4cd10$a001280aphx.gbl>
    >>MIME-Version: 1.0
    >>Content-Type: text/plain;
    >> cht="iso-8859-1"
    >>Content-Transfer-Encoding: 7bit
    >>X-Newsreader: Microsoft CDO for Windows 2000
    >>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
    >>Thread-Index: AcNS/5vEu2SNKBrPRLWzprJFDjfryQ==
    >>Newsgroups: microsoft.public.dotnet.framework.aspnet
    >>Path: cpmsftngxa06.phx.gbl
    >>Xref: cpmsftngxa06.phx.gbl
    microsoft.public.dotnet.framework.aspnet:162261
    >>NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
    >>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >>
    >>To be more specific, here is the error:
    >>Source file 'C:\Inetpub\wwwroot\WYIRIS\FAQ_Txt.aspx.cs'
    >>could not be opened ('The system cannot find the file
    >>specified. ')
    >>
    >>>-----Original Message-----
    >>>Hi Tom,
    >>>
    >>>Do you get an error when you compile? What's the error?
    >>>
    >>>Jim Cheshire
    >>>Developer Support
    >>>ASP.NET
    >>>jamescheonline.microsoft.com
    >>>
    >>>This post is provided as-is with no warranties and
    >>confers no rights.
    >>>
    >>>--------------------
    >>>>Content-Class: urn:content-classes:message
    >>>>From: "Thomas Connolly"
    >><thomas.connollyus.ssiworldwide.com>
    >>>>Sender: "Thomas Connolly"
    >><thomas.connollyus.ssiworldwide.com>
    >>>>Subject: Compile error when 2 pages use same
    codebehind
    >>file
    >>>>Date: Fri, 25 Jul 2003 15:16:22 -0700
    >>>>Lines: 10
    >>>>Message-ID: <02ec01c352fa$61828070$a501280aphx.gbl>
    >>>>MIME-Version: 1.0
    >>>>Content-Type: text/plain;
    >>>> cht="iso-8859-1"
    >>>>Content-Transfer-Encoding: 7bit
    >>>>X-Newsreader: Microsoft CDO for Windows 2000
    >>>>X-MIMEOLE: Produced By Microsoft MimeOLE
    V5.50.4910.0300
    >>>>Thread-Index: AcNS+mGCgbv5w+SZStmdnoMjjLKCPA==
    >>>>Newsgroups: microsoft.public.dotnet.framework.aspnet
    >>>>Path: cpmsftngxa06.phx.gbl
    >>>>Xref: cpmsftngxa06.phx.gbl
    >>microsoft.public.dotnet.framework.aspnet:16225 0
    >>>>NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
    >>>>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >>>>
    >>>>I have 2 pages referencing the same codebehind file in
    >>my
    >>>>project. Originally the pages referenced separate
    code
    >>>>behind files. Once I changed the reference to the
    same
    >>>>file, everything worked fine while the file was in the
    >>>>project directory. When the obsolete file was removed
    >>>>from the project directory, my application will no
    >>longer
    >>>>compile. Can someone please help with this issue?
    >>>>
    >>>>Thank in advance,
    >>>>Tom
    >>>>
    >>>
    >>>.
    >>>
    >>
    >
    >.
    >
    Thomas Connolly Guest

  7. #7

    Default RE: Compile error when 2 pages use same codebehind file

    Tom,

    I am replying here so that others can see the response.

    What you need to do is open each one of these pages in VS.NET after you
    move the old code behind. When you do, VS.NET will update project view
    with the new code behind and will put a warning icon over the old code
    behind. Right-click the old code behind with the warning icon and choose
    delete. After you do this for each of your files, it will work fine.

    Hope that helps.

    Jim Cheshire
    Developer Support
    ASP.NET
    [email]jamescheonline.microsoft.com[/email]

    This post is provided as-is with no warranties and confers no rights.

    --------------------
    >X-Tomcat-ID: 459707228
    >References: <02ec01c352fa$61828070$a501280aphx.gbl>
    <x4CzZwvUDHA.2240cpmsftngxa06.phx.gbl>
    <1fe801c352ff$9bc4cd10$a001280aphx.gbl>
    <#THesiSVDHA.2112cpmsftngxa06.phx.gbl>
    <0a9a01c3552b$c5c7dbb0$a601280aphx.gbl>
    >MIME-Version: 1.0
    >Content-Type: text/plain
    >Content-Transfer-Encoding: 7bit
    >From: [email]jamescheonline.microsoft.com[/email] (Jim Cheshire (MS))
    >Organization: Microsoft
    >Date: Mon, 28 Jul 2003 17:55:06 GMT
    >Subject: RE: Compile error when 2 pages use same codebehind file
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >Message-ID: <fSmEjFTVDHA.2112cpmsftngxa06.phx.gbl>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet
    >Lines: 144
    >Path: cpmsftngxa06.phx.gbl
    >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:162716
    >NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
    >
    >Tom,
    >
    >Yes, both do load fine. If you have a project that you can zip up and
    >e-mail to me that exhibits this problem, I'll be glad to look into it for
    >you. You can e-mail me by leaving off the "online" in my e-mail address.
    >
    >Jim Cheshire
    >Developer Support
    >ASP.NET
    >jamescheonline.microsoft.com
    >
    >This post is provided as-is with no warranties and confers no rights.
    >
    >--------------------
    >>Content-Class: urn:content-classes:message
    >>From: "Thomas Connolly" <thomas.connollyus.ssiworldwide.com>
    >>Sender: "Thomas Connolly" <thomas.connollyus.ssiworldwide.com>
    >>References: <02ec01c352fa$61828070$a501280aphx.gbl>
    ><x4CzZwvUDHA.2240cpmsftngxa06.phx.gbl>
    ><1fe801c352ff$9bc4cd10$a001280aphx.gbl>
    ><#THesiSVDHA.2112cpmsftngxa06.phx.gbl>
    >>Subject: RE: Compile error when 2 pages use same codebehind file
    >>Date: Mon, 28 Jul 2003 10:14:58 -0700
    >>Lines: 129
    >>Message-ID: <0a9a01c3552b$c5c7dbb0$a601280aphx.gbl>
    >>MIME-Version: 1.0
    >>Content-Type: text/plain;
    >> cht="iso-8859-1"
    >>Content-Transfer-Encoding: 7bit
    >>X-Newsreader: Microsoft CDO for Windows 2000
    >>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
    >>Thread-Index: AcNVK8XFx7uTIkNmSl2Zm7EXh6SFiQ==
    >>Newsgroups: microsoft.public.dotnet.framework.aspnet
    >>Path: cpmsftngxa06.phx.gbl
    >>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:162694
    >>NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
    >>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >>
    >>Yes I did change both the class and the code behind file
    >>in the page directive. Keep in mind that in the IDE,
    >>everything runs fine. Try this, keep aspx page 2
    >>referencing the code behind file in aspx page 1. Delete
    >>the obsolete code behind file from the original aspx page
    >>2. save everything. Compile. Close the IDE and manually
    >>navigate to the page using your browser. Does it load.
    >>>-----Original Message-----
    >>>Tom,
    >>>
    >>>Did you remove the reference from the Page directive?
    >>I'm asking because I
    >>>want to try and reproduce your problem and I haven't been
    >>able to do so. I
    >>>have two Webforms. I changed the second's Page directive
    >>to indicate that
    >>>the codebehind file is the first's codebehind file and I
    >>also changed the
    >>>class that it inherits. (Did you do that?) When I
    >>compile after deleting
    >>>the original codebehind, it works fine.
    >>>
    >>>The only thing I can think of is that you did not change
    >>the class that
    >>>your Webform inherits from.
    >>>
    >>>Jim Cheshire
    >>>Developer Support
    >>>ASP.NET
    >>>jamescheonline.microsoft.com
    >>>
    >>>This post is provided as-is with no warranties and
    >>confers no rights.
    >>>
    >>>
    >>>--------------------
    >>>>Content-Class: urn:content-classes:message
    >>>>From: "Thomas Connolly"
    >><thomas.connollyus.ssiworldwide.com>
    >>>>Sender: "Thomas Connolly"
    >><thomas.connollyus.ssiworldwide.com>
    >>>>References: <02ec01c352fa$61828070$a501280aphx.gbl>
    >>><x4CzZwvUDHA.2240cpmsftngxa06.phx.gbl>
    >>>>Subject: RE: Compile error when 2 pages use same
    >>codebehind file
    >>>>Date: Fri, 25 Jul 2003 15:53:48 -0700
    >>>>Lines: 59
    >>>>Message-ID: <1fe801c352ff$9bc4cd10$a001280aphx.gbl>
    >>>>MIME-Version: 1.0
    >>>>Content-Type: text/plain;
    >>>> cht="iso-8859-1"
    >>>>Content-Transfer-Encoding: 7bit
    >>>>X-Newsreader: Microsoft CDO for Windows 2000
    >>>>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
    >>>>Thread-Index: AcNS/5vEu2SNKBrPRLWzprJFDjfryQ==
    >>>>Newsgroups: microsoft.public.dotnet.framework.aspnet
    >>>>Path: cpmsftngxa06.phx.gbl
    >>>>Xref: cpmsftngxa06.phx.gbl
    >>microsoft.public.dotnet.framework.aspnet:16226 1
    >>>>NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
    >>>>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >>>>
    >>>>To be more specific, here is the error:
    >>>>Source file 'C:\Inetpub\wwwroot\WYIRIS\FAQ_Txt.aspx.cs'
    >>>>could not be opened ('The system cannot find the file
    >>>>specified. ')
    >>>>
    >>>>>-----Original Message-----
    >>>>>Hi Tom,
    >>>>>
    >>>>>Do you get an error when you compile? What's the error?
    >>>>>
    >>>>>Jim Cheshire
    >>>>>Developer Support
    >>>>>ASP.NET
    >>>>>jamescheonline.microsoft.com
    >>>>>
    >>>>>This post is provided as-is with no warranties and
    >>>>confers no rights.
    >>>>>
    >>>>>--------------------
    >>>>>>Content-Class: urn:content-classes:message
    >>>>>>From: "Thomas Connolly"
    >>>><thomas.connollyus.ssiworldwide.com>
    >>>>>>Sender: "Thomas Connolly"
    >>>><thomas.connollyus.ssiworldwide.com>
    >>>>>>Subject: Compile error when 2 pages use same
    >>codebehind
    >>>>file
    >>>>>>Date: Fri, 25 Jul 2003 15:16:22 -0700
    >>>>>>Lines: 10
    >>>>>>Message-ID: <02ec01c352fa$61828070$a501280aphx.gbl>
    >>>>>>MIME-Version: 1.0
    >>>>>>Content-Type: text/plain;
    >>>>>> cht="iso-8859-1"
    >>>>>>Content-Transfer-Encoding: 7bit
    >>>>>>X-Newsreader: Microsoft CDO for Windows 2000
    >>>>>>X-MIMEOLE: Produced By Microsoft MimeOLE
    >>V5.50.4910.0300
    >>>>>>Thread-Index: AcNS+mGCgbv5w+SZStmdnoMjjLKCPA==
    >>>>>>Newsgroups: microsoft.public.dotnet.framework.aspnet
    >>>>>>Path: cpmsftngxa06.phx.gbl
    >>>>>>Xref: cpmsftngxa06.phx.gbl
    >>>>microsoft.public.dotnet.framework.aspnet:16225 0
    >>>>>>NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
    >>>>>>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >>>>>>
    >>>>>>I have 2 pages referencing the same codebehind file in
    >>>>my
    >>>>>>project. Originally the pages referenced separate
    >>code
    >>>>>>behind files. Once I changed the reference to the
    >>same
    >>>>>>file, everything worked fine while the file was in the
    >>>>>>project directory. When the obsolete file was removed
    >>>>>>from the project directory, my application will no
    >>>>longer
    >>>>>>compile. Can someone please help with this issue?
    >>>>>>
    >>>>>>Thank in advance,
    >>>>>>Tom
    >>>>>>
    >>>>>
    >>>>>.
    >>>>>
    >>>>
    >>>
    >>>.
    >>>
    >>
    >
    >
    Jim Cheshire Guest

Similar Threads

  1. Custom Error Pages - 404 File not found & 301 redirect
    By lynnie2 in forum Coldfusion - Getting Started
    Replies: 3
    Last Post: October 5th, 05:22 PM
  2. "File not found" Error Linux - cfm pages work in adminonly
    By Hunt?r in forum Coldfusion - Getting Started
    Replies: 0
    Last Post: May 3rd, 07:50 AM
  3. PHP 4.3.3 compile error w/GD
    By skubik in forum PHP Development
    Replies: 3
    Last Post: August 27th, 11:21 PM
  4. Replies: 1
    Last Post: July 15th, 03:20 AM
  5. Error during compile of 5.8.1-RC2
    By Eric Kidder in forum PERL Miscellaneous
    Replies: 0
    Last Post: July 14th, 06:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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