Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Personal Starter Kit (коннект к БД)
|
|||
|---|---|---|---|
|
#18+
Не могу соедениться с БД из Personal Web Site Starter Kit. Там был такой connection string: <connectionStrings> <add name="Personal" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Personal.mdf" providerName="System.Data.SqlClient" /> <remove name="LocalSqlServer"/> <add name="LocalSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf" /> </connectionStrings> У меня express сервера нет, есть только 2005 developer. Заменил connection string на: <connectionStrings> <add name="Personal" connectionString="Data Source=COMP;Initial Catalog=Personal;Integrated Security=True;User Instance=True;" providerName="System.Data.SqlClient"/> <remove name="LocalSqlServer"/> <add name="LocalSqlServer" connectionString="Data Source=COMP;Initial Catalog=Personal;Integrated Security=True;User Instance=True;"/> </connectionStrings> Вылетает следующая ошибка: Exception Details: System.Data.SqlClient.SqlException: The user instance login flag is not supported on this version of SQL Server. The connection will be closed. Помогите плз. Как исправить??? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.08.2006, 11:36 |
|
||
|
Personal Starter Kit (коннект к БД)
|
|||
|---|---|---|---|
|
#18+
Совсем забыл, базу создал скриптами из App_Data. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.08.2006, 11:38 |
|
||
|
Personal Starter Kit (коннект к БД)
|
|||
|---|---|---|---|
|
#18+
Попытался подключиться к TheBeerHouse — там другая ошибка: The 'System.Web.Profile.SqlProfileProvider' requires a database schema compatible with schema version '1'. However, the current database schema is not compatible with this version. You may need to either install a compatible schema with aspnet_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version. Help, plz. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.08.2006, 14:46 |
|
||
|
Personal Starter Kit (коннект к БД)
|
|||
|---|---|---|---|
|
#18+
Здравствуйте, H.P. Baxxter, Вы писали: HPB>Помогите плз. Как исправить??? Как и написано в тексте ошибки убрать параметр User Instance = true из строки соединения.... << RSDN@Home 1.2.0 alpha rev. 0>> ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.08.2006, 15:27 |
|
||
|
Personal Starter Kit (коннект к БД)
|
|||
|---|---|---|---|
|
#18+
Здравствуйте, H.P. Baxxter, Вы писали: HPB>Попытался подключиться к TheBeerHouse — там другая ошибка: The 'System.Web.Profile.SqlProfileProvider' requires a database schema compatible with schema version '1'. However, the current database schema is not compatible with this version. You may need to either install a compatible schema with aspnet_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version. Help, plz. Как и написано в тексте ошибки — не совпадают версии схемы, используемой в провайдере и в текущей базе данных. Системные таблицы можно пересоздать с помощью утилиты aspnet_regsql.exe.... << RSDN@Home 1.2.0 alpha rev. 0>> ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.08.2006, 15:28 |
|
||
|
|

start [/forum/topic.php?fid=18&gotonew=1&tid=1390423]: |
0ms |
get settings: |
6ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
55ms |
get topic data: |
9ms |
get first new msg: |
5ms |
get forum data: |
3ms |
get page messages: |
44ms |
get tp. blocked users: |
1ms |
| others: | 243ms |
| total: | 387ms |

| 0 / 0 |
