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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:35:53+00:00 2026-05-21T12:35:53+00:00

I created a database using GoDaddy’s online database manager, but I can’t query it

  • 0

I created a database using GoDaddy’s online database manager, but I can’t query it once I deploy my ASP.NET project. On my local machine, everything works fine. I have a data grid that is filled with data.

Here are the steps I followed to query the database from my local machine:

  • Create a Silverlight application. Host the SL project in an ASP.NET web application. Enable WCF RIA services
  • Add a new entity model to the ASP.NET project. Entity connection string points to the remote database
  • Add a domain service to the ASP.NET project
  • Add a data grid to the Silverlight project by using the Data Sources tab on the left hand side

When I run the app, I can fill the grid with data on my local machine. When I FTP-deploy it using the Publish Web wizard, the app is successfully uploaded as I can see the files through an FTP app.

What am I doing wrong? I heard that SL applications need a clientaccesspolicy.xml file. Is it needed when WCF RIA services are used? Do I need to change my Web.config file? Here is the VS auto-generated config file:

<?xml version="1.0" encoding="utf-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <add name="DomainServiceModule" preCondition="managedHandler"
        type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </modules>
    <validation validateIntegratedModeConfiguration="false" />
  </system.webServer>
  <system.web>
    <httpModules>
      <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </httpModules>
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
      </assemblies>
    </compilation>
  </system.web>
  <connectionStrings>
    <add name="(Entities Here)" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=(Source Here);Initial Catalog=(Catalog Here);User ID=(ID Here);Password=(Password Here);MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>
  <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true"
      multipleSiteBindingsEnabled="true" />
  </system.serviceModel>
</configuration>
  • 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-05-21T12:35:54+00:00Added an answer on May 21, 2026 at 12:35 pm

    I heard that SL applications need a clientaccesspolicy.xml file. Is it needed when WCF RIA services are used?

    Yes. You have to explicitly allow cross domain access. It worked locally as your web site and database server were on the same “domain” – your local machine.

    The clientaccesspolicy.xml file must be in the root directory of the domain where the service is hosted.

    You can also use crossdomain.xml – Silverlight supports both.

    Source

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

Sidebar

Related Questions

I have installed ASP.NET application with database on our server. ASP.NET application created database
I'm coding a business layer for an ASP.NET application. I've created database methods in
Using DTS I'm dynamically creating an access database. After the file is created (which
I have created Rails database using the following schema: ActiveRecord::Schema.define(:version => 20090807141407) do create_table
Using the following as an example (with $db being a previously created database connection
I installed MySql on my own machine. I created database, create table, ... using
I have created one database in mysql server 5.0.How i can import this database(I
I've created a database using the EF4 model-first approach. In my model, there's an
I have created a database using the SQLite administrator. It contains 3 tables and
I created very a simple database using Entity Framework 4. I'd like to be

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.