Я пытаюсь сохранить данные в базе данных sql с веб-сайта клиента asp.net через хранимую процедуру (используя DAAB) в службе wcf, размещенной на пустом веб-сайте asp.net. Когда я пытаюсь сохранить данные в БД, яполучить следующую ошибку:
**
- The server was unable to process the request due to an internal
error. For more information about the error, either turn on
IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute
or from the <serviceDebug> configuration behavior) on the server in
order to send the exception information back to the client, or turn
on tracing as per the Microsoft .NET Framework SDK documentation and
inspect the server trace logs.
**
Когда я пытаюсь отладить, я получаю следующее исключение: Произошла ошибка активации при попытке получить экземпляр типа базы данных, ключ "" в коде -
Database db = EnterpriseLibraryContainer.Current.GetInstance<Database>("MyInstance");
где мой app.config
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true"/>
</configSections>
<dataConfiguration defaultDatabase="MyInstance"/>
<connectionStrings>
<add name="MyInstance" connectionString="Data Source=BLRKDAS307581\KD;Integrated Security=True;User ID=SAPIENT\kdas3;Password=ilove0LINUX" providerName="System.Data.SqlClient" />
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
Может кто-нибудь помочь мне с этим?Заранее спасибо ...