Silverlight RIAアプリケーションを開発しました。現在、ローカルIIS7にリモートSQLデータベースを使用してデプロイしようとしています。デプロイ後、アプリケーションは機能していますが、SQLサーバーに接続できません。スキーマを生成し、データをリモートSQLサーバーに送信しますが、アプリはSQLサーバーに接続できません。
web.configで、指定された接続文字列は次のとおりです。
<connectionStrings>
<add name="IspahaniAgroLTDEntities" connectionString="metadata=res://*/AgroModel.csdl|res://*/AgroModel.ssdl|res://*/AgroModel.msl;provider=System.Data.SqlClient;provider connection string="data source=.\SqlExpress;initial catalog=NewLocalDataBase;inut it's tegrated security=True;multipleactiveresultsets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
ASP.NETのようにweb.debug.configとweb.release.configから接続文字列を置き換えようとしましたが、そのようには機能しません。展開中に接続文字列を新しいSQLサーバーに変更する方法を教えてください。 。
ありがとう