Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Really slow "getting files" in VS2005 all of a sudden

Really slow "getting files" in VS2005 all of a sudden

Scheduled Pinned Locked Moved ASP.NET
csharphelpsharepointvisual-studiodesign
10 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    InvalidTypecast
    wrote on last edited by
    #1

    I was wondering if any of you have experienced the following behavior because I can't figure out why it is occurring. When I switch between code view and design view for my site Visual Studio indicates "getting file xyz.gif" in the lower left before it renders the design view. It repeats this for any other necessary files needed to display this. That is all normal. The problem is that it is taking far too long. For example, files that are 1-2kb in size may take minutes to "get". The same thing happens if I CTRL + F5 to build my site. It takes way too long. Much longer than it did before to get the files. The other odd thing is that it seems like it requests files it shouldn't need because they haven't changed at all between edits. For example, I'll modify a gridview color and hit OK and it starts redownloading xyz.gif which it just downloaded moments prior. This never used to happen. I am using FTP instead of FrontPage extensions to connect to the site (c# asp) as I always have. The computer I am editing on just recently had Windows reinstalled from scratch with a fresh install of Visual Studio with all updates and SP's applied. It has also been several months since I have done development on the site so maybe something changed on the web host's end. If I use an FTP client and connect to download files from my site it seems to go very fast so I am not sure why this is occurring. Is there some cache'ing setting that I don't have turned on in my new Visual Studio install? Is there some other setting I need to toggle to improve performance? Any thoughts or ideas to help me drill drown the troubleshooting on this more? Thanks!

    S I 2 Replies Last reply
    0
    • I InvalidTypecast

      I was wondering if any of you have experienced the following behavior because I can't figure out why it is occurring. When I switch between code view and design view for my site Visual Studio indicates "getting file xyz.gif" in the lower left before it renders the design view. It repeats this for any other necessary files needed to display this. That is all normal. The problem is that it is taking far too long. For example, files that are 1-2kb in size may take minutes to "get". The same thing happens if I CTRL + F5 to build my site. It takes way too long. Much longer than it did before to get the files. The other odd thing is that it seems like it requests files it shouldn't need because they haven't changed at all between edits. For example, I'll modify a gridview color and hit OK and it starts redownloading xyz.gif which it just downloaded moments prior. This never used to happen. I am using FTP instead of FrontPage extensions to connect to the site (c# asp) as I always have. The computer I am editing on just recently had Windows reinstalled from scratch with a fresh install of Visual Studio with all updates and SP's applied. It has also been several months since I have done development on the site so maybe something changed on the web host's end. If I use an FTP client and connect to download files from my site it seems to go very fast so I am not sure why this is occurring. Is there some cache'ing setting that I don't have turned on in my new Visual Studio install? Is there some other setting I need to toggle to improve performance? Any thoughts or ideas to help me drill drown the troubleshooting on this more? Thanks!

      S Offline
      S Offline
      Saksida Bojan
      wrote on last edited by
      #2

      Huw moch of memory you have? Did you terminated all unnececary process in background? Start->Run->msconfig.exe->Startup (Modify your startup programs)

      I 1 Reply Last reply
      0
      • S Saksida Bojan

        Huw moch of memory you have? Did you terminated all unnececary process in background? Start->Run->msconfig.exe->Startup (Modify your startup programs)

        I Offline
        I Offline
        InvalidTypecast
        wrote on last edited by
        #3

        2 gigabytes of memory. Plenty of it is free. There are no unnecessary startup items running. The CPU use is very low. Whatever it is is not resource related.

        S 1 Reply Last reply
        0
        • I InvalidTypecast

          2 gigabytes of memory. Plenty of it is free. There are no unnecessary startup items running. The CPU use is very low. Whatever it is is not resource related.

          S Offline
          S Offline
          Saksida Bojan
          wrote on last edited by
          #4

          Try closing all open document in VS, Try delete suo file, Or try transfers all file localy, when finished, move back

          I 1 Reply Last reply
          0
          • S Saksida Bojan

            Try closing all open document in VS, Try delete suo file, Or try transfers all file localy, when finished, move back

            I Offline
            I Offline
            InvalidTypecast
            wrote on last edited by
            #5

            How do I delete the suo file (not sure what that is)? How do I transfer the files locally? Thanks!

            S 1 Reply Last reply
            0
            • I InvalidTypecast

              How do I delete the suo file (not sure what that is)? How do I transfer the files locally? Thanks!

              S Offline
              S Offline
              Saksida Bojan
              wrote on last edited by
              #6

              suo file resides beside sln file. Default Path is "My Documents\Visual Studio 2005\Projects\[Your Project] suo file is a VS state, by deliting, you will have default view. Some times this files can go over 40MB. sln file is a Solution, witch contains a group of projects.

              InvalidTypecast wrote:

              How do I transfer the files locally?

              Use FTP Client, such as fileZilla For local, you woud have to configer database, or connection string

              I 1 Reply Last reply
              0
              • S Saksida Bojan

                suo file resides beside sln file. Default Path is "My Documents\Visual Studio 2005\Projects\[Your Project] suo file is a VS state, by deliting, you will have default view. Some times this files can go over 40MB. sln file is a Solution, witch contains a group of projects.

                InvalidTypecast wrote:

                How do I transfer the files locally?

                Use FTP Client, such as fileZilla For local, you woud have to configer database, or connection string

                I Offline
                I Offline
                InvalidTypecast
                wrote on last edited by
                #7

                Saksida Bojan wrote:

                Use FTP Client, such as fileZilla For local, you woud have to configer database, or connection string

                Oh, I thought you meant there was some fancy way of downloading the site locally for some sort of cache'ing. I do know how to download it via FTP client. How would that help speed if I want to work on the remote site? I am going to check the size of the suo file when I get back to the PC.

                S 1 Reply Last reply
                0
                • I InvalidTypecast

                  Saksida Bojan wrote:

                  Use FTP Client, such as fileZilla For local, you woud have to configer database, or connection string

                  Oh, I thought you meant there was some fancy way of downloading the site locally for some sort of cache'ing. I do know how to download it via FTP client. How would that help speed if I want to work on the remote site? I am going to check the size of the suo file when I get back to the PC.

                  S Offline
                  S Offline
                  Saksida Bojan
                  wrote on last edited by
                  #8

                  Do you have a passive mode for FTP, Al thou i don't know if that helps.

                  InvalidTypecast wrote:

                  How would that help speed if I want to work on the remote site?

                  you will have all files, including in your virtual Server, to test and, when is finished, you put updated version to FTP. And you will avoid download and upload. Sometimes FTP requires a little more time to process command. I Have seen it happend. Of course, you could easier debugged the site. (With Breakpoints, not only TRACE) If the Database does allow connection from remote machine you don't need to set your database. Only correct your connection string if needed.

                  I 1 Reply Last reply
                  0
                  • S Saksida Bojan

                    Do you have a passive mode for FTP, Al thou i don't know if that helps.

                    InvalidTypecast wrote:

                    How would that help speed if I want to work on the remote site?

                    you will have all files, including in your virtual Server, to test and, when is finished, you put updated version to FTP. And you will avoid download and upload. Sometimes FTP requires a little more time to process command. I Have seen it happend. Of course, you could easier debugged the site. (With Breakpoints, not only TRACE) If the Database does allow connection from remote machine you don't need to set your database. Only correct your connection string if needed.

                    I Offline
                    I Offline
                    InvalidTypecast
                    wrote on last edited by
                    #9

                    It isn't using PASV at the moment, but I can give that a shot.

                    1 Reply Last reply
                    0
                    • I InvalidTypecast

                      I was wondering if any of you have experienced the following behavior because I can't figure out why it is occurring. When I switch between code view and design view for my site Visual Studio indicates "getting file xyz.gif" in the lower left before it renders the design view. It repeats this for any other necessary files needed to display this. That is all normal. The problem is that it is taking far too long. For example, files that are 1-2kb in size may take minutes to "get". The same thing happens if I CTRL + F5 to build my site. It takes way too long. Much longer than it did before to get the files. The other odd thing is that it seems like it requests files it shouldn't need because they haven't changed at all between edits. For example, I'll modify a gridview color and hit OK and it starts redownloading xyz.gif which it just downloaded moments prior. This never used to happen. I am using FTP instead of FrontPage extensions to connect to the site (c# asp) as I always have. The computer I am editing on just recently had Windows reinstalled from scratch with a fresh install of Visual Studio with all updates and SP's applied. It has also been several months since I have done development on the site so maybe something changed on the web host's end. If I use an FTP client and connect to download files from my site it seems to go very fast so I am not sure why this is occurring. Is there some cache'ing setting that I don't have turned on in my new Visual Studio install? Is there some other setting I need to toggle to improve performance? Any thoughts or ideas to help me drill drown the troubleshooting on this more? Thanks!

                      I Offline
                      I Offline
                      InvalidTypecast
                      wrote on last edited by
                      #10

                      It turns out it was due to the fact these images being accessed were in a folder with 1,000 other images. Apparently this slowed down requests for these files for some reason. Once I moved these site images into a separate folder the problem went away.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups