Fatal Exception on SQL Server Project Deploy

Posted on 2009-04-17
Last Modified: 2013-12-17
I'm using SQL Server 2005 9.00.4035.00 (Intel X86) and Visual Studio 2008 SP1.  

I need to develop a managed stored procedure and this is just a trivial starting point for something that will become a lot more complex.  However it is failing at the first hurdle.  When I do Deploy Solution I get
"A severe error occurred on the current command.  The results, if any, should be discarded."
in the VS Error List.  

In the SQL Server log I get:
"SqlDumpExceptionHandler: Process 54 generated fatal exception c0000096 EXCEPTION_PRIV_INSTRUCTION. SQL Server is terminating this process."
and then a dump.

Any pointers, please?

using System;

using System.Data;

using System.Data.SqlClient;

using System.Data.SqlTypes;

using Microsoft.SqlServer.Server;

public partial class StoredProcedures



    public static void TeamChurn() {

        SqlCommand myCommand = new SqlCommand();

        myCommand.CommandText = "SELECT * FROM MCTeams";




Open in new window

Question by:johnalphaone
    1 Comment

    Accepted Solution

    Ok, I've resolved this now.  The problem went away when I put Data Execution Prevention back to the minimum setting.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now