.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

console.writeline in window 2008 64bit seems very slow

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :.NET Framework

console.writeline in window 2008 64bit seems very slow

any ideas / hints for fixing it.

The following code is running smoothly in XP/32 bit OS.

Have tried build w/ x64 config for testing.

Sample code for test:
using System;
using System.Collections.Generic;
using System.Text;

namespace TestConsole
    class Program
        static void Main(string[] args)

            for (int i = 0; i < 10000; i++)
                Console.Out.WriteLine(DateTime.Now.ToLongTimeString()+": " + i);

View Complete Post

More Related Resource Links

WriteLine - Writing to the VS Output window or to the Console

I know the WriteLine activity has a TextWriter argument that can be set to direct where the output is received but how can I have it output into the Output window of Visual Studio? For few tests, it would be helpful when running the test, I could see some output within VS.Blades Don't Need Reloading...

can we install SQL Server 2008 R2 - 64bit on Window Server 32bit?

can we install SQL Server 2008 R2 - 64bit on Window Server 32bit?

Indexing services on window server 2008 is not working with .net

Hi, I am useing Microsoft indexing services in windows 2008 64 bit .I am getting error like "Exception from HRESULT: 0xC0000005" while i am createing  new catlog from .net 2.0.I am using  "ciodm.dll" for adding new catlog. i am using this code for create new catelog.   Dim Admin As New CIODMLib.AdminIndexServer   Admin.AddCatalog(varContractNo, txtCatelog.Text + "\" + varContractNo) Admin.Stop() Admin.Start() AddScope(txtDocFolderPath.Text, txtSite.Text, txtCatelogname.Text)   Please help me anybody have fixed this issue on window server 2008 64 bit.  

How can I access Command Window in SSMS 2008

Hello, I'm debugging some t-sql code, I can view locals, watches etc. but I've closed command window by mistake and i couldn't find it again. Is there a shortcut key for this window? How I can access this window? Thanks in advance.

Query regarding Console.Writeline()

I was wondering how the Writeline function works and so i went to its definition in the Console Class.But to my amazement i found out that none of the Writeline () methods had a definition (as in the body of the method).So how does the Writeline function really work? Can anyone please help me out with my query.

BIDS Query Designer very slow in VS 2008

I am in the process of upgrading my Report Server projects from 2005 to 2008.  These reports use an Analysis Services 2005 data source and have queries that are anywhere from 20 to 100 lines of MDX.  After upgrading a report, when I open or save a dataset in the Query Designer, it takes up to 20 seconds.  In 2005, this would happen almost instantly. Running SQL Server Profiler, I see that there is an extensive number (600+) of Discover events going on with the Analysis Services server while the Query Designer loads. My version of Visual Studio is 9.0.30729.1 SP and I am running Windows XP SP2. Thanks, Mitch

is SQL 2000 32 bit supported on Windows 2008 R2 64bit?

Question as stated. Could anyone provide an official source from MS, wether is supported or not supported. Really appreciate it.

Window 7 Sql 2008

Windows 7 Professional 64bit 2.45Ghz processor 4GB ram I am trying to complete a tutorial on ASP.NET on Lynda.com but they are using old versions and I cannot match up illustrations.  I have MS SQL server 2005 & 2008 with VS 2010 Express installed on my machine.  My question is where can I find a tutorial that will correspond with the setup I have configured on my computer as this is the way it came out of the box.  I am really excited to learn ASP.net.  I am intermediate skill level at HTML & CSS  I have limited exposure to Java Script C# PHP and MySQl  I have WAMP And Xamp installed on my machine.  I just have to find the tutorials lessons that are current with Windows 7 installation as I see it now MSSQL install and configuration seems to be WAY MORE complicated than WAMP Server that we used with PHP.  But I want to learn ASP.NET  Even the W3C school appears to be behind on the Windows 7 issues.   Please correct me where I have erred and steer me in the right direction.   Much Thanks in Advance, MIKE E"It's like déjà vu all over again." - Yogi Berra

Is PAE sufficient for SQL 2005 on Window 2008 32 bit

Hi, Environment: Windows 2008 32 bit, SQL 2005 with SP3 32 bit Standard edition, 24 GB RAM Need some clarification please. I know that using AWE - SQL Server can access more RAM than 4 GB using locked pages for caching etc. I also know the fact that for more than 16 GB of RAM usage the combination of PAE and AWE are required. However my question is related to PAE: a) If only PAE is enabled - Will SQL Server 2005 use more memory than 4 GB? b) From Control Panel - System - I see 24 GB of RAM and this is an indication that PAE is enabled. Is that correct? Or is there any other way to check if PAE is enabled on the system. c) From SQL Server Properties - I can see that SQL Server minimum and maximum memory are editable and one can change  the minimum and maximum RAM. However AWE is not enabled at this time. Will SQL use the amount or RAM specified in min and max Example: say 6 GB min and 10 GB max? If it will not use the >4GB memory specified (assuming PAE is enabled but AWE is NOT enabled)  then why are those two controls editable? Thanks, Mohan   follow me on twitter: http://twitter.com/mohantaneja

Error while trying to register DLLs for Microsoft Jet on Windows Server 2008 R2 64bit

Hello! I'm having issues with importing Excel spreadsheets into Microsoft SQL Server 2005 on a Windows Server 2008 R2 64bit server.  After browsing the web, it appears that the problem is with the DLL's used by Microsoft Jet.  I've thus attempted to re-register these DLL's.  However, I am receiving the following results. c:\Windows\SysWOW64> regsvr32 c:\Windows\SysWOW64\msjetoledb40.dllSuccessful c:\Windows\SysWOW64> regsvr32 c:\Windows\SysWOW64\msjet40.dllSuccessful c:\Windows\SysWOW64> regsvr32 c:\Windows\SysWOW64\msjint40.dllThe module "msjint40.dll" was loaded but the entry-point DLLRegisterServer was not found c:\Windows\SysWOW64> regsvr32 c:\Windows\SysWOW64\msjter40.dllThe module "msjter40.dll" was loaded but the entry-point DLLRegisterServer was not found c:\Windows\SysWOW64> regsvr32 c:\Windows\SysWOW64\msjtes40.dllSuccessful c:\Windows\SysWOW64> regsvr32 c:\Windows\SysWOW64\mswstr10.dllThe module "mswstr10.dll" was loaded but the entry-point DLLRegisterServer was not found I've set the application pool for this site to use 32bit.  Please note that due to my role on the team, other options such as using ACE are not available to me, unless I can prove that I've exhausted all other options. Thoughts? Thanks,Mike

using pre-processor directives to turn off console.writeline statements?

I have a DOS console application that when processing files will output information to the screen.This is a nice feature when I run the program. But when in production it would somehow be niceto turn of all of my Console.WriteLine statements.  Because unlike my test environment, in production,several hundred files will be processed, and printing out console information will slow my console applicationdown. (I think. You see the console application is set up to run as a scheduled task everyday at 12 noon) So here is my question. Can the console.writilines be turned off in production using C# pre-processor directives?I have read about the Pre-Processor directives, but something is not clicking in regards to how I can apply it.So I am hoping I can apply it in the situation I just described.

SQL Server 2008 R2 deploying any version of sharepoint results in extremly slow DB creation

Hello, When installing any version of Sharepoint(2007,2010) during the "Creating Configuration Database" Step it takes over 10 hours to complete.  Then creating a web app takes just as long. and the sites are extreemply slow.  Environment: 1) DB Server - SQL Server 2008 R2 on Windows Server 2008 R2 2) Webserver - to host Sharepoint 2010 on Windows Server 2008 R2 The Servers are on the same network and running with lots of horsepower, disk and memory.  Are there any know issues with this and should we install Cummulative Update 3? Maybe that has a fix.  We exhausted all our options and need justification to apply the CU3 hotfix(s). Thanks for your help.

Can't enable filestream on SQL Server 2008 Express 64bit under Win 7(64 bit WOW)

I have a newbie question.  I am running Win7(64 bit WOW). I installed SQL Server 2008 Express R2 (64 bit), but when I go to enable filestream, it reports that my edition of SQL Server does not support filestream.  I thought that the 64 bit edition would.  It says to install SQL Server 2008 64 bit.  Am I correct that that is not a free download?  Do I have any other options?

Upgraded to SQL Server 2008 Express R2 64bit and now all my VS2010 db apps won't run

I am running WIN764bit, VS2010 and just "upgraded" from SQL server 2005 to SQL Server 2008 Express R2 64 bit.  When I went back into VS2010 and tried to run and test several database apps that I have developed, I find that I keep getting the error "Failed to generate a user instance of SQL server due to a failure in starting the process for the user instrance".  I have read a lot of threads here but I am not getting anywhere.  I can create a new SQL Server database, but can't find any of my existing .dbo connections and can't open any of the .mdf's from within Server Explorer (VS2010).  Any ideas? BTW the install went fine. And I have User Instance set to True in VS2010.

Upgrading SQL Server 2008 Developer 64bit to R2 64 bit

Is there an upgrade download for Upgrading SQL Server 2008 Developer 64bit to R2 64 bit?  Where do I find it?

Getting a popup Window during the Silent uninstallation of SQL Server 2008 Dev R2

Hi, When i try to uninstall the SQL Server 2008 R2 silently, it openup a window with the options that Add, Repair or Remove. Is there any way to Hide this Window? The command i used for uninstallation is "%ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setupARP.exe" /CONFIGURATIONFILE="%~DP0x86\UnInstall.ini" The content of the Uninstall.ini file is ;SQLSERVER2008R2 Configuration File [SQLSERVER2008] INSTANCENAME="MSSQLSERVER" ACTION="UNINSTALL" FEATURES=SQLENGINE,REPLICATION,FULLTEXT,AS,RS,BIDS,CONN,IS,BC,SDK,BOL,SSMS,ADV_SSMS,SNAC_SDK,OCS HELP="False" INDICATEPROGRESS="False" QUIET="True" QUIETSIMPLE="False" X86="True" I have tried with the following command also "%ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setupARP.exe" /ACTION="UNINSTALL" /FEATURES=SQLENGINE,REPLICATION,FULLTEXT,AS,RS,BIDS,CONN,IS,BC,SDK,BOL,SSMS,ADV_SSMS,SNAC_SDK,OCS /INSTANCENAME="MSSQLSERVER" /QUIETSIMPLE  

report generate vwd 2008 - website data sources window empty

I need to create report in asp.net web application, I'm working on vwd 2008 express, installed report add-on i have create dataset file xxx.xsd and use storder procedure for data adapter. when I am trying to add columns into report body I cannot see dataset in website data sources window. when i right click on window it just show refresh option. how can I get my data set into window. and add columns in to report? please help... 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend