ОФИЦИАЛЬНЫЙ ФОРУМ ГРУППЫ КОМПАНИЙ «ТЕХНОКОМ»

ОФИЦИАЛЬНЫЙ ФОРУМ ГРУППЫ КОМПАНИЙ «ТЕХНОКОМ» (http://forum.tk-chel.ru/index.php)
-   Система «АвтоГРАФ»: Программное обеспечение (http://forum.tk-chel.ru/forumdisplay.php?f=4)
-   -   Проблема: Служба WebMapRS не подключена и сообщение не может быть отправлено (http://forum.tk-chel.ru/showthread.php?t=7284)

SahatoshL 07.03.2018 04:57

Служба WebMapRS не подключена и сообщение не может быть отправлено
 
собственно САБЖ.
Служба WebMapRS не подключена и сообщение не может быть отправлено
на сервере служба запущена.
WebMapRSNET.exe.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/>
<section name="settings" type="Config.ConfigSection, WebMapRSNET"/>
</configSections>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<targets>
<target name="file" xsi:type="File" fileName="Logs\${date:format=yyyyMMdd}.log" layout="${date:format=HH\:mm\:ss} ${uppercase:upperCase=True:inner=${level}} ${message}"/>
<target name="fileMR" xsi:type="File" fileName="Logs\MR_${date:format=yyyyMMdd}.log" layout="${date:format=HH\:mm\:ss} ${uppercase:upperCase=True:inner=${level}} ${message}" />
<target name="fileDBMON" xsi:type="File" fileName="Logs\DBMon_${date:format=yyyyMMdd}.log" layout="${date:format=HH\:mm\:ss} ${uppercase:upperCase=True:inner=${level}} ${message}"/>
<target name="console" xsi:type="ColoredConsole" layout="${date:format=HH\:mm\:ss} ${uppercase:upperCase=True:inner=${level}} ${message}"/>
</targets>
<rules>
<logger name="logger" minLevel="Info" appendTo="file"/>
<logger name="loggerMR" minLevel="Info" appendTo="fileMR" />
<logger name="loggerDBMON" minLevel="Info" appendTo="fileDBMON"/>
<logger name="*" minLevel="Info" appendTo="console"/>
</rules>
</nlog>

<!--
Каналы доставки сообщений
use - использовать или нет канал
host - IP или имя сервера
port - порт службы на сервере (или номер COM-порта для канала modem)
login/pass - логин и пароль. Внмиание: для некоторых служб (для jabber например) логин должен включать полное имя вместе с доменом
ssl - для каналов доставки, которые поддерживают шифрование канала - использовать или нет SSL

system-type - для jabber содержит имя ресурса (gtalk для google talk, например)
system-type, interface-version, dest-ton, dest-npi, source-ton, source-npi - только для SMPP, провайдер данного сервиса предоставляет эти параметры
-->
<settings>
<smtp use="true" host="наш сервер" port="25" login="наш логин" pass="наш пароль" ssl="false" from="наш логин"/>
<icq use="false" host="login.icq.com" port="5190" login="111111111" pass="xxxxxxx"/>
<jabber use="false" host="m.tk-chel.ru" login="test" pass="xxxxxxx" ssl="true" port="5223"/>

<!-- login = номер телефон, pass=хэш, code - код который приходит по SMS -->
<telegram use="false" login="xxx" pass="xxxx" code="11111" />
<line use="false" login="test" pass="P@ssw0rd" />

<sms use="false" type="SMSProfi" login="xxxxxxx" pass="xxxxxxx"/>
<general processor-count="8"
data-directory="E:\data"
address-base-location="E:\webmap-rs\adressBases"
db-connection="Data Source=(LOCAL)\SQLEXPRESS;Initial Catalog=AG;Integrated Security=False;Persist Security Info=True;User ID=aguser2;Password=sjdfi82738ca" db-check-period="60"/>
<web use="true" host="http://localhost" />
<reports web-url="http://localhost" user-token="A38E786765E02D6FB2722A8398FAC82685988DF87AA D6DEE6179F1018564D5C5"/>
</settings>

<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<runtime>
<loadFromRemoteSources enabled="true" />
<gcServer enabled="true" />
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.0.0" newVersion="1.2.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Reflection.Metadata" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.3.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Composition.AttributedModel" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.0.30.0" newVersion="1.0.30.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Composition.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.0.30.0" newVersion="1.0.30.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Composition.TypedParts" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.0.30.0" newVersion="1.0.30.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Composition.Hosting" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.0.30.0" newVersion="1.0.30.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

в какую сторону копать?

Ivan 07.03.2018 05:23

SahatoshL, руководство.

SahatoshL 07.03.2018 05:29

Цитата:

Сообщение от Ivan (Сообщение 177366)

да. как раз по этому руководству и делали.


Текущее время: 16:24. Часовой пояс GMT.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot