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

Top 5 Contributors of the Month
Post New Web Links

SSMS for 2008R2 Crashes Immediately; kernelbase.dll fault; Both Repair and Uninstall/Reinstall Don'

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :

I currently have the 64-bit versions of SQL Server 2005 and SQL Server 2008R2 installed on Windows 7, 64-bit. The 05 version works fine. I can even see the DBs on the 20008R2 server instance when using SSMS-05. However, I cannot even begin to open SSMS-08R2. It crashes immediately. The event log shows a problem with kernelbase.dll.

I have tried to repair the installation, have uninstalled and reinstalled, but the problem remains. This is the latest in my problems with 2008R2. Originally, I had a problem wherein it crashed after selecting a server to connect to because it could not read the registered servers, and I was never able to fix that either. Now I don't even get that far.

Searching for kernelbase.dll, I find that I have two versions on my machine: 6.1.7600.16385 and 6.1.7601.17514.

Faulting application name: Ssms.exe, version: 2009.100.1600.1, time stamp: 0x4bb679e7
Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdbdf
Exception code: 0xe053534f
Fault offset: 0x0000b727
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13

View Complete Post

More Related Resource Links

KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdbdf Exception code: 0xe0434f4d Fault off


Hi all just am getting this error with KernelBase.dll, what's happening at my application end is that I am using .NET Framework to determine if network connectivity is available, raise an event from underlying dll to inform application when network connectivity is established, or network connectivity is unavailable. Nothing really special here just using standard stuff out of .Net framework here.  Have seen similar incidents with KERNELBASE.dll reported, but no one is really giving out any info on what exception 0xe0434f4d is a code for.  Knowing what the execption would be, would allow me to find a quick workaround to the problem. BizTalk seems to have similar issue with KERNELBASE.dll. 


Additional info that may help is that I am running the .NET application on a Windows 7 machine with less than 100MB of storage space, well below the recommended minimum of 300mb, but am testing the .NET application through it's paces now. It should work if Windows 7 is working.

Below is the extract taken from the Windows application log:-


How do I uninstall VS2010 trial and reinstall licensed copy ?


I installed a VS2010 Trial and have since downloaded a copy from the company MSDN account. I uninstalled everything that said VS2010 in the Programs area and am now attempting to reinstall the MSDN copy. It does not work. The install ends up through all kinds of errors and ends with an unsuccessful install message.

What do I have to do to completely clean off the old versio, or may the new one overwrite everything? Thanks.

Cannot uninstall or reinstall TFS 2010: how to clean by hand ?


I have installed SQL Server 2008 express, reinstall it with advanced services, uninstall TFS 2010 and tries to reinstall it but fails. It doesn't want to completely uninstall.

So I'd like to clean everything by hand (deleting registries, folders) but can't find any info. I have deleted install directory but installer still memorized that TFS is installed.

SharePoint 2010 Internet Enterprise uninstall/reinstall with fixed enterprise key fails with error,


In attempting to apply the advice in http://blogs.msdn.com/b/sharepoint/archive/2010/06/03/sharepoint-server-2010-for-internet-sites-update.aspx, I'm unable to re-install SharePoint 2010 Enterprise for Internet Sites. 

I had a "Server Farm" installation using RTM (from my Select site) that installed all components (i.e., "Complete").  In addition, I had FAST server and Web Apps installed.

Per the instructions, I simply used the Control Panel to do the uninstall:

  • Used the Control Panel to uninstall SharePoint 2010 (i.e., yes to "Are you sure you want to remove Microsoft SharePoint Server 2010 from your computer")
  • Restart
  • Get new product key
  • Run setup
  • Get error:  "The install in progress conflicts with a previously installed Microsoft Office 2010 Server product"

Perhaps I should have run the configuration wizard first to disconnect, etc. but was trying to follow the provided instructions exactly.

That said ... what can I do to clean up the remnants so I can re-install the product without wiping the server, etc.


P.S.  If the instructions were not intended to be taken literally, please update t

Broken Sql 2008 install, can't uninstall or repair


I recently got a dedicated server from a hosting company. It is running Windows 2008 R2 on x64. I think there may have been a previous Sql or Sql Express install which I removed.

I tried to install Sql 2008 Enterprise and got an error about INSTANCESHAREDDIR and/or INSTANCESHAREDWOWDIR not being valid and that I needed to add them into the command line. I added INSTALLSHAREDDIR and INSTALLSHAREDWOWDIR to the command line and was able to get the install to complete but it said some of the components failed (one of which was the actual database engine).

So now I'm trying to uninstall or repair, but every time I do I get a message that the INSTANCESHAREDDIR and INSTANCEWOWDIR are not valid and need to be included as part of the command line. When I do include them I get a message that they are not allowed as part of the command line for an uninstall or repair.

Basically I'm completely stuck because I can't uninstall or repair. I've been trying things for a few hours with no luck. If anyone can help I'd be happy to include any of the log files, exact error messages, etc. Please just let me know if you'd like to troubleshoot the uninstall or repair issue. Also if anyone knows where I could manually set values for those 2 variables I could try doing that.

Thanks in advance,


Uninstall/Reinstall MS Cluster


Hi all,

I really need som help here. We "had" a Microsoft SQL Server 2008 cluster installed on two nodes running Windows 2008 R2 Enterprise. Node 2 crashed so we fallowed the MS procedures to reinstall the node and tried to add it again to the cluster. But i wont work and we have given up on trying. So at this point we want to build a new cluster paralell to this environment and move the resources to this new one.

What is the best way to do this?

Is it possible to reuse cluster name, resource name and so on?


Trying to uninstall or repair sql server express 2008 - I get the following error: The Given key was


Trying to uninstall or repair sql server express 2008 - I get the following error: The Given key was not present in the dictionary.  i have tried many things, reinstalling, etc, but nothing works.  i have a working version of 2008 express R2, but i want to remove the 2008 express.  any help would be appreciated.  i have pasted the contents of one of the logs below.

Overall summary
  Final result:                  Failed: see details below
  Exit code (Decimal):           -71883602
  Exit facility code:            951
  Exit error code:               9390
  Exit message:                  The given key was not present in the dictionary.
  Start time:                    2011-04-05 23:04:06
  End time:                      2011-04-05 23:04:20

How to repair and reinstall Microsoft sql server 2008




   i am using Windows server 2008 with 64-bit OS and MS Sqlserver 2008 express, i have some problem while opening the sqlserver 2008 it is showing  "Cannot connect to sqlserver". i need repair or reinstall the sql server, and also in my sister sharepoint server 2010 also is there. how to repair or reinstall the sql server, i dont have backup of sqlserver 2008 software. please help me.





Test Run: Fault Injection Testing with TestApi


Fault injection testing is the process of deliberately inserting an error into an application to determine whether it deals with the error properly. We'll explain how you can introduce faults into .NET applications at run time using the Managed Code Fault Injection APIs of the TestApi library

James McCaffrey

MSDN Magazine August 2010

Data Points: Data Performance and Fault Strategies in Silverlight 3


In this month's column, the author shows how binary encoding works, the effect it has on an application's performance, and how it behaves by demonstrating it in action.

John Papa

MSDN Magazine August 2009

Crash Course: Analyze Crashes to Find Security Vulnerabilities in Your Apps


Here the authors analyze program crashes to help you understand if you have the potential for read or write violations in your applications, and how they can lead to security vulnerabilities.

A. Abouchaev, D. Hasse, S. Lambert, and G. Wroblewski

MSDN Magazine November 2007

How to reflecting database changes immediately on asp.net page


Hi Everyone.

I have a web site that is highly dependant on a SQL Server 2008 database.  I am using linq to sql to connect to the database and require the website to reflect database changes immediately.  Currently the changes are only reflected once a postback occurs and the database is requeried.

Is there a way to get the asp.net page(s) to be alerted of an database change and then to reflect it immediately, or within seconds, on the display?  I am aware that one can use the SQLDependency class and ADO.NET to do this, but am not aware of any linq to sql possibilities.

Any help will be greatly appreciated.


Custom Editform.aspx crashes Sharepoint Designer

Hi there,

I've recently designed a sharepoint list and customised newform.aspx and editform.aspx. I made copies of the originals then customised the copies.
On both forms I simply:

* Closed original List Form web part
* Added Custom List Form
* Added some section breaks (<tr>) to the form to break it into sections
* Added a new css style to change the background colour on the section breaks (table rows)

Now NewForm.aspx works fine. However after making above changes in EditForm.aspx, I saved it. However whenever I try to reopen EditForm.aspx in Sharepoint Designer (SD), SD crashes! I can only open it in Text view. The error details reported by SD are:

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    SPDESIGN.EXE
  Application Version:    12.0.6423.1000
  Application Timestamp:    49b09947
  Fault Module Name:    FPEDITAX.DLL
  Fault Module Version:    12.0.6423.1000
  Fault Module Timestamp:    49b098d3
  Exception Code:    c0000005
  Exception Offset:    0010b35c
  OS Version:    6.0.6002.
  Locale ID:    3081

Additional information about the problem:
  LCID:    1033
  Brand:    Office12Crash
  skulcid:    1033

I really don't know why SD is crashing. As a test I made a new

Simultaneously connecting to db with VS, website and SSMS


I have recently combined my aspnet membership database and main website database into one database file, I'm happy with the schemas, stored procedures etc. (This is a development project not yet a production project.)

My problem is that I can no longer simultaneously connect to the database from Visual Studio if a user is logged in to the website.



Scenario 1: No user is logged in to the website. I can go to the Data Connection window in VS, choose "Add Connection" and then inspect the contents and schemas of the database. This is fine.

Scenario 2: A user is logged in on the website. I try to connect to the website in VS and get the error:

"Cannot open user default database. Login failed. "

Scenario 3: I am connected to the database in VS and nobody is logged into the website. If someone tries to log into the website they get the following error:

Cannot open user default database. Login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.

So it seems from the above that there can be only one connection to the database at a time? However this was not the case before I combined the membership database with the main website database. I could always make changes as a user logged

[VNCSharp Help] Client Disconnecting Immediately

Hello all, This isn't the best place to ask this question, I know, but I can't find a dedicated VNCSharp support community. I have created a WPF application that uses the control, by wrapping it in a WindowsFormsHost tag, and am able to get it to almost connect.  But just as the client should connect to the server it disconnects!  Using the regular VNC client (RealVNC, client and server) I'm able to connect without any trouble. My code is pretty simple right now, I'm just sending a connection after the program loads: namespace RemoteVirtualDesktop { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { RemoteDesktop _remoteDesktop; public MainWindow() { InitializeComponent(); } private void Window_Loaded(object sender, RoutedEventArgs e) { _remoteDesktop = new RemoteDesktop(); VncControlHost.Child = _remoteDesktop; _remoteDesktop.ConnectComplete += RemoteDesktop_ConnectComplete; _remoteDesktop.ConnectionLost += RemoteDesktop_ConnectionLost; try { _remoteDesktop.Connect("... snip ..."); } catch (VncProtocolException vex) { MessageBox.Show(this, string.Format("Unable to connect to VNC host:\n\n{0}.\n\nCheck that a VNC host is running there.", vex.Mess

WPF Designer (in VS 2008 and VS 2010) crashes with Visual Studio

Good day all. I have the following question: WPF designer in both VS 2008 and VS 2010 crashes with Visual Studio when I try to edit UI form. Moreover, it crashes even when I try to save .xaml.cs file. Meanwhile, Winforms and Dataset UI editors work as usual. Are there other people met this issue? And how could I fix up this problem? Deleting the .suo file, uninstalling silverlight, repairing visual studio, and further googling did not help me. Thanks in advance.

Designer crashes sometimes because application path becomes C:\Windows\system32

Sometimes VS crashes as it seems to execute the WPF designer in its directories or C:\Windows\system32. Sometimes it works fine as we can preview saved settings in the Designer. I have set application path as follows : ConfigFile = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "mixer.ser");<br/> When VS crashes I accept to debug it, the exception is : {"Access to the path 'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\mixer.ser' is denied."}    System.Exception {System.UnauthorizedAccessException} ... or c:\windows\system32 Any ideas on how to fix this ?   Thank you !
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