Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 105129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:23:26+00:00 2026-05-11T01:23:26+00:00

EDIT: I have submitted a bug report and Microsoft have acknowledge that it is

  • 0

EDIT: I have submitted a bug report and Microsoft have acknowledge that it is a bug. There is currently no ETA on when it will be fixed.

Bug Report: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=386982

Official Feedback: http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/ca3cac55-c1de-4e65-9543-e95484ad78c5/

I have a solution structured in the following way.

  • Entity framework project
  • Data access project
  • WPF application project

The WPF application calls methods in the data access project which gets it’s data from the entity framework project and binds it in XAML.

e.g.

<UserControl.Resources>       <ObjectDataProvider x:Key='tokens'                              ObjectType='{x:Type ctl:MerchantNetworkController}'                              MethodName='ListMerchantNetworkTokens' /> </UserControl.Resources> 

The problem i have is that the VS 2008 designer won’t load when i call functions from the data access project, I can however compile and run the solution fine.

When i create a function in the code behind of the XAML and use that instead of the data access project it works fine and the designer actually loads. The problem just occurs when i make a call to the data access project.

The error message i get from the designer is

'The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid' 

I have the following connection string in the App.config of the WPF project and the data access project

<add name='Entities'      connectionString='metadata=C:\EFModel\Model.csdl|C:\EFModel\Model.ssdl|C:\EFModel\Model.msl;          provider=System.Data.SqlClient;          provider connection string='Data Source=localhost;Initial Catalog=database;Persist Security Info=True;User ID=username;Password=password;MultipleActiveResultSets=True''          providerName='System.Data.EntityClient' /> 

I am using VS 2008 sp1, .NET 3.5 sp1, Vista 32 bit

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T01:23:26+00:00Added an answer on May 11, 2026 at 1:23 am

    Ya, this sucks. I’ve had to deal with this before. Best thing you can do is make your controller function return fake data when in design view.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 123k
  • Answers 123k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Use htmlspecialchars to encode just the HTML special characters &,… May 12, 2026 at 1:10 am
  • Editorial Team
    Editorial Team added an answer Not much ideas, except looking at the source code of… May 12, 2026 at 1:10 am
  • Editorial Team
    Editorial Team added an answer Try Active Support with Hash#slice and/or Hash#except. The bang methods… May 12, 2026 at 1:10 am

Related Questions

We have some software which relied on certain behavior from another ( very commonly
I've taken the advice I've seen in other answered questions about when to throw
I have asked a similar question before, but I didn't have a firm grasp
I believe several of us have already worked on a project where not only

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.