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


Top 5 Contributors of the Month
ASPEvil
david stephan
Santhakumar Munuswamy
Fauzul Azmi
Post New Web Links

if sql server crashes!

Posted By:      Posted Date: October 04, 2010    Points: 0   Category :Sql Server
 

hi ,

during my graduation , i read several ways by which databases can retrieve to the last stable point before crashing .like raids system. 

what is the most optimal method in case of crash of sql server ?




View Complete Post


More Related Resource Links

SQL-Server 2005 x64 / windows server 2003 x64 crashes during file copy

  
Hi We are running: Microsoft SQL Server 2005 Standard - 9.00.4294.00 (X64) Microsoft Windows Server 2003 R2 Enterprise x64 We have gigabit interface. Today we copied a file (using robocopy) from our databaseserver to another server (backup-server). The copy was started from the backup-server and source were specified using UNC. The copy were using about 20% of the bandwith (about 200Mbit). During the copy, sql-server reported several errors, for example: AppDomain 15 (mp.dbo[runtime].14) is marked for unload due to memory pressure. The client was unable to reuse a session with SPID 75, which had been reset for connection pooling. This error may have been caused by an earlier operation failing. Check the error logs for failed operations immediately before this error message. ***Stack Dump being sent to [PATH\SQLDump0005.txt Resource Monitor (0x1384) Worker 0x000000008000C1C0 appears to be non-yielding on Node 0. Memory freed: 0 KB. Approx CPU Used: kernel 15 ms, user 218 ms, Interval: 428541. So to me it appears that sql-server crashed during a file copy. We have 27 GB ram. With 24.5 GB dedicated to SQL-Server. The files we copied were quite large, some over 50GB. I found a similar issue about this: http://support.microsoft.com/kb/920739/ Do you think the issue above could be the cause of the sql-server crash? ///Patrik

Client (Excel) crashes on exit with C# Interop Server (in-proc)

  
Hello, I'm having a generic problem understanding how to free resources when writing .net COM Servers (using CCW). Excel 2007 VBA is my client in this case. I believe it to be a problem that resources aren't immediately freed and on exit of Excel, a crash occurs which is probably due to invalid resources. The code server code I have is as follows: using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.Windows.Forms; using System.Threading; using System.Diagnostics; namespace myclass { [Guid("84F0D8F6-AF73-43fe-92D3-C7264EDBDB18")] [ComVisible(true)] public interface IProgress { [DispId(1)] void Show(); [DispId(7)] void Finished(bool WaitOnOk); } [Guid("1195C591-8592-4533-BFFD-C383B33B2976"), InterfaceType(ComInterfaceType.InterfaceIsIDispatch)] [ComVisible(true)] public interface IProgressEvents { } [Guid("9773AD88-E17C-4c27-94AE-BA3FC330F162"), ClassInterface(ClassInterfaceType.None), ComSourceInterfaces(typeof(IProgressEvents))] [ComVisible(true)] public class Progress : IProgress { System.Diagnostics.BooleanSwitch trace = null; System.IO.FileStream log = null; private bool m_InitForm = false; public Progress() { log = System.IO.File.Create(@"c:\hbasElvis.txt"); Trace.Listeners.A

Word 2010 Crashes When Editing Server or Document Properties

  
I don’t know if I’m doing something wrong or if this is a bug. We are using Metadata in our SharePoint 2010 implementation and I have linked this to the various document templates. If the template is a docx or dotx extension then, in a document library, going New Document and editing the Server or Document Properties causes Word to crash. Document templates based on .doc extensions work fine. Once the document has been created you can edit the properties but obviously this isn’t the best process. Does anyone have any advice on this? Thanks Neil

SQL Server Import/Export Wizard Crashes

  

Whenever I try to import or export data using SQL Server Import And Export Wizard, everything is great until I click on the "Finish" button. 

The wizard gets to the "Setting Source Connection" step and at 0% complete, I get the message "SQL Server Import and Export Wizard Has Encountered A Problem And Needs To Close."  This happens every time I run the Wizard, whether it be from SSMS, BIDS, or the file manager.  It doesn't matter what type of database table/file I import to or export from.

If I select to Debug, I get this message:  "Windows Has Triggered A Breakpoint In DTSWizard.exe.  This may be due to a corruption of the heap, and indicates a bug in DTSWizard.exe or any of the DLL's it has loaded.  The output window may have more diagnostic information."  Here is the output:

'DTSWizard.exe': Loaded 'C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTSWizard.exe', No symbols loaded.
'DTSWizard.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'DTSWizard.exe': Loaded 'C:\WINDOWS\system32\mscoree.dll', No symbols loaded.
'DTSWizard.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'DTSWizard.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'DTSWizard.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No

SQL Server Management Studio crashes when browsing to open a file...

  

SSMS has started crashing on me frequenly in the last 24 hours--perhaps related to the latest round of updates?  It always happens when I'm attempting open a file and browsing to it.  This behavior seems new.

 

This is the dialog box I get:

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Dialog: Microsoft SQL Server Management Studio

 

Microsoft SQL Server Management Studio has encountered a problem and needs to close.  We are sorry for the inconvenience.

 

If you were in the middle of something, the information you were working on might be lost.

 

DEBUG button                                                              CLOSE button

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Current sta

My production server crashes after some time and I can't figure what's happening....... help me pl

  

Hello,

I've got a 32bit win2008 server on wich it runs a silverlight 4 application,

I've got some problems that force me to do an iisreset each 3/4 hours... I've done a dump with debugdiag 1.2 and I'm tring to find if I'm leaking at some points.......

here's what I've seen doing a !dumpheap -stat (cut some points with small objects)

 

7772fb0c     3147       100704 System.Windows.Input.PreProcessInputEventHandler
70883670     2857       102852 System.Security.PermissionSet
71e97cb4     1863       104328 System.Configuration.ConfigurationProperty
7771d5c8      449       105964 System.Windows.Media.Animation.ClockGroup
1f586e04     2950       106200 Telerik.Reporting.Drawing.Style
1f58df6c     1581       107508 Telerik.Reporting.TextBox
7772fccc      449       107760 System.Windows.Input.StylusLogic
7087972c     3475       109164 System.Reflection.CustomAttributeRecord[]
6fe8e0d0 &nbs

call JavaScript - jQuery code from ASP.NET Server-Side

  
jQuery got so close to me lately that I can see myself adding the scripts to my project almost unconsciously. The thing is, jQuery is very useful for me, in almost all situations and it has been a do or die enhancement for all my project since I first put my hands on it.

Of course while using it, you encounter few situations which need a bit of research to solve, mostly when you are trying to combine it with some other technologies like: UpdatePanels and ASP.NET Ajax. For instance there are many situations when I would like to run some jQuery magic based on some decision that I make on the server side.

Making Ajax Callbacks to the Server Using jQuery with ASP.NET

  
In the first part of this article series I introduced jQuery's functionality and how it provides a rich client side programming model. This time around I'll expand on these concepts and show you how you can use jQuery in combination with ASP.NET using it as an AJAX backend to retrieve data. I'll also discuss how you can create ASP.NET controls and otherwise interact with jQuery content from ASP.NET pages in WebForms.


jQuery is just a JavaScript library so it will work seamlessly with ASP.NET both from page code as well as through backend driven code using the Page.ClientScript object or ScriptManager. You can use jQuery on its own as a client side and Ajax library that communicates with ASP.NET or you can use jQuery in combination with ASP.NET AJAX. The two actually complement each other quite well as jQuery provides functionality that the ASP.NET AJAX library does not and vice versa. For the most part the interaction between the two libraries is trouble free except for a few very rare edge cases.

MS SQL Server: Disconnect Users From Database - Kill User Session

  
If you ever wanted to restore your database from a SQL backup file (.bak), but there are still users connected to your database, the backup operation will fail causing the error: Exclusive access could not be obtained because the database is in use.

MS SQL Server: Search All Tables, Columns & Rows For Data or Keyword Query

  
If you need to search your entire database for specific data, this query will come in handy.

So when a client needs a custom report or some sort of custom development using Great Plains, most of the time I will have to track down the data in the system by running this query and find the table(s) it is in.

call JavaScript - jQuery code from ASP.NET Server-Side

  
jQuery got so close to me lately that I can see myself adding the scripts to my project almost unconsciously. The thing is, jQuery is very useful for me, in almost all situations and it has been a do or die enhancement for all my project since I first put my hands on it.

Of course while using it, you encounter few situations which need a bit of research to solve, mostly when you are trying to combine it with some other technologies like: UpdatePanels and ASP.NET Ajax. For instance there are many situations when I would like to run some jQuery magic based on some decision that I make on the server side

Publishing SQL Server Database using Publishing Wizard : Tips & Tricks

  
We can use SQL Server Publishing Wizard to deploy our local Database to remote hosting server/production server.This feature is available in SQL Server 2008/VWD 2008.

Below is the complete step by step guide of this process.

CLR Integration With Microsoft SQL Server

  
Transact-SQL provides as much flexibility as possible but, because it is not a real programming language, it has some shortcomings about many issues (memory management, exception handling, debugging, file processing (or streaming), object-orientation (classes), or thread management). Transact-SQL also lacks features of normal libraries (arrays, collections, serialization, expressions, or string manipulations, etc).

IP Address Blocking or Restriction in SQL Server

  
"is it possible to block connections to SQL Server based on IP address". As far as now there is no official way in SQL Server to block the connections in SQL Server based on IP address. However this can be done from the OS end, we have the following three options available, refer HERE for more.


.Firewall
.IPSec
.RRAS IP Filter

Determine whether Forms Server is installed on a server

  
Check whether the Microsoft.Office.InfoPath.Server.dll and FormServer.aspx files are installed on the server.

Connestion string create any database server

  
This links important to how to create connection string to any data base sever.

SQL Server Database Transaction

  
A transaction is a group of SQL commands executed together as a single component of work to be accomplished. If all of these commands succeed, then a transaction is committed - the changes to the data are made final. If any of the commands within a transaction fail, then the entire transaction is cancelled, or in SQL Server terms, the transaction will be rolled back.

Transactions are one of the things that keep your data safe, but they're not necessarily easy to understand. Here's some help:
Categories: 
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