web.config help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mbatestblrock
    New Member
    • Sep 2007
    • 164

    web.config help

    So I need some help on an asp app. I am very very new to asp, and I am using Microsoft Expression web as a result of this.

    I can get my app to work perfectly fine in the testing server that MEW provides. However, when I move it over to my little web server running IIS 6 it does not work! I have configured the server to run asp and all that jazz. It runs my default page real nice which just has two links to the two pages that DONT work.

    The two pages are linked to the same access database and all they are doing is pulling a query from access and displaying them in a data grid.

    Like I said it works fine in my testing server. I am going to post pictures for you all because they may explain things better than I can!

    here is pic of my site setup in Expression Web
    Expression web setup


    Here is a pic of it running in the development server
    running in development server

    Here is a shot of the files in my web server
    files on actual server

    And here is the error I get when trying to run a page.
    error on page




    I am sure this may be an easy web.config issue. I tried searching and found nothing on this. I am JUST lost and could really use some help.

    Thank you everyone so much!
  • epower
    New Member
    • Oct 2007
    • 2

    #2
    Hello,

    I am relatively new to ASP as well, but here is my first suggestion. The error that you are receiving is really just telling you that it can't give you the real error message. If you go into your web.config file and then add or modify the following setting: <customErrors mode="Off"/> you can see more informative error messages. (You will probably want to change this back to "ON" or "REMOTEONLY " when you release the application.) Then you can post again with the detailed error message if you still need help.

    Hope this helps!

    Comment

    • mbatestblrock
      New Member
      • Sep 2007
      • 164

      #3
      Sorry I should have posted this in with the post. I have no web.config and when I make it with the recommended settings that were on the page.

      <!-- Web.Config Configuration File -->

      <configuratio n>
      <system.web>
      <customErrors mode="Off"/>
      </system.web>
      </configuration>

      and then i get this....

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

      Server Error in '/' Application.
      Parser Error
      Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

      Parser Error Message: Could not load type System.Web.UI.W ebControls.Grid View from assembly System.Web, Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a.

      Source Error:

      Line 11:
      Line 12: <form id="form1" runat="server">
      Line 13: <asp:GridView runat="server" id="GridView1" AutoGenerateCol umns="False" DataSourceID="A ccessDataSource 1" DataKeyNames="S erial_Number" AllowSorting="T rue">
      Line 14: <Columns>
      Line 15: <asp:boundfie ld DataField="Stat us" SortExpression= "Status" HeaderText="Sta tus">


      Source File: c:\inetpub\wwwr oot\inventory.a spx Line: 13

      Version Information: Microsoft .NET Framework Version:1.1.432 2.2407; ASP.NET Version:1.1.432 2.2407




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

      I guess my main problem is I do not understand what needs to be in this web file???

      any takers???

      Comment

      • Spoogledrummer
        New Member
        • Oct 2007
        • 21

        #4
        I'm pretty sure .aspx is an ASP.NET extension, are you working with .NET or using classic ASP?

        Comment

        • mbatestblrock
          New Member
          • Sep 2007
          • 164

          #5
          Sorry .net.. is this the wrong place to posting this???

          Comment

          • jhardman
            Recognized Expert Specialist
            • Jan 2007
            • 3405

            #6
            Originally posted by mbatestblrock
            Sorry .net.. is this the wrong place to posting this???
            Yes. ASP.NET is what they call web apps made with .NET. It is a different animal than ASP. I have moved it over for you.

            Jared

            Comment

            • kenobewan
              Recognized Expert Specialist
              • Dec 2006
              • 4871

              #7
              Sorry but this is a comedy of errors - you published your asp.net site without a config file and now you are publishing the errors so others can test them for you? Hey we were all new at this once, but at least most of us took a course or studied a book first. Asp.net is challenging, but this is not a teaching site. Suggest you learn the basics and return when you can understand what is going on. I am closing this thread. Thanks.

              MODERATOR

              Comment

              Working...