Your comments
Спасибо, всё работает.
Спасибо, работает!
<?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > <section name="Inster.PortalLink.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> </sectionGroup> </configSections> <userSettings> <Inster.PortalLink.Properties.Settings> <setting name="DefaultStreetTypeIndex" serializeAs="String"> <value>82</value> </setting> <setting name="MainFormLocation" serializeAs="String"> <value>50, 50</value> </setting> <setting name="MainFormState" serializeAs="String"> <value>Normal</value> </setting> <setting name="MainFormSize" serializeAs="String"> <value>1820, 950</value> </setting> <setting name="IsFirstRun" serializeAs="String"> <value>False</value> </setting> <setting name="DefaultApartmentTypeIndex" serializeAs="String"> <value>1</value> </setting> <setting name="DefaultHouseTypeIndex" serializeAs="String"> <value>4</value> </setting> <setting name="DExplorerSplitterDistance" serializeAs="String"> <value>684</value> </setting> <setting name="DefaultConnectionIndex" serializeAs="String"> <value>0</value> </setting> <setting name="DefaultStructureTypeIndex" serializeAs="String"> <value>3</value> </setting> <setting name="DefaultBuildingTypeIndex" serializeAs="String"> <value>4</value> </setting> <setting name="LocalPath" serializeAs="String"> <value>C:\INSTER\</value> <setting/> <setting name="ConnectionStrings" serializeAs="Xml"> <value> <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <string>Name=Legacy;Provider=SQLite;ConnectionParams="Data Source=C:\INSTER\PortalLink.db3"</string> </ArrayOfString> </value> <setting/> </Inster.PortalLink.Properties.Settings> </userSettings> </configuration> Пишет ошибку.
<?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > <section name="Inster.PortalLink.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> </sectionGroup> </configSections> <userSettings> <Inster.PortalLink.Properties.Settings> <setting name="DefaultStreetTypeIndex" serializeAs="String"> <value>82</value> </setting> <setting name="MainFormLocation" serializeAs="String"> <value>50, 50</value> </setting> <setting name="MainFormState" serializeAs="String"> <value>Normal</value> </setting> <setting name="MainFormSize" serializeAs="String"> <value>1820, 950</value> </setting> <setting name="IsFirstRun" serializeAs="String"> <value>False</value> </setting> <setting name="DefaultApartmentTypeIndex" serializeAs="String"> <value>1</value> </setting> <setting name="DefaultHouseTypeIndex" serializeAs="String"> <value>4</value> </setting> <setting name="DExplorerSplitterDistance" serializeAs="String"> <value>684</value> </setting> <setting name="DefaultConnectionIndex" serializeAs="String"> <value>0</value> </setting> <setting name="DefaultStructureTypeIndex" serializeAs="String"> <value>3</value> </setting> <setting name="DefaultBuildingTypeIndex" serializeAs="String"> <value>4</value> </setting> </Inster.PortalLink.Properties.Settings> </userSettings> </configuration> Куда вставлять строки?
Здравствуйте, не могу найти строку LocalPath в файле user.config.
Странно на 5.4.6 база подключается, а на 5.7.2 - нет
Customer support service by UserEcho
Мне главное чтобы могли подключаться к базе в локальной сети, нарпимер, на компе с расшаренной базой будет производится заказ и получение выписок, а с остальных только подключение к этой базе и скачивание готовых выписок.