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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:28:23+00:00 2026-06-08T23:28:23+00:00

I have developed a Silverlight RIA application.Now i am trying to deploy it to

  • 0

I have developed a Silverlight RIA application.Now i am trying to deploy it to the local IIS7 but with a remote SQL database.After i deployed,the application is working but it can not connect to the SQL server.I have generated the schema and the data to the remote SQL server..but the app can not connect to the SQL server.

In the web.config the specified connection string is :

 <connectionStrings>
<add name="IspahaniAgroLTDEntities" connectionString="metadata=res://*/AgroModel.csdl|res://*/AgroModel.ssdl|res://*/AgroModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.\SqlExpress;initial catalog=NewLocalDataBase;inut it's tegrated security=True;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />

I have tried to replace the connection string from web.debug.config & web.release.config like ASP.NET but it’s not working like that.Can anyone please tell me how can i change the connection string to the new SQL server while deploying.

Thanks

  • 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-08T23:28:24+00:00Added an answer on June 8, 2026 at 11:28 pm

    Don’t use Integrated Security. That is usually useful for development scenarios. Set the user id and password instead.

     connectionString="
        metadata=res://*/AgroModel.csdl|res://*/AgroModel.ssdl|res://*/AgroModel.msl;
        provider=System.Data.SqlClient;
        provider connection string=&quot;
          data source=YOUR_DBSERVER;
          initial catalog=YOUR_DBNAME;
          user id=YOUR_USER;
          password=YOUR_PASSWORD;
          multipleactiveresultsets=True;
          App=EntityFramework&quot;" 
    

    The reason is the remote IIS is configured to run as a user who doesn’t have rights to the SQL Server.

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

Sidebar

Related Questions

I have developed a silverlight application with WCF-RIA services and is working fine. I
I am trying to develop a Silverlight 4 application using C# 4.0. I have
I have developed a Silverlight application. It has a button and once it is
I have developed a silverlight 4 application and set it up to run out
I am using Silverlight to interact with a proxy application that I have developed
The scenario: I have a PRISM application developed in Silverlight (4), and I'm using
we have developed an Intranet Management Application with Silverlight 4. We have been asked
we have developed an intranet application with Silverlight 4 using MVVM with PRISM. Up
I have developed a silverlight 3 application using Sockets connecting to a socket server
I have a Silverlight application developed with version 4.0. I tried running it with

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.