.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

Visual Studio crashes when I try to add a new control

Posted By:      Posted Date: September 14, 2010    Points: 0   Category :WPF
After installation of Microsoft Ribbon for WPF, Visual Studio crashes everytime I try to add a new control to the toolbox What can I do? Solution desperately needed.

View Complete Post

More Related Resource Links

Where is the Visual Studio 2008 Web Control Library Template


Does a project exist for grouping user controls? Visual Studio 2005 had this template but it does not appear to exist in 2008.

We will be creating several User Controls and would like them grouped accordingly.


Thanks in advance for any responses.

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.

Visual Studio 2010 crashes all the time

Does anyone know why VS 2010 crashes so often, and how to fix it?Greg H.

AJAX Control Toolkit in Visual Studio

Hello everybody.I want to include AJAX Control Toolkit in my project currently designing of Visual Studio 2008. I found a link Installing AJAX Control Toolkit in Visual Studio 2008 . It is helpful. I want to know anything else shall I have to do for enabling AJAX Control. Is there anything should I write in web.config file or in that .aspx file? I have to submit my project in college so can enabling AJAX Control in that project by including files, create any problem on execution of the project on AJAX Control not enabled machine of my college? Or the reference files will going to be saved in bin folder?Any information will be very helpful to me.Also there is a paragraph in last section of the instruction, here it is :Now we are able to add any of these controls to our web applications. However, we must still remember the ScriptManager, as all of these controls are AJAX-enabled. I don't understand this line "However, we must still remember the ScriptManager, as all of these controls are AJAX-enabled."Thank you.

Getting Content Control on Content Page in Visual Studio


Visual Studio 2010

Working on a content page (.aspx page with associated master page)

Not all of the content place holders from the master page are represented on the content page (have been deleted)

Can go to the master page, find the place holder I want, return to content page and type out the "content" tag.

Is there an easier way? Can I drag a content tag in from a toolbox somewhere? Can I "re-apply" a master page to a content page and have it restore missing place holders? Looking for the lazy way out.

ObjectDataSource Control Disabled/not appearing in Toobox for Visual Studio 2010 SharePoint Project

  1. I've created a SharePoint Project in Visual Studio 2010.
  2. Added Visual webPart .
  3. In the usercontrol of the webpart in trying to add ObjectDataSource control, but this control is not availble in Tool box under Data tab. it appears only if i right click on datatab and select "Show All", but still the ObjectDataSource Control is Disabled and even i cannot drag and drop it on the Webpart.
  4. Also i've created a sample Business Class, with all the mandatory attribute like





Visual Studio WebBrowser control's PrintPreviewDialog generates "VSHost32.exe has stopped working"


I'm getting a problem with a VS 2008 application when I use the WebBrowser control's .ShowPrintPreviewDialog method and either print or close the dialog box.  I'm working on a 64-bit Windows 7 computer and using Visual Studio's default Debug option settings.  The problem happens both when running from the IDE in debug mode and after compiling in x86 mode as a stand-alone.

The control is central to as an otherwise effective report management system, so on btnPrint_Click I assign HTML code to .DocumentText and then call .ShowPrintPreviewDialog, which works fine, other than it does need 2 clicks so it seems both stages have to happen as separate events? 

Although when I go to print, the document prints okay, the print preview dialog form closes itself and whole program crashes with the above message.  I've also tried separating those stages to avoid the 2-click issue, but I still get the crash.

If I turn Project>Properties>Debug>"Enable unmanaged code debugging" ON, I get this message instead "Unhandled exception at 0x752c77df (urlmon.dll) in PMPos.exe: 0xC0000005: Access violation reading location 0x00000001."

The control's other print dialog methods work fine.   Is there a solution that I can rely on when distributing the application or am I best abondoning this particular

Visual Studio 2010 - Design Mode Error - "Error Creating Control"



I am using Visual Studio 2010.  I was debugging a web application and an exception happened and VS 2010 froze.  I ended the VS 2010 in the task manager and when I went back to developing, I found on every form for every ASP.net control I get:


Error Creating Control -

Error HRESULT E_FAIL has been returned from a call to a COM component.


Also I am unable to edit  the form or add anything from the toolbox.


Any help on this matter will be appreciated.





Visual Studio 2008 crashes on SSIS Data Flow Task opening


Visual Studio 2008 crashes on SSIS Data Flow Task opening.
This is a random behavior on random SSIS packages on Data Flow Task opening on packages that I've finished developing last week. The packages does not executes with error.

Error Description from Event Viewer:
Faulting application devenv.exe, version 9.0.30729.1, stamp 488f2b50, faulting module msdds.dll, version 9.0.30729.1, stamp 488f2e31, debug? 0, fault address 0x00012b6a.

I'm runnig SSIS development against SQL SERVER 2008 ENT 64.

There is already a fix for this ?

My environment description:
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1
Installed Edition: Professional

Microsoft Visual Basic 2008 91605-270-4167253-60984
Microsoft Visual Basic 2008
Microsoft Visual C# 2008 91605-270-4167253-60984
Microsoft Visual C# 2008
Microsoft Visual Studio 2008 Tools for Office 91605-270-4167253-60984
Microsoft Visual Studio 2008 Tools for Office
Microsoft Visual Web Developer 2008 91605-270-4167253-60984
Microsoft Visual Web Developer 2008
Crystal Reports    AAJ60-G0MSA4K-68000CF
Crystal Reports Basic for Visual Studio 2008
KB944899, KB945282, KB946040, KB946308, KB946344, KB946581, KB947171, KB947173, KB947180, KB947180, KB947180, KB94

No combobox ajax control visible in Visual Studio 2008 web project


Greetings -

New user to Visual Studio 2008 - one of the reasons for upgrading from 2005 was because I wanted to use the AJAX Toolbox Control for combobox in my web forms. 

Have started a new project, have told it to use .net 3.5 for the project, but when I go to the ajax tooklkit in the toolbox panel there is no combobox.  Could someone please tell me why it isn't there?

Environment - Visual Studio 2008 SP1

Many thanks - OfficeWonk


Composite control in Visual Studio Toolbox


Hi Friends,

I have developed a composite control in framework 2.0. I want when I add reference assembly(.dll) of composite control in any other project, it should automatically be added into visual studio toolbox so that I can drag-n-drop it any time. Currently I need to manually add control from Visual Studio > Toolbox > Choose Items.

Any solution?


Error creating control contentplaceholder1 Visual Studio 2010 design mode


After I imported a VS 2008 web project to VS 2010, I can't view aspx pages that have master pages in design mode. The page design mode displays "error creating control - contentplacehoder1 object reference not set to an instance of an object." The project builds and runs fine though. I have only one master page that all other aspx pages reference and I don't have any nested master pages. Can anybody help me with this? Thanks in advance.

Visual Studio 2008 Help Crashes on Search


I can't get to the Object Libraries using Help Search in VS 2008. This seems to be a common problem. I have Windows 7 Professional, 64-bit machine.

Is there a fix for this?


Selecting Oracle Stored Procedure in SSRS Crashes Visual Studio 2005 IDE


Problem Conditions

I have a very simple Oracle (11g) Stored Procedure that is declared like so:

* FROM MyTable;

This compiles correctly. The cursor contains col1, col2 and col3.

In SSRS, i have a Shared Data Source that uses Oracle OLEDB Provider for Oracle 11g:


Visual Studio 2010 crashes when opening XAML files


I'm having a problem opening XAML files in Visual Studio 2010.  When I open a XAML file, Visual Studio become very slow and the XAML file never produces an outline or a rendered version of the XAML.  When I click in the text of the XAML, it can take several minutes for the cursor to appear where I clicked.  The XAML file is rather small - just a grid with some basic controls on it (a grid, stack panel, radio buttons, date pickers, etc).  The problem occurs if I open any XAML file in the project, though.

When I watch devenv.exe in the task manager, as soon as I open a XAML file, the process is consuming 100% of one of the CPUs and begins eating chunks of memory at the rate of about 5MB/second and creating a new thread about every two seconds.    The memory use grows until it's about 700MB and the number of threads climbs to between 450-470 before it levels off.  Even after it stops producing new threads and consuming more memory, the XAML file is still unresponsive and it's still using 100% of one of the CPUs.  Even after a half hour, the CPU is still at 100% with 452 threads.

I have completely uninstalled and reinstalled Visual Studio but I'm still having the same problem.

I'm running XP sp3 32-bit with VS 2010 Ultimate on a dual core machine with 4GB RAM.  At this point I simply can't edit XAML

Visual Studio 2010 + Ajax Control Toolkit??? How To?? Anyone??


How does one go about getting the AjaxControlToolkit working in VS 2010 RC1 ??

What version of the tool kit (and or source) should i use??


I downloaded the latest (tool kit only) source and tried to build in VS 2010 RC1 build went fine but when trying to add the tool kit to the Toolbox in VS 2010 RC1 i get the following error:


 There was an error loading types from assembly AjaxControlToolkit\bin\debug\Ajaxcontroltoolkit.dll

Inheritance security rules violated by type:

Ajaxcontroltoolkit.TabContainerDesigner Derived types must either match the security accessibility of the base type or be less accessible.



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