.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

Windows 7 - Takes forever to wake up from sleep mode

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :.NET Framework
I check the event viewer (under applications) and see this error message: The remote name could not be resolved: 'HTC-media'   at System.Net.HttpWebRequest.GetResponse()    at MSSConnectorService.MSSLongPoller.Poll()   I think this was from my HP media server, but I was getting the same slow wake up time before I got the server?  Could this be the cause?  I have a Gigabyte UD4P-55A motherboard running windows 7 64-bit, 8 GB RAM, and a ATI 5750 graphics card with the latest drivers installed.  Please advise.  Thanks.    

View Complete Post

More Related Resource Links

Services takes forever to fire up....

Is there some magic way to keep the services alive?...I think IIS keeps shutting it down and when I make a call I have to wait like 10-15 seconds for it to respond :/

VS 2008 Design Mode Hangs on Windows 2008 Server

 I have looked at all the posts I can find on this problem and tried everything I can think of, but still the problem persists. I am getting really sick of it. It was working fine for the last year until an update to MS Office 2007 caused a lot of problems (automatic update). After checking posts here, I removed it completely. No change. I then tried all the things I could find on other posts, also no change. Today, I removed VS and the Web Authoring Component and re-installed. Still no go. Does anyone have a fix for this problem. It seems that it has been around a long time, but is still giving problems. I even saw one suggestion to reformat the drive! You've got to be joking! Help please, I'm getting desparate.  

SQL changes from Mixed to Windows auth mode after SQL updates

We run a SQL 2005 cluster on Windows 2008 in Mixed authentication mode.  The last two times we have applied a SQL security patch, it automatically changed the auth mode from Mixed to Windows-only, taking our applications offline.  Most recently was today, when we applied KB970892. Can someone explain why this is happening and how we can prevent it?

SQL Server 2008 Windows Authentication Mode fails for Database Engine, error 18456

I installed SQL Server 2008 Developer Edition (10.0.1600.22.080709-1414) on a Windows Vista 32-bit development machine with Windows Authentication Mode only (no SQL Server Authentication).   Since this is a development machine, I saw no need for Mixed Mode when I did the install.  The SQL Server Management Studio allows me to login to Analysis Services, Integration Services, Reporting Services, BUT NOT the Database Engine!Windows Authentication for the Database Engine gives the following error: EventID: 18456Login failed for user MYDOMAIN\MYLOGIN'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: <local machine>]The 'fix' I have found online is to login as SA in SQL Server Authentication mode & add MYDOMAIN\MYLOGIN as a administrator for the Database Engine.  Unfortunately, I can't since I didn't install SQL Server Authentication mode (only Windows Authentication Mode).  It appears my only recourse is to uninstall, then reinstall in Mixed mode, then to login as SA in SQL Server Authentication mode & add MYDOMAIN\MYLOGIN as a administrator for the Database Engine. Before I do so, does anyone know of a better approach?Scott D Duncan

Does SQL Server in 32-bit mode installs and use 64-bit SLQNCLI on x64 Windows?

The answer to question "How to read a .dbf file on 64 bit sql server?"  states: "The basic issue is that 64 bit processes cannot load 32 bit dlls.  Many drivers only release in 32 bit mode.  I am not sure if there is an intent to add 64 bit drivers in the future.  There is a way to work around this issue, but it is sort of roundabout.  You can install SQL Express in 32 bit mode and double hop to the dbf file (or any other 32 bit only provider) through 64 bit SQLNCLI.  The 32 bit express instance can OPENROWSET using all the 32 bit drivers, and the 64 bit SQLNCLI provider can connect to the 32 bit express instance" Is it valid also for non-Express Editions of MS SQL Server? Can the same edition of MS SQL Server be installed both in 32-bit mode and in 64-bit mode - for the same services of different instances? - for different services of the same server setup?

MSSQL 2008 R2 - database in restoring mode after backup - forever..

Hi folks,   i have this problem that occourred today with one instance of MSSQL 2008 R2 running on a WIN x64 R2 enterprise server.   i have run a backup maintainance job and now i have two databases in restoring mode for over 4hrs.   my questions are: why are these databases restoring when i was backing up? and why are they not being logged anywhere - i can not find anything on logs, activty monitor, or even Windows Resource Monitor.   i can not see any work been done by MSSQL to restore these databases, and yet they are set as 'RESTORING'.   any suggestion from the community here will be much appreciated as i am banging my head against the wall already.   thanks,   Nicolas    data warehouse | data migration | ETL/ELT | UK | http://www.brainpowered.net

.NET application crashes when computer system wakes up from sleep mode.


Need help in understanding this error message generated from mscorlib failing when using threading.  I know the problem is not the code written by me, as the application works fine until the computer system is left idle, say for 30mins and allowed to go into sleep mode then the error manifests itself, about a minute later when the computer wakes from sleep mode, the application will perform its tasks and then this error is generated.

This could be a problem with System.Net.NetworkInformation.NetworkChange.AddressChangeListener.AddressChangedCallback

Any information given about the error described below is greatly appreciated, and information on how to prevent such errors even more greatly appreciated, or traps and handles it successfully.


Kind Regards,


Details of the error given below:--


"The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread and not reverted(undone)."

Source: "mscorlib"

StackTrace: "   at System.Threading.SynchronizationContextSwitcher.Undo()\r\n   at System.Threading.ExecutionContextSwitcher.Undo()\r\n   at System.Threading.ExecutionContext.run

Shared Datasource in Windows integrated mode - Not able to use subscriptions -> is there an other op


Hi all,


We have a SharePoint 2007 and SSRS 2008 in intergrated mode. For cell security we use Windows authentication, which works well. Now we would like to use the create subscriptions option but it doesn't work since we use Windows authentication.

Is there an option to use Windows authentication for the ad hoc requesting of a report and the stored credentials for a subscription?




SQL 2008 - Switching to Windows Authentication Mode


I'm thinking of switching to Windows Authentication on my SQL 2008 server.  Here's my first draft at a plan:

1.  Create Windows accounts matching the exiting SQL accounts.
2.  Grant the new Windows accounts the appropriate database permissions.
3.  Change applications to use the new account information.
4.  Remove the SQL accounts
5.  Switch SQL to Windows Authentication

Is is that simple?  Or am I missing something?

Website Windows Authentication fails when enabling SQL Mixed Mode.


Hello all,

Just to describe the scenario. I have a website. This lives on a webserver. On that webserver is an SQL server. The website connects to this database using windows authentication. I have written a windows form application that connects to the SQL Server on the webserver. This application is being run from a location on out intranet. The Winform application use SQL authentication to connect to the database. The SQL Server didn't have mix mode authentication enabled. So I enabled it. The winform application could now connect to the SQL Server.

This is where it starts getting a little strange.

The Website that was already connecting find using integrated authentication starts failing with:

Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

When you are enabling mixed mode authentication, you are adding another authentication method, why would the original Windows authentication fail?

Thanks for any suggestions and sorry if this is completely the wrong place to be asking this question,


Requesting Data... takes forever, any idea why?


Lately, when I design my page in the Design mode, I kept getting this "Requesting Data..." at the bottom status bar and the mouse cursor blue circle kept spining. Any idea how to resolve this issue? The site is create within my local hard drive. I've tried created a brand new site with no files to start with and it's still doing the same thing.

SQL backup takes forever


Esteemed users,

I have a database to backup. It used to take about 20 minutes. Now it has taken 1600 and 1700 minutes for the last two days. When I checked the processes in the server one process takes 2 billion CPU time. Can I conclude that this is the culprit?



Re-login to SQL Server 2008 in Windows authentication mode after resetting my Windows login password



I recently reset my Windows login password but from then onwards SQL Server 2008 is not allowing me to login in Windows authentication mode.

Can someone please help on where I can go and set my new Windows Login password in SQL Server 2008 and continue to login in Windows authentication mode?

Thank you,

Anish Ravindran

Installing SQL Server 2008 R2 takes forever


Hi all.

I'm installing MS SQL Server 2008 R2 on a Windows 2008 R2 VM running under Hyper-V

After a long period of time, nothing happends.  The process that stops is


It has been holding that position now for two days so this morning I decided to terminate the setup.  When I go to COntrol Panel and selects the server for uninstall I get a choice of repair or uninstall.  I thought repair would be the correct choice, but it still stops on the same process.   I dont think anything has hung, but it looks like something is making the installer wery busy. 

Please help

------------------------------------------- Ole Morten Heien HD Software / Advisor AS -------------------------------------------

Windows Service Applications Tutorials

You can easily create services by creating an application that is installed as a service. For example, suppose you want to monitor performance counter data and react to threshold values. You could write a Windows Service application that listens to the performance counter data, deploy the application, and begin collecting and analyzing data.

Serving Silverlight Apps from Windows Mobile

Even if mobile dev is not my every day work, thanks to the .Net Compact Framework, it's still .Net programming.

Here is the scenario:

You come back home, you have a windows mobile phone wifi capable and you want to quickly get access to your phone pictures from your home network.
You just activate the Wifi, run my app and then browse to the provided link from any computer on the network.

Getting Started with Windows SharePoint Services

Of all of the capabilities of SharePoint, I thought I would start with the most basic installation - as a corporate intranet. It is likely that we will need to discuss some of the elements of SharePoint as we go along, so this also gives us the opportunity to review these elements for future reference.

Before going into too much detail, I would like to point out that you can try the core SharePoint framework (known as Windows SharePoint Services or WSS) for free. On Microsoft's Web site you can download a trial version of Virtual PC 2004 (VPC). Using VPC, you can install the Windows 2003 Evaluation Kit and the WSS add-on. This combination will give you 45 days to evaluate the setup.
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