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


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

Error creating control contentplaceholder1 Visual Studio 2010 design mode

Posted By:      Posted Date: October 21, 2010    Points: 0   Category :ASP.Net
 

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.




View Complete Post


More Related Resource Links

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

  

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.

 

 

 

 


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?

Creating Custom SharePoint 2010 Field Types and Controls with Visual Studio 2010 and Silverlight 3

  
Learn how developers can create rich experiences in SharePoint Server 2010 publishing sites using Microsoft Silverlight 3.

Video: Creating Custom SharePoint 2010 Field Types and Controls with Visual Studio 2010 and Silverli

  
Watch the video that accompanies the MSDN article and learn how developers can create rich experiences in SharePoint Server 2010 publishing sites using Microsoft Silverlight 3.

Video: SharePoint 2010: Creating .NET Assembly Connectors in Visual Studio 2010 Support

  
Learn how the inclusion of Business Connectivity Services (BCS) creates opportunities to leverage SharePoint features and APIs against your existing line of business data that is available via direct database access or via Web services. (Length: 5:41)

Video: Creating SharePoint 2010 Workflows in Visual Studio 2010

  
This demonstration shows how to create a site workflow by using Visual Studio 2010. (Length: 6:19)

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

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

E.g

[

 

DataObject(true

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


Visual studio 2010 missing ajax and no web.config when creating new project

  

Hi,

when i opened my Visual Studio 2010 i noticed that my ajax tab was missing from my toolbox and ajax control kit too.

Then i noticed even that when i create new website, there is no web.config in it and it should be.

WHAT IS GOIN ON???? :/

please help, this is urgent (can't do nothing without ajax)


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


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