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


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> Aptitude >> Post New Question Subscribe to Interview Questions

debug the timer job To which process should you attach the debugger?

Posted By :Sagar Pardeshi     Posted Date :December 02, 2013    Points :40   Category :Aptitude 
A. owstimer.exe
B. devenv.exe
C. spucworkerprocess.exe
D. w3wp.exe


Ans:A. owstimer.exe

You can also find related Interview Question to debug the timer job To which process should you attach the debugger?  below: 

What is Garbage Collection in .Net? Garbage collection process?

  
The process of transitively tracing through all pointers to actively used objects in order to locate all objects that can be referenced, and then arranging to reuse any heap memory that was not found during this trace. The common language runtime garbage collector also compacts the memory that is in use to reduce the working space needed for the heap. (More...)

What is diffrence between Debug and Trace?

  
Debug helps to set methods and properties that helps in debugging code.If we use methods in Debug class for print debugging information and checking our logic with cases, you can make your application more robust without impacting the performance and code size.

Trace is used to release builds and instrumentation allows us to monitor the condition of our application running in real-life settings. Tracing helps us to know problems and fix them without interact a running system it also give you the step by step execution.

By Default Trace is enabled by default in visual Studio.

So code is generated for all trace methods in both release and debug builds. (More...)

How to get which Process is Blocked in SQL SERVER ?

  
There are two ways to get this sp_who and sp_who2 . You cannot get any detail about the sp_who2 but its provide more information then the sp_who . And other option from which we can find which process is blocked by other process is by using Enterprise Manager or Management Studio, these two commands work much faster and more efficiently than these GUI-based front-ends. (More...)

What is the difference between thread and process?

  
Thread - is used to execute more than one program at a time.
process - executes single program.
A thread is a path of execution that run on CPU, a process is a collection of threads that share the same virtual memory. A process has at least one thread of execution, and a thread always run in a process context. (More...)

There is an unnecessary process running on my system Searchprotocolhost.exe, which slow down the speed.
How to stop Searchprotocolhost.exe on WindowsXP?

  
Searchprotocolhost.exe is one of the reason to make your system slow. Following are the step(s) to stop this and make system fast.

1. Click Start -> Run or Press Windows + R
2. Type services.msc and press 'Ok' or click 'Enter'
3. Scroll down to find 'Windows Search' and double click
4. Stop the process

Another step to disable it from Startup:
5. Reapeat step number 1
6. Type 'msconfig' and press 'Ok' or click 'Enter'
7. Click on 'Startup' tab
8. Uncheck 'Windows Search' checkbox
9. Click Ok.

Restart your system.

To verify :
Open your TaskManager by pressing 'Ctrl+Alt+Del' and locate for Searchprotocolhost.exe in process tab. (More...)

What's the difference between the Debug class and Trace class?

  
Documentation looks the same. Use Debug class for debug builds, use Trace class for both debug and release builds. (More...)

What is the name of command in sql server 2005 which is used to kill any process?

  
The command name is kill.

Syntax is below:

Kill [Process ID] (More...)

Difference between thread and process?

  
Thread - is used to execute more than one program at a time.
process - executes single program (More...)

How do you Implement Timer Control in Javascript?

  
set Timedout("alert('5 seconds')",5000); Here the argument 5000 shows the millisecond value. (More...)

What does the This window show in the debugger?

  
It points to the object that's pointed to by this reference. Object's instance data is shown. (More...)

What's the difference between the Debug and Trace?

  
Documentation looks the same. Use Debug class for debug builds, use Trace class for both debug and release builds. (More...)

How do you debug an ASP.NET Web application?

  
Attach the aspnet_wp.exe process to the DbgClr debugger. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


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