CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 1/31/2006 1:51:11 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 16 Views: 35 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
17 Items, 1 Pages 1 |< << Go >> >|
Andersen
Asp.Net User
Slow save in VS2005 Web project.1/31/2006 1:51:11 PM

0/0

Whenever I'm working with web projects I'm experiencing very slow save times every time I save a file (About 20 seconds for a short .htm page). VS appears to be working as the disk little icon in the status bar is blinking meanwhile, but the rest of the application stops responding until the save is completed.

The project I'm working on is located on my local folders, so no network access should occur in the save process, slowing it down. The strange thing is that whenever I'm working with C++ or C#, I don't experience this delay in saving so this issue appears to be related with web projects only.

I have read elsewhere that disabling the network will stop the problem from occurring, and that does appear to be the case, however working in a corporate environment I cannot afford to be offline while working.

Anyone know of a solution to the slow save issue, other than unplugging myself from the network ?

danmor
Asp.Net User
Re: Slow save in VS2005 Web project.2/1/2006 8:10:53 PM

0/0

Does this repro with a new, file system web site, or only with one particular web project?  You say it repros with C++ or C#, so does that mean you can't repro with VB or J#?  Do you have any network projects in your solution?

I have seen reports of slowness (with FTP sites) when the site contains thousands of images.  Do pages in your site contain links to images?


-Dan
This posting is provided "AS IS" with no warranties, and confers no rights.
Andersen
Asp.Net User
Re: Slow save in VS2005 Web project.2/2/2006 7:18:58 AM

0/0

  • This problem occurs with all web projects, newly created as existing solutions.
  • I do not have any network projects in my solution, only a simple web page (htm file) and no images.
  • The problem appears to occur no matter which type of file is in my solution, even text files are very slow saving.
  • All files are on the file system, I am not hosting them on any remote computer or web site.
  • The problem does not occur in my C++ / C# projects (I have never tried to make a VB or J# projects).
Andersen
Asp.Net User
I have found a solution !2/2/2006 2:42:21 PM

0/0

After spending the day trying to resolve this problem, I finally found a solution !

With the help of a network packet analyzer I was able to find out what stalls Visual Studio. I found that whenever I saved a file, in my web project, Visual Studio did a DNS lookup on a host on my local network. This host was offline so although it managed to resolve it's IP address, there was no response from it. After a timeout period Visual Studio stops trying to connect to this host and goes on with it's business of saving the file.

I searched my registry to find the source of this host name and found it to be present in: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList. This registry key is where Visual Studio stores all recent projects that have been opened. In that list a project, located on a remote computer, was found. When I removed that item from the registry, Visual Studio no longer took 20 seconds to save it's Web project files.

I don't have a clue why Visual Studio feels the need to browse through my recent projects, every time I try to save a file, but my hope is that the guys developing the product will now know where to look in order to fix the problem.

danmor
Asp.Net User
Re: I have found a solution !2/2/2006 6:28:38 PM

0/0

(second attempt to reply. First threw 403.1 error)

Interesting!  There was a bug that was fixed before we shipped where we scanned local drives on the MRU list when the product launched.  Perhaps this is a related case.  I'll check our bug database to see if this is a known issue.  If not I'll enter a new bug.  Thanks for your information!


-Dan
This posting is provided "AS IS" with no warranties, and confers no rights.
Octothorpe
Asp.Net User
Re: I have found a solution !3/2/2006 1:50:16 PM

0/0

Thank you very much Andersen for the analysis and the solution. I had the same problem, and it worked perfectly. It feels like I just upgraded from a pentium 133 to a P4 3.0 Ghz.

Volcano_88101
Asp.Net User
Re: I have found a solution !5/4/2006 1:49:46 PM

0/0

I am experiencing this same problem. There are no URLs in my MRU. I have 10 entries 9 of which are %USERPROFILE%\ and one of which is a C:\inetpub\wwwroot link

Saving the exact same content in a text file results in no noticeable cpu jump, lag or etc. Saving the exact same content in an html or .aspx page causes a 100% CPU spike for 2-7 seconds. I don't understand how saving something as simple as a bit of text can make an AMD 64 3400 with 1GB of ram SPIKE AT 100% FOR 2-7 seconds CAUSING OTHER APPLICATIONS TO LAG



Jojo1771
Asp.Net User
Re: I have found a solution !5/23/2006 3:59:49 PM

0/0

I'm so glad I found this reply. I have had the same problem.

 

VS took 5 mins to open
Took at least 1 min to save a single file. All local machine.

Problem all started when our old dev machine went off line.

VS had all those urls in the registry and was timing out on them. What a horrible bug. I would rather see a huge error msg, then somthing work correctly, but just at the speed of business.

Any ways, I cleared every instance of the borken url out of the VS8.0 reg. And every thing works great.

 

Thanks!

Jinx101
Asp.Net User
Re: I have found a solution !6/2/2006 8:58:53 PM

0/0

I'm also having this issue.  I'm using Visual Studio 2005 and I've created a ASP.NET website (using VB.NET) that is saved onto a network drive.  Almost every save takes a minimum of 20 seconds (tacks the CPU and locks up the IDE).  The network is running fine.  I've cleared the registry MRU list above which hasn't helped. 

I've haven't turned on a file system watcher though I may to see how much IO is going in and out (I recall reading someone having a similiar issue that identified VS doing a lot of read/write calls to various files).

Jinx101
Asp.Net User
Re: I have found a solution !6/11/2006 11:14:06 PM

0/0

My virus checker (Symantec) appears to have been the culprit, especially when dealing with network drives.  I temporarly disabled it on a number of occasions recently to test and I didn't have the Visual Studio IDE slow down for near as long (the longest now is 5-6 seconds and it only happens every, I'll guess 10th save or so).

DunyaFani
Asp.Net User
Re: I have found a solution !9/27/2006 2:06:34 PM

0/0

Thank you for this solution
PhatboySlim
Asp.Net User
Re: I have found a solution !11/28/2006 5:46:36 PM

0/0

Thank you for posting this.  I too was having a problem.  Glad I was able to find a solution so quickly.

There is no such thing as an unimportant day.
niraj_d418
Asp.Net User
Re: I have found a solution !1/17/2007 9:36:33 AM

0/0

Thank you for spending some time and come out with a solution,

I was annoyed by the delay too much. thanks.

 

 

 


regards,
Niraj sikotara.


<!-- Search before you scramble. --!>
mem0
Asp.Net User
Re: I have found a solution !1/26/2007 6:07:24 PM

0/0

I have found another culprit in the slow save (and launch vs2005).

Much like the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList
there may be offending remote projects in:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\DefaultFileOpenLocation
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\DefaultOpenProjectLocation

and any other values in HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0

This is, of course if you have opened a remote project that no longer exists.

My problem came from the fact that i was setting up a new server and migrating projects. After some setup time, but before we added it to our network permanently it was shut down. During this time my VS2005 slowed to a near halt. Apparently, the last opened location gets det to the default and since, for me, that was a server that was off line,  VS2005 (on any action) was extremely slow (apparently looking like crazy for the absent server).

Why VS2005 does this i have no idea.
 

ekuloglu
Asp.Net User
Re: I have found a solution !5/24/2007 5:04:17 PM

0/0

 

Thanks for this solution. I don't understand why this happening(!)
Roman_K
Asp.Net User
Re: Still having the same problem6/25/2007 5:31:49 AM

0/0

Hi guys,

I still having similar problem.

We had a solution of about 76 C++ (mainly MFC) projects and everything was fine until we added 3 VB .NET projects to it.

Now it takes about 1 minute to open solution (white screen during that) and about 2-3 minutes if I hit "Save all" button, even if one or none files opened and nothing changed anywhere !

(Just "save" for one file works fine).

I tried the suggested solutions (registry/antivirus/paths/defragmentation) but it did not helped :(

Any ideas on at least how I can trace down the problem ?


VS become almost unusable  on Core 2 Duo 2.66 machine with 3GB of RAM (We using Visual Studio 2005 SP1 + Vista SP + Surround SCM source control on Win XP Pro SP2)

Anessence
Asp.Net User
Re: Slow save in VS2005 Web project.11/14/2007 4:39:01 AM

0/0

 Thanks a lot guys! The same problem in VS2008 too.
 

17 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional Visual Studio 2005 Authors: Andrew Parsons, Nick Randolph, Pages: 869, Published: 2006
Pro Visual Studio 2005 Team System Application Development: Application Design Authors: Steve Shrimpton, Pages: 768, Published: 2006
Maximizing ASP.NET: Real World, Object-oriented Development Authors: Jeffrey Putz, Pages: 309, Published: 2005
Visual Basic 2005 Jumpstart: Pocket Guide Authors: Wei Meng Lee, Pages: 197, Published: 2005
Pro .NET 2.0 Windows Forms and Custom Controls in C#: From Professional to Expert Authors: Matthew MacDonald, Pages: 1037, Published: 2005

Web:
Slow save in VS2005 Web project. - ASP.NET Forums Slow save in VS2005 Web project. Rate It (1). Last post 11-13-2007 11:39 PM by Anessence. 16 replies. Sort Posts: ...
Slow save in VS2005 Web project. - ASP.NET Forums Slow save in VS2005 Web project. Rate It (1). Last post 11-13-2007 11:39 PM by Anessence. 16 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Feedback: Slow save in web project I am experiencing very slow save times when saving a file, containing JScript, from within a web project. Every time I make modifications to the script and ...
Tip/Trick: Optimizing ASP.NET 2.0 Web Project Build Performance ... If you are experiencing slow builds or want to learn how to speed them up please read on. Quick Background on VS 2005 Web Site Project and VS 2005 Web ...
James J. Foster's Blog - Solving a painfully slow save process in ... Mar 2, 2006 ... Solving a painfully slow save process in Visual Studio 2005 ... I found that whenever I saved a file, in my web project, Visual Studio did a ...
How to copy a visual studio 2005 web project with another name ... How to copy a visual studio 2005 web project with another name. ... 10 Technologies to Help Cut Costs in the Slow Economy ยท Dragging and Dropping Files Into ...
Visual Studio 2005 Web Application Projects and Web Deployment ... If you compile a stock project the process is excruciatingly slow, because ASP. .... Message: While converting a VS2003 web project to VS2005, ...
Slow VS.NET 2005 Editor is driving me nuts - Rick Strahl's Web Log My VS 2005 is not only slow compared to 2003 but I have a project .... in my case. mine was a web application project taking long to save and taking long to ...
VS 2005 Web Site Project vs Web Application Project Jan 28, 2008 ... I was developing a large web site in VS 2005 as a web site project. I was having problems with the VS 2005 publish tool. It was slow, and ...
Feedback: Extremely slow loading of Web project Loading a web project in VS 2005 RTM is exceedingly slow. It takes around 3 cpu minutes with ~70-80% of the CPU for the devenv process and ~20-30% for the ...




Search This Site:










masterpage and redirect

dotnetnuke review?

why? (problems after migration)

looping through controls to set profile properties

how to install a module

how can i save an old files with new name in vwd

text editor and <p>

disable menu javascript files

defalut.aspx won't show

membership & role providers with different authentication parameters

is it possible to disable the expand / collapse image in a treeview control 2.0?

dynamic linkbutton

dynamic hyperlink to download file outside the web root directory

loading a file into a string...

https:// redirect

how do i access the controls of the "default.aspx" page ?

software specifically deisgned for sending email in bulk

would some one be willing to take a look at my code?

disable tabs with javascrip

determining the windows nt usergroup of the current user

cdosys help!!!

first project, intellisense not working on dll

cookie share between c# and vb.net

host menu missing

new module released for crm, help desks, projects, inventory, knowledge base, etc..

getting this error: bc30138: unable to create temp file in path 'c:\docume~1\client\aspnet\locals~1\temp\': the file or directory is corrupted and unreadable.

access a session from a class

deploying asp.net website as a single .dll file.

creating a text file through sql

smtp e-mail failed through sbc (at&t) isp

 
All Times Are GMT