Really slow "getting files" in VS2005 all of a sudden
-
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 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!
Huw moch of memory you have? Did you terminated all unnececary process in background? Start->Run->msconfig.exe->Startup (Modify your startup programs)
-
Huw moch of memory you have? Did you terminated all unnececary process in background? Start->Run->msconfig.exe->Startup (Modify your startup programs)
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.
-
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.
Try closing all open document in VS, Try delete suo file, Or try transfers all file localy, when finished, move back
-
Try closing all open document in VS, Try delete suo file, Or try transfers all file localy, when finished, move back
How do I delete the suo file (not sure what that is)? How do I transfer the files locally? Thanks!
-
How do I delete the suo file (not sure what that is)? How do I transfer the files locally? Thanks!
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
-
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
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.
-
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.
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.
-
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.
It isn't using PASV at the moment, but I can give that a shot.
-
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!
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.