CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 10/18/2005 6:04:07 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 36 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
Birger Niss
Asp.Net User
Slow loading of Web projects in Visual Studio 2005 RC10/18/2005 6:04:07 AM

0/0

Loading a web project in Visual Studio 2005, RC is extremely slow as opposed to loading other project types. On my 2.4 GHz PC with 2 GB RAM it takes 3 to 4 CPU minutes! Upgrading from Windows 2000 Server to Windows 2003 Server made no difference. During loading the CPU load is 100 % split between the devenv and the inetinfo processes.

Any suggestions will be highly appreciated.

ScottGu
Asp.Net User
Re: Slow loading of Web projects in Visual Studio 2005 RC10/18/2005 2:42:40 PM

0/0

Hmm -- can you provide more details on this?

How big (in terms of number of pages + classes) is your website?  Are you opening it as an IIS web (it sounds like you are given that the inetinfo process is busy) or a file-system or FrontPage Server Extension web?

When does the CPU spike? Is it when you actually open the project, or when you try and build/compile it, or is it when you run it?

Thanks,

Scott
Birger Niss
Asp.Net User
Re: Slow loading of Web projects in Visual Studio 2005 RC10/19/2005 6:16:12 AM

0/0

The site - which is an IIS web - contains one page which is dynamically populated with a host of user controls and a few server controls. Furthermore the site consists of a few simple, fairly static test pages. Below the main site are three virtual directories used for storing configuration info and html-documents (the site is actually a web-based document archive, but only with very few documents at this stage).

The CPU really spikes when the project is opened. Inetinfo takes 20-25% and devenv take 70-75% of the CPU. Rebuilding the solution is somewhat faster. Running the site is OK even during debug.

Regards,

Birger

ScottGu
Asp.Net User
Re: Slow loading of Web projects in Visual Studio 2005 RC10/19/2005 7:55:00 AM

0/0

Hmm -- that is very odd.  Can you try opening a different site and see whether the same problem occurs?

Also, could you try creating a new site somewhere else, and then copying the file-contents of the above site/app into it and trying to open it?  A site that basic should never, ever, ever take minutes to load.  My guess is that there might be some configuration issue in IIS (maybe some bogus virtual directories?) that you are potentially running into (the fact that InetInfo is spending so much time spinning is very suspicious).

Thanks,

Scott 
Birger Niss
Asp.Net User
Re: Slow loading of Web projects in Visual Studio 2005 RC10/19/2005 9:53:16 AM

0/0

Hi Scott,

Strange new info coming up:

I copied all files from the slow-loading project to another location and created by hand in the iis-manager a new webapplication pointing to the new location. Then I opened this existing website in Visual Studio 2005 RC and added two Server Control projects to the new solution (the same as in the old solution). The good news is that this new solution now opens in a mere 8 cpu-seconds which is highly satisfactory! The bad - and very strange news - is that closing this solution takes 4 minutes 11 cpu-seconds for devenv and 1 minute 23 cpu-seconds for inetinfo!!! NB! Closing the original solution takes no time.

I checked in the Metabase.xml the difference between the two webapplications. The striking difference is that the original virtual directory is configured with 50 lines a la:

   <extension>,C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG

where <extension> f.ex is .asxp, asax, .config...

all placed under ScriptMaps.

Best regards

Birger

 

Birger Niss
Asp.Net User
Re: Slow loading of Web projects in Visual Studio 2005 RC10/20/2005 8:13:23 AM

0/0

Additional info:

Placing the new fast-loading web project under source control (as the original slow project) made it just as slow as the original.
The other non-web projects, that load very fast are however also under source control, so sourcesafe in itself is not the explanation. 
So the combination of web project and sourcesafe???

Best regards
Birger
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Slow loading of Web projects in Visual Studio 2005 RC - ASP.NET Forums Loading a web project in Visual Studio 2005, RC is extremely slow as opposed to loading other project types. On my 2.4 GHz PC with 2 GB RAM ...
Why is Visual Studio 2005 so slow? - Stack Overflow It is slow to load anything other than a small project. It is slow to quit; ..... Source Safe 6.0d and Visual Studio 2005 project tree problems ...
Visual Studio.NET - Setup Visual Studio 2005 Package Load Failure, 18 Nov 2005 17:55 GMT, 7 ... a web project so I ran a repair. After that I could create a web ...
Visual Studio 2008 RTM Installed - Rick Strahl's Web Log NET 3.5 Compact Framework stuff Uninstall the Visual Studio Web Authoring... ... First load is still very, very slow as the designer fires up for the first ...
Visual Studio 2008 Readme Install the Visual Web Developer feature from the Visual Studio 2008 ... During an upgrade of a Visual Studio 2005 project to a Visual Studio 2008 project, ...
Agile Testing: Web app testing with Python part 2: Selenium and ... Interested in writing functional web testing in C# or VB.NET (or IronPython coming soon) using Visual Studio 2003, 2005 or express. Check out www. ...
Somasegar's WebLog : VS 2008 Performance Improvements I have never had visual studio this slow. I have a massive VB.NET web application. I had to go back to VS 2005. I have a Quad core 2.8ghz with 4gb ram , ...
Windows Vista « Ramblings of the Sleepy… Visual Studio 2008’s web development server is located in the Common Files ... Visual SourceSafe 2005 and Visual Studio 2008 - Fix · FireFox slow to load? ...
K. Scott Allen : October 2005 - Posts Step 1: I created a new solution in Visual Studio 2005 and added a plain class library project. I then added two user controls to the project, which Visual ...
"Load Failed" on resources : resource Microsoft Visual Web Developer 2005. Crystal Reports AAC60-G0CSA4B-V7000AY Crystal Reports for Visual Studio 2005. Thanks. ...




Search This Site:










web.config setting in page header...

i am trying to edit an image file path with formview edit. but not working.

display data as it is loading

do i need a global variable ?

read data from tablecell control - how?

accessing a control sub from another control ?

calculate months, days between now and sql row (datetime)

framework class library heirarchy questions ???

data updating and modification

encoding problem

why should i write code in html form

large file delivery problem

creating folders on the web server

localization does not return correct string

dynamically adding contols to a panel

sending attachments from a form

drag and drop or code by hand?

requesting a cookie and putting into a textbox

wierd button problem

reportviewer

basic cms explaination ?

getting the host/server name without the subdomain

is there any difference between this code?

compilation in asp.net 2.0

binding datatable to report viewer ? dynamically

changing date format

default.aspx get's executed when calling any other page

running a shell script that needs input?

why is my listbox.selectedvalue property always returning nothing?

post form data in .net1.1

  Privacy | Contact Us
All Times Are GMT