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


Top 5 Contributors of the Month
david stephan
Post New Web Links

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

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :ASP.Net
 

Greetings,

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.

 

 

 

 




View Complete Post


More Related Resource Links

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.


How do I hide objects in design mode? (without using blend) Visual Studio 2010 for Silverlight

  
Is it possible? I tried d:isHidden="True" only works in Blend. How about design mode in Visual Studio?

Error trying to open WPF Xaml windows from Visual Studio 2010 in Blend 4

  
Hi I have Visual Studio 2010 ultimate, and expression Blend 4. I have created a WPF 4 project in Visual Studio and when i try to open the MainWindow.xaml file in Expression Blend 4 - i get an error stating that the file or folder is not a valid blend project. Is there something i need to install for visual studio to make blend able to edit WPF Xaml files in Blend 4? I can open blend4 and create WPF applications with no problem - its just trying to open a mainwindow.xaml created in Visual Studio 2010 in blend 4 when i get the error. I am running windows 7 32 bit. Cheers Rod. Mono / DotNet Rocks!

Visual Studio 2010 Design Editor Performance

  
Are there some recommended settings or updates that address the performance of the Visual Studio 2010 Design Editor.  The smallest changes max CPU usage for literally minutes Are there third party editors available?  

Error code -2068578304 When Installing Express SP1 x64 as a Part of Visual Studio 2010 Installation

  
Howdy! I was installing the VS 2010 on my server running Windows Server 2008 R2 x64 and all of a sudden the setup finished with " Setup completed, however, there were failures reported installing optional components. " The final status is success. The left-hand pane of the finish page reads as: The following component failed to install: Microsoft SQL Server 2008 Express Service Pack 1 (x64).   Leaving alone the fact why setup executed the custom action that tried to install SQL Server Express Edition and Compact Edition when I just asked it to install SQL components (which presumably should be SQL SMO and DMO libraries), I would like to understand what had happed to Express install.   Inspecting the .\Logs\dd_error_vs_vstdcore_100.txt file gives the following record:   [09/16/10,16:06:51] Microsoft SQL Server 2008 Express Service Pack 1 (x64): [2] Error code -2068578304 for this component is not recognized. [09/16/10,16:06:51] Microsoft SQL Server 2008 Express Service Pack 1 (x64): [2] Component Microsoft SQL Server 2008 Express Service Pack 1 (x64) returned an unexpected value. ***EndOfSession***   Further inspection of the dd_install_vs_vstdcore_100.txt provides with the info:   [09/16/10,16:02:51] Microsoft SQL Server 2008 Express Service Pack 1 (x64): GenericComponent Action: CreateProcess launched with cmd line : x:\setup\..\wcu\sse\SQLE

Session State throws error in ASP.NET Site Pages for SharePoint 2010 portal using Visual Studio 2010

  

I'm developing Visual Studio 2010 solution for site pages. I’ve created Site Pages in SharePoint 2010 and I’m trying to access Session variables in code behind in ASP.NET but it throws the following error.

Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

I set the page directive as enableSessionState=&quo

Visual Studio 2010 WPF Designer loading error

  

I have the following error when I try to open my xaml file under Visual Studio 2010 WPF Designer :

An Unhandled Exception has occured

System.MissingMethodException

Method not found: 'Void Microsoft.Expression.DesignModel.Core.PlatformService.RegisterPlatform(System.String, System.String, System.String, Boolean)'.

Blend 4 trial is however able to open and display this file.

Under Windows 7 Professional x64.

Best regards.

 

Jean-Pierre


Error to Add a Database to a Visual Studio 2010 Project via the App_Data Folder

  

I am trying to add a new database via the App_Data Folder and I receive an error described below.

When I attempt to add ANY TYPE OF SQL SERVER DATABASE through the App_Data folder I receive this error "Connections to SQL Server Files (*.mdf) require SQL Server Express 2008 to function properly.  Please verify the installation of the component or download from the URl."

I can create a db via SQL Server Mgmt Studio, it connects fine, and I can see tables.

Visual Studio- Server Explorer connects fine to the Database, I can see the tables.

Im running XP SP3 w/ Visual Studio 2010 and SQL Server 2008 R2 Developer.  I had previously removed SQL Server Express.

Why cant I access the database within my project, when Im able to connect to this fine within Visual Studio Server Explorer?


Error to Add a Database to a Visual Studio 2010 Project via the App_Data Folder

  

I am trying to add a new database via the App_Data Folder and I receive an error described below.

When I attempt to add ANY TYPE OF SQL SERVER DATABASE through the App_Data folder I receive this error "Connections to SQL Server Files (*.mdf) require SQL Server Express 2008 to function properly.  Please verify the installation of the component or download from the URl."

I can create a db via SQL Server Mgmt Studio, it connects fine, and I can see tables.

Visual Studio- Server Explorer connects fine to the Database, I can see the tables.

Im running XP SP3 w/ Visual Studio 2010 and SQL Server 2008 R2 Developer.  I had previously removed SQL Server Express.

Why cant I access the database within my project, when Im able to connect to this fine within Visual Studio Server Explorer?


Error connecting to SQL express - Visual Studio 2010

  

 Hi,

I recently installed Visual Studio 2010 and was getting the following error message when running the code (F5) "Error connecting to SQLexpress". The error page prevented me from seeing the webpage.

I consulted many different trouble-shooting recommendations, however, in my case, it was simply a problem with SQL. When I reinstalled SQL server 2008 on my computer, the error message was gone and I was able to see the ASP.net web development page.

Chris


Unknown server tag - controls not rendering in visual studio 2010 design surface

  

I added a visual web part item to my solution.  I'm looking to drag some controls on to the design surface from the toolbox but they're not there.  For example, linqdatasource control and datapager control.  I tried to create them in the markup up but all I get is 'cannot render control' or 'unknown server tag.'

At the top of my .ascx file I have:

<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>

<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Register TagPrefix="SharePoi

Visual Studio 2010 Report Wizard error could not load file or assembly

  

Hello frnds

i am developing a website using visual studio 2010

i want to develop reports for which i am using reportviewer control

I am having a seperate project (MyControl.Model.dll) which is referenced in my website

now when i try to create a report.rdlc file using Report wizard, i gives me error "Could not load assembly MyControl.Model.dll version=1.0.0.0.0 publickeytoken = null or one of its dependencies. The system cannot find the file specified". 

I dont understand what this model project has to do with report.rdlc?

can anybody give me solution for this. its urgent

Thanks in advance

Vipul




Cannot Publish Web Application in Visual Studio 2010 - Error: Get service of SVsBuildManagerAccessor

  

When attempting to publish a web application from Visual Studio 2010, I receive the following error:

Get service of SVsBuildManagerAccessor fails

I'm using Visual Studio 2010 Ultimate (x86) on Windows 7 Professional (x64).

I've attempted publishing the web app via FTP and Local File System and receive the above mentioned error.

I've searched the internet for the error but have found no solutions.


Visual Basic 9.0 error in Visual Studio 2010

  

I just upgraded from Visual Studio 2005 to Visual Studio 2010 yesterday. I tried opening my site; it started the conversion wizard and seemed to work OK. However, I get the error "Visual Basic 9.0 does not support this kind of lambda expression." Here is my code:

Dim MatchLength As Integer = Url.Path.Length
                        Dim D As GetRedirectedUrlDelegate = _
                          Function()
          Dim NewQuerystring As QuerystringContext = Url.QuerystringContext.Clone()
          NewQuerystring.ValueCollection.RemoveKey("id")
          Return Url.Clone(NewPath, NewQuerystring)
        End Function

            Match = New RedirectMatch(MatchLength, d)
            Return True

The error is on the "Function()" line. I thought multi-line lambda functions were one of the new VS2010 features. Why am I getting a VB9.0 error

Visual Studio 2010 is generating an error when i try to debugging !! ( some dll dependencies error)

  

Error    1   :  Could not load file or assembly 'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\website8\fc57c8f4\9cd69aba\App_global.asax.f2udfgci.dll' or one of its dependencies. The system cannot find the file specified.      

 

 

Server Error in '/WebSite8' Application.

Could not load file or assembly 'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\website8\07dcfacd\cdec788c\App_global.asax.thpappgt.dll' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\we

ASP.NET 4 and Visual Studio 2010 Web Development Beta 2 Overview

  
Many exciting changes for ASP.NET are coming in the .NET Framework version 4. This document gives an overview of many of the new features that are included in the Beta 2 release of the .NET Framework 4 and of Visual Studio 2010.

Visual Studio 2010 Beta 2

  
This is a big deal. This isn't ".NET 3.6" - there are a lot of improvements of .NET 4, and it's not just "pile on a bunch of features so you get overwhelmed." I've been working with and talking to many of the teams involved and even though it's a cheesy thing to say, this is a really customer-focused release.
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