How to go from debugging to "live"?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jrod11
    New Member
    • Apr 2009
    • 49

    How to go from debugging to "live"?

    I am working on a new project for a company intranet portal. it is based on the dropthings program found here: www.codeplex.com/dropthings

    I have everything working the way i want and I am ready to set it up in a test environment. However, all this time I have been testing my code using the green arrow button, "start debugging". I copied my files to my test server and it is really messed up. Can anyone help me figure out how to get the same results as the green arrow button but in my test server?

    Thanks!
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    You need to be a bit more specific, how is it messed up? Formatting, errors?

    Have you configured the sute as an application in IIS?

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      As iA has suggested, you need to provide more details about what "messed up" means.

      Things to check:
      Are all of the resources that your application uses installed?
      Have you configured IIS properly?

      Comment

      • jrod11
        New Member
        • Apr 2009
        • 49

        #4
        By messed up, I think just mean that my style sheet is not being picked up. Things are just black and white and are now moved all over the page.

        Dropthings configures the web.config file to go to localhost:8000. I went in and changed it to my local host and it didnt do anything. I believe i configured my IIS properly, but i'm not sure.

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #5
          When you published the files did the style sheets get published as well?
          Did you move them to the server?

          Comment

          • jrod11
            New Member
            • Apr 2009
            • 49

            #6
            the style sheet was in the solution file, so i figured that the css file was also published when i published the sln file
            ?

            Comment

            • Frinavale
              Recognized Expert Expert
              • Oct 2006
              • 9749

              #7
              You moved the Solution File?
              How does that work?
              Solution files are used by Visual Studio to maintain your project settings.

              Go to Build Menu and click on Publish.

              When you publish the web application it will output files needed for running web app in a live environment.

              Move the files outputted onto the server and try that.

              Comment

              • jrod11
                New Member
                • Apr 2009
                • 49

                #8
                oh, no- the solutionfile had all my files in there including the css file. In visual studio i clicked the build menu and then publish. and it seems to be missing the css file?

                Comment

                • Frinavale
                  Recognized Expert Expert
                  • Oct 2006
                  • 9749

                  #9
                  Is the CSS file's build action marked as an embedded resource? As content?

                  If it's embedded make sure that you are referencing it properly.
                  If it's none, try marking it as content.

                  Comment

                  • jrod11
                    New Member
                    • Apr 2009
                    • 49

                    #10
                    OK great, thanks for the help. i'll give that a shot.

                    Comment

                    Working...