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


Post New Web Links

Visual Studio 2010 WPF Designer loading error

Posted By:      Posted Date: September 23, 2010    Points: 0   Category :WPF
 

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




View Complete Post


More Related Resource Links

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.

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!

MS Visual STudio 2010 Beta and SSIS Designer - BI Development Studio

  
Hello, I am trying to use SSIS Designer with BI Development Studio.  I downloaded MS Visual Studio 2010 Beta and do not find an option to get into either the SSIS Designer or BI Development Studio. Can someone please help?   Thanks, Chela 

Visual Studio 2010 designer UnresolvedAssemblyException

  
I'm having a problem with Visual Studio 2010 that is proving to be extremely difficult to find a solution for. Any help is appreciated. I have a custom library that handles regular expression validation for me. This library sits plainly on our server for everyone to access. In my most recent WPF application I've been learning about ValidationRules. I created my own custom rule that would simply test the input against a supplied regex pattern. Here's an example of the XAML. <TextBox Grid.Column="2" VerticalAlignment="Center" Style="{StaticResource sTextBox}" Validation.ErrorTemplate="{StaticResource TextBox}" SourceUpdated="ProductQuantity_TargetUpdated"> <TextBox.Text> <Binding Path="Quantity" Mode="TwoWay" NotifyOnValidationError="True" NotifyOnSourceUpdated="True" NotifyOnTargetUpdated="True" ValidatesOnDataErrors="True" UpdateSourceTrigger="PropertyChanged" ValidatesOnExceptions="True"> <Binding.ValidationRules> <vr:RequiredField Label="Quantity" /> <vr:RegularExpression Label="Quantity" ValidationPattern="NumberAbsoluteNoDecimals" /> </Binding.ValidationRules> </Binding> </TextBox.Text> </

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

Making your own cusctom workflow developed in visual studio 2010 available in sharepoint designer 20

  
Hi, i have a custom workflow(sequential),developed using visual studio 2010. Now, i want to make it available to sharepoiint designer 2010,as an action.Has anyone done something like dis before? I have tried creating an actions file and changes in web. config ,but when i open my designer it says it cannot find the assembly(my custom worklow). What does it mean,i have tried this method by watching solutions on internet. If anyone has done this task, kindly guide me thanks a lot :)

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

Improving the Start-up Performance of the WPF and Silverlight Designer in Visual Studio 2010 Beta 2

  

IMPORTANT NOTE: the Beta and Release Candidate builds of Visual Studio 2010 are now obsolete, since Visual Studio 2010 has now released to manufacturing.

See http://www.microsoft.com/visualstudio/en-us/download

___________________________________________________________

NOTE: The Release Candidate and RTM builds of Visual Studio 2010 does not need this configuration change

This post is to let you know about a configuration change (registry switch) which you can use to improve the startup performance of the WPF and Silverlight Designer in Visual Studio 2010 Beta 2.

Important:
1. Since this was a late-breaking change, you may experience some instability or increased Virtual Memory usage in some Visual Studio scenarios when using it. If you see such instabilities, please try removing the configuration change, and let us know about the problem you saw (you can do this by replying to this posting or by raising a bug on Connect).

2. You should only make this configuration change if you are a regular user of the WPF and Silverlight Designer, and are experiencing poor performance with it.

3. This configu

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.

 

 

 

 


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


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 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




How to customize toolbox content of workflow designer in Visual Studio 2010?

  
Hi all,

I am working on customizing the Workflow Design Experience in VS2010 Extensibility. Now I want to control VS built-in ToolBox display information(Categories, contained activities when my Workflow file is open.
You can see one example which is implemented in out of VS IDE to image my requirement in VS. 

Please give me some hints on this issue. Thanks for your help in advance.

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 Studio 2010 Hangs in Designer, Memory Usage Grows

  

After switching to the web designer, VS2010 sometimes hangs. If I look at the Resource Monitor, I see that devenv.exe is consuming 50% of the CPU (on a dual-core machine), and its memory usage keeps slowly growing. Since VS is unresponsive, I end up killing the devenv process and restarting VS.

The problem occurs about 1-3 times a day. I have not found a way to specifically reproduce the problem, but it appears to happen most on complex web pages that include UserControls. All pages in this project also use Master pages, if that helps.

Since upgrading from VS2008 to VS2010, I've noticed a number of odd problems. This one actually forces me to kill the devenv process and restart VS2010, and so is particularly disruptive. I did not have any similar problems under VS2008.

Environment:

Windows 7 Pro 64-bit, under Parallels Desktop 5, running under Mac OS X 10.6.5

Visual Studio 2010 Pro, version 10.0.30319.1 RTMRel

3 GB RAM allocated to the Windows virtual machine.

I'm not running any add-ins or other unusual software. Any suggestions?

(I have an annotated screen shot if it will help)


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