Visual Studio 2005 ASP NET 2.0 Publish Website issues.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #16
    Originally posted by maghi85
    just did that
    and it gives the initial error
    How did you upload your project before?

    Comment

    • maghi85
      New Member
      • Jun 2007
      • 28

      #17
      the same way but without publishing on IIS application first

      Comment

      • maghi85
        New Member
        • Jun 2007
        • 28

        #18
        Originally posted by Plater
        If you want to see your errors, in your web.config file change the lines to be
        [code=xml]
        <customErrors mode="Off"/>
        [/code]
        did that but it gives me the first error

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #19
          Originally posted by maghi85
          did that but it gives me the first error
          Are you in control of the webserver?
          I'd suggest rebooting it if you are.
          Once you change that line in your web.config your error message should change.

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #20
            Originally posted by maghi85
            the same way but without publishing on IIS application first
            Wait a sec.
            Make sure that you publish your website to your web server directly after making the changes to your web.config file.
            If you can't publish directly, then publish it the same way you did before and move the whole thing to your web server using an ftp client.

            -Frinny

            Comment

            • maghi85
              New Member
              • Jun 2007
              • 28

              #21
              same error
              i suppose its the hosting site...
              i'll confirm with them if they actually do support ASP.NET

              Comment

              • maghi85
                New Member
                • Jun 2007
                • 28

                #22
                is there a freeweb website with ASP.NET support so that i could test it on?
                like yahoopages

                Comment

                • Frinavale
                  Recognized Expert Expert
                  • Oct 2006
                  • 9749

                  #23
                  Originally posted by maghi85
                  is there a freeweb website with ASP.NET support so that i could test it on?
                  like yahoopages

                  Are you sure they are using the same .NET Framework version as you have coded in? If you've used Visual Studio 2003 make sure the server supports .NET Framework 1.1. If you used Visual Studio 2005 make sure the server supports .NET Framework 2.

                  Comment

                  • karenRoss
                    New Member
                    • Jun 2007
                    • 27

                    #24
                    When I upload my ASP.NET 2.0 apps I usually have to go into the server and find the virtual folder containing my application and change the settings so it is registered as an ASP.NET 2.0 instead of ASP.Net 1.1

                    If you have both ASP 2.0 and 1.1 framework installed then you might have to specify which technology this application should use.

                    Comment

                    • maghi85
                      New Member
                      • Jun 2007
                      • 28

                      #25
                      sorry folks
                      i just registered with a new host and have confirmed that they do provide .net framework 2.0
                      now atleast i see the error
                      and this is it =)

                      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: It is an error to use a section registered as allowDefinition ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

                      Source Error:


                      Line 49: ASP.NET to identify an incoming user.
                      Line 50: -->
                      Line 51: <authenticati on mode="None" />
                      Line 52: <!--
                      Line 53: The <customErrors > section enables configuration


                      Source File: E:\web\tarimsol uti\htdocs\fss\ web.config Line: 51


                      --------------------------------------------------------------------------------
                      Version Information: Microsoft .NET Framework Version:2.0.507 27.42; ASP.NET Version:2.0.507 27.210


                      what to do what to do ??

                      Comment

                      • Frinavale
                        Recognized Expert Expert
                        • Oct 2006
                        • 9749

                        #26
                        Try changing
                        [code=xml]
                        <authenticati on mode="None" />
                        [/code]
                        to
                        [code=xml]
                        <authenticati on mode="Windows" />
                        [/code]
                        in your web.config.

                        Hopefully that works!

                        -Frinny

                        Comment

                        • maghi85
                          New Member
                          • Jun 2007
                          • 28

                          #27
                          it works now
                          thanks all you folks

                          Comment

                          • Frinavale
                            Recognized Expert Expert
                            • Oct 2006
                            • 9749

                            #28
                            Originally posted by maghi85
                            it works now
                            thanks all you folks
                            Good Stuff!

                            :)

                            -Frinny

                            Comment

                            Working...