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 7719665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:28:22+00:00 2026-06-01T03:28:22+00:00

I have a Clustered Windows Hosting site which currently hosts an MVC Web Application

  • 0

I have a Clustered Windows Hosting site which currently hosts an MVC Web Application using a MYSQL backing database.

What I have been trying to do for the past three weeks is host a WCF Data Service exposing the database behind the website to be consumed in a WPF application which will be installed on Windows machines.

I have followed every single tutorial that I have come across. None of them have worked and all of them give the example of using http://localhost as the location of where the Webservice is called from.

I have limited experience with Asp.Net and MVC but have published working websites before and as I mentioned currently am running a fully functional MVC web Application. I also have extensive .Net knowledge and experience, but, for the life of me cannot fathom this out at all.

I have seen no real examples of a WCF site being hosted from within a clustered hosting scenario. Practically every example I see mentions using IIS, but I do not have access to IIS on my hosting.

Could anyone point me in the right direction to a tutorial that will allow me to use a WCF service, or am I completely barking up the wrong tree?

Okay, an Update: After much experimenting I came across the following attribute and used it
[System.ServiceModel.ServiceBehavior(IncludeExceptionDetailInFaults = true)]

This gave me an error which appeared to indicate that the Data Service was trying to access files on my local hard drive, indicating that I’d fudged some kind of reference. I also realised that I hadn’t set up the Membership profiles and so scrapped my Data Service starting again.

First I added the Asp Membership profiles, then the Entity Model, set the permissions and used that attribute again and although looking more hopeful still got the following error.

The exception message is ‘The specified store provider cannot be found in the configuration, or is not valid.’. See server logs for more details. The exception stack trace is:

at System.Data.EntityClient.EntityConnection.GetFactory(String providerString) at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString) at System.Data.EntityClient.EntityConnection..ctor(String connectionString) at System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString) at System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName) at RotaSolutions.WCF.Models.rotasolu_crmEntities..ctor() in C:\Users\Paul\Dropbox\Projects\WCF\RotaSolutions.WCF\RotaSolutions.WCF\Models\CRMModel.Designer.cs:line 34 at invoke_constructor() at System.Data.Services.DataService1.CreateDataSource() at System.Data.Services.DataService1.CreateDataSourceInstance() at System.Data.Services.DataService1.CreateProvider() at System.Data.Services.DataService1.HandleRequest() at System.Data.Services.DataService`1.ProcessRequestForMessage(Stream messageBody) at SyncInvokeProcessRequestForMessage(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

Although, still not able to use it. This is giving me more hope than previously. Again, if anyone has any suggestions, I’d be grateful to receive them.

  • 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. Editorial Team
    Editorial Team
    2026-06-01T03:28:23+00:00Added an answer on June 1, 2026 at 3:28 am

    I have actually managed to solve this. I’d post the full answer but can’t due to sever formatting problems with the editor here so I’ll have to do the short version.

    Basically, I removed the MySQL version that I was using, downloaded the latest version and installed and added that reference.

    I also added to the web.config a DbProviderFactories linking to the MySQL reference. Like I said, I’d post the code but this formatting system keeps rejecting my attempts.

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

Sidebar

Related Questions

In a legacy database (SQL Server 2000), we have a clustered index that looks
I have a new clustered database and I've been moving data into the tables
I have an environment where 2 load-balanced clustered tomcats pointing to same application. When
There have been several questions recently about database indexing and clustered indexing and it
I have built my application using node.js, mongodb, redis, express, socket.io and planning to
I've to move a Windows based multi-threaded application (which uses global variables as well
I have a web service that is hosted in a clustered environment. The web
I have a Windows project in Visual Studio 2010 in which I store all
I want to create a Cluster Generic Service using script. We have Windows Server
I have setup my rails application on windows With Mongrel application server and Apache

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.