ASP.Net 1.1 not Responding???

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

    ASP.Net 1.1 not Responding???

    Ok, I'm stuck. Yes, I'm fairly new to this but I thought I had a better
    understand of how things work. So I need some help, please!

    I'm setting up a test box to use while modifying a dll that runs our home
    page. It's a XP Pro box, IIS 5, with ASP.Net 1.1 installed. Same setup I
    used when originally creating the site and dll. The drive has been
    reformatted since then, however, as I mentioned all the necessary pieces
    seem to be installed.

    When I try to browse to the home page I get the following error....


    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and
    then click the Refresh button, or try again later.


    ------------------------------------------------------------------------------

    A name was started with an invalid character. Error processing resource
    'http://libsys-test/'. Line 1, Position 2

    <%@ Page Language="VB" ContentType="te xt/html" ResponseEncodin g="iso-8859-1"
    %>
    -^


    The first few lines of my page follows....

    <%@ Page Language="VB" ContentType="te xt/html" ResponseEncodin g="iso-8859-1"
    %>
    <%@ Register TagPrefix="LibC TRL" TagName="NewsFe ed"
    Src="_includes/newsfeed.ascx" %>
    <?xml version="1.0" encoding="iso-8859-1"?>

    I remove my first two lines and the registered custom control located in the
    middle of the page. When I try browsing again I get the following error...

    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and
    then click the Refresh button, or try again later.


    ------------------------------------------------------------------------------

    End tag 'head' does not match the start tag 'link'. Error processing
    resource 'http://localhost/'. Line 12, Position 3

    </head>
    --^

    So I remove my third line....
    <?xml version="1.0" encoding="iso-8859-1"?>

    And now I can actually browse to my page. However, it appears that none of
    my #include instructions are working (<!--#include
    file="_includes/footer.htm" -->). No footer appears on my page.

    Yes, this page and directory structure works correctly on our main server.
    It's like any kind of ASP.Net or server processing isn't happening.

    Any ideas? Am I overlooking something simple. I have reinstlled the 1.1
    update.

    Thanks in advance for any help!!!!!

    -- ERiC


  • EDOnLine

    #2
    Re: ASP.Net 1.1 not Responding???

    Any ideas???


    Comment

    • Juan T. Llibre

      #3
      Re: ASP.Net 1.1 not Responding???

      What is the reasoning for you to include this line :

      <?xml version="1.0" encoding="iso-8859-1"?>

      in an *.aspx page ?

      re:[color=blue]
      > none of my #include instructions are working (<!--#include file="_includes/footer.htm" -->).[/color]

      You shouldn't use includes in asp.net. Use user controls, instead.



      Juan T. Llibre
      ASP.NET MVP
      ============
      "EDOnLine" <edonlineX@yaho oX.com> wrote in message news:%23aV23v$$ FHA.664@TK2MSFT NGP10.phx.gbl.. .[color=blue]
      > Any ideas???[/color]


      Comment

      • EDOnLine

        #4
        Re: ASP.Net 1.1 not Responding???

        Correct. I've been told it was left over from a template file and was
        missed on clean up.

        The footer include is there just because it was easy. :-) And was
        forgotten.






        "Juan T. Llibre" <nomailreplies@ nowhere.com> wrote in message
        news:O%23HnY1$$ FHA.980@tk2msft ngp13.phx.gbl.. .[color=blue]
        > What is the reasoning for you to include this line :
        >
        > <?xml version="1.0" encoding="iso-8859-1"?>
        >
        > in an *.aspx page ?
        >
        > re:[color=green]
        >> none of my #include instructions are working (<!--#include
        >> file="_includes/footer.htm" -->).[/color]
        >
        > You shouldn't use includes in asp.net. Use user controls, instead.
        >
        >
        >
        > Juan T. Llibre
        > ASP.NET MVP
        > ============
        > "EDOnLine" <edonlineX@yaho oX.com> wrote in message
        > news:%23aV23v$$ FHA.664@TK2MSFT NGP10.phx.gbl.. .[color=green]
        >> Any ideas???[/color]
        >
        >[/color]


        Comment

        • EDOnLine

          #5
          Re: ASP.Net 1.1 not Responding???

          I seem to have moved beyond the error I was getting. I did an uninstall for
          everything related to the .Net framework and then reinstalled it.

          However, now I'm getting the following error. I think it may be permissions
          for the ASPNET account. Any suggestions???


          Server Error in '/' Application.
          --------------------------------------------------------------------------------

          Configuration Error
          Description: An error occurred during the processing of a configuration file
          required to service this request. Please review the specific error details
          below and modify your configuration file appropriately.

          Parser Error Message: Access is denied: 'LibWebCtrl'.

          Source Error:

          Line 256: <add assembly="Syste m.EnterpriseSer vices,
          Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
          Line 257: <add assembly="Syste m.Web.Mobile,
          Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
          Line 258: <add assembly="*"/>
          Line 259: </assemblies>
          Line 260:

          Source File:
          c:\windows\micr osoft.net\frame work\v1.1.4322\ Config\machine. config Line:
          258

          Assembly Load Trace: The following information can be helpful to determine
          why the assembly 'LibWebCtrl' could not be loaded.

          === Pre-bind state information ===
          LOG: DisplayName = LibWebCtrl
          (Partial)
          LOG: Appbase = file:///c:/inetpub/wwwroot
          LOG: Initial PrivatePath = bin
          Calling assembly : (Unknown).
          ===

          LOG: Policy not being applied to reference at this time (private, custom,
          partial, or location-based assembly bind).
          LOG: Post-policy reference: LibWebCtrl
          LOG: Attempting download of new URL
          file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
          Files/root/2135a508/8d69a834/LibWebCtrl.DLL.
          LOG: Attempting download of new URL
          file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
          Files/root/2135a508/8d69a834/LibWebCtrl/LibWebCtrl.DLL.
          LOG: Attempting download of new URL
          file:///c:/inetpub/wwwroot/bin/LibWebCtrl.DLL.



          Comment

          Working...