27.04.2015 10:18
baggio
 
итак что имеем...
а имеем мы не очень радостную картину...
нужно мне поставить См версии 1.26.1. на W7 x64...
клиент 10.2.0.4 поставил...
сервер 10.2.0.4 поставил...
ставлю см - нет сервера супермага и кассового сервера в консоли MMC...
причем это скорее мой косяк... клиенты работали давно на W7 и я как то на автомате решил что и серверная часть работает... тупо забыл...
я конечно могу поднять виртуалку... но пока не хочу...

вопросы:
1. Какой командой supermagserver.exe регистрируется что бы быть видным в MMC? разобрал инсталятор... чтото я там этого найти не могу... нужно это для того чтобы попытаться это починить.
2. Судя по логам супермаг сервер стартует и прекрасно работает - просто нет доступа к оснаске и соответвенно возможности указания базы и пароля... тоже самое относится и к кассовуму серверу... ветки рееестра со старого сервера импортнул, но видать дело в пароле.. он по ходу хэшеться... кто то пробовал его заводить без оснастки?

Любые решения приветсвуются...
да и dcomcnfg естественно настроен...
27.04.2015 10:22
OlegON
 
А если тупо еще раз зарегистрировать все *.dll в каталоге Супермага? Или вообще повторить инсталляцию, UAC отключен?
27.04.2015 11:04
baggio
 
Command line: C:\SM2000\Bin\SupermagServer.exe /REGSERVER /NoQuery

HKLM\System\CurrentControlSet\services\eventlog\Application\Supermag Server\TypesSuppored
Type: REG_DWORD
Length: 4
Data: 7

HKLM\System\CurrentControlSet\services\eventlog\Application\Supermag Server\CategoryCount
Type: REG_DWORD
Length: 4
Data: 1

HKLM\System\CurrentControlSet\services\eventlog\Application\Supermag Server\EventMessageFile
Type: REG_SZ
Length: 66
Data: C:\SM2000\Bin\SupermagServer.exe

HKLM\System\CurrentControlSet\services\eventlog\Application\Supermag Server\CategoryMessageFile
Type: REG_SZ
Length: 66
Data: C:\SM2000\Bin\SupermagServer.exe

HKLM\SOFTWARE\Service Plus\SuperMag2000\Server\Param
Type: REG_SZ
Length: 4
Data: *


HKLM\System\CurrentControlSet\Control\Server Applications\{468148F5-6984-4D5D-B428-1F8AF1264C47}
Type: REG_SZ
Length: 32
Data: Supermag Server

HKCR\CLSID\{6BAE05F2-7EA0-4BBE-9C0F-C9F65BB02FA0}\LocalServer32\(Default)
Type: REG_SZ
Length: 66
Data: C:\SM2000\Bin\SupermagServer.exe

HKCR\SMServer.Manager.1\(Default)
Type: REG_SZ
Length: 72
Data: Supermag 2000 Server Config manager


HKCR\SMServer.Manager.1\CLSID\(Default)
Type: REG_SZ
Length: 78
Data: {6BAE05F2-7EA0-4BBE-9C0F-C9F65BB02FA0}


HKCR\SMServer.Manager\(Default)
Type: REG_SZ
Length: 84
Data: Supermag 2000 Server Config Manager Class

HKCR\SMServer.Manager\CLSID\(Default)
Type: REG_SZ
Length: 78
Data: {6BAE05F2-7EA0-4BBE-9C0F-C9F65BB02FA0}

HKCR\SMServer.Manager\CurVer\(Default)
Type: REG_SZ
Length: 38
Data: SMServer.Manager.1

HKCR\CLSID\{6BAE05F2-7EA0-4BBE-9C0F-C9F65BB02FA0}\LocalServer32\(Default)
Type: REG_SZ
Length: 66
Data: C:\SM2000\Bin\SupermagServer.exe

HKLM\System\CurrentControlSet\Control\Server Applications\{468148F5-6984-4D5D-B428-1F8AF1264C47}
Type: REG_SZ
Length: 32
Data: Supermag Server
27.04.2015 11:05
baggio
 
1.uac отключен...

только сейчас поставил 1.26.1 на вынь 7 х32 всё в MMC почвилось...
проблема x64...
копаем дальше...
27.04.2015 13:45
baggio
 
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/mmc_using_64bit.mspx?mfr=true

Running 32-bit and 64-bit snap-ins in Win64

Microsoft 64-bit operating systems can run both 32-bit MMC (MMC32) and 64-bit MMC (MMC64). MMC64 cannot run 32-bit snap-ins, and MMC32 cannot run 64-bit snap-ins. This topic describes how to determine and control which version of MMC is executed in Microsoft Whistler, 64-bit Edition.

MMC can be executed with command line parameters, such as a console file name. Additionally, the following command line switches are recognized by MMC64.•
/32

/64


If both of the preceding switches are specified on the command line, then the far right switch is in effect.
Start-up considerations if /32 or /64 is in effect.

If MMC64 is started with no command line parameters, or if MMC64 is started with the /64 command-line option, it executes as the MMC64 application. If MMC64 is started with the /32 command-line option, MMC32 is launched, using the same parameters initially passed to MMC64 (except the /32 command-line option), and MMC64 will terminate.
Top of page
Start-up considerations if a console file is specified.

If the MMC64 command line does not contain a /32 or /64 command-line option, but the command line does contain a console file name, then MMC64 examines the console file before determining which version of MMC remains in execution. MMC64 uses the following algorithm.
1.
If all snap-ins referenced by the console file are available in 64-bit form, then MMC64 will remain as the executing version (the remaining algorithm steps are not executed). A snap-in is considered available in 64-bit form if it exists as an HKEY_CLASSES_ROOT\CLSID\snap-in clsid\InprocServer32 key in the registry, where snap-in clsid is the registered CLSID for the snap-in.

2.
If not all snap-ins referenced by the console file are available in 64-bit form but all of them are available in 32-bit form, then MMC64 starts MMC32. MMC32 executes using the console file as specified on the command line, and MMC64 terminates (the remaining algorithm steps are not executed). A snap-in is considered available in 32-bit form if it exists as a HKEY_CLASSES_ROOT\Wow6432Node\CLSID\snap-in clsid\InprocServer32 key in the registry, where snap-in clsid is the registered CLSID for the snap-in.

3.
If the number of unavailable 64-bit snap-ins is a subset of the unavailable 32-bit snap-ins, then MMC64 remains as the executing version (the remaining algorithm steps are not executed).

4.
If the number of unavailable 32-bit snap-ins is a subset of the unavailable 64-bit snap-ins, then MMC64 starts MMC32 and MMC64 closes (the remaining algorithm step is not executed).

5.
If none of the previous steps yields a conclusion, then a user interface is presented to the user, prompting the user to specify which version of MMC to run (an option to cancel is also presented to the user).


In any event where MMC64 fails to successfully start MMC32, MMC64 continues to run. After MMC32 has been successfully started by MMC64, then MMC64 closes. If an error occurs after MMC32 has successfully started, MMC64 is not notified, as it will have already been closed.
27.04.2015 14:32
baggio
 
мда.. пост с решением выше...
всё завелось...
вот гады 10 часов моей жизни нафиг...
27.04.2015 18:14
baggio
 
Не удалось запустить программу или компонент "\??\C:\SM2000\Bin\SMINDEX.EXE" из-за несовместимости с 64-разрядной версией Windows. Обратитесь к разработчику программного обеспечения за версией программы, совместимой с 64-разрядной версией Windows.

Ошибка выгрузки данных в кассы из базы данных tale02. Дополнительную информацию см. в следующем сообщении.

В работе кассового модуля произошел сбой. Сообщения об ошибках см. ниже.
Запись 1. Код=80004005h (109) [SMUKMD~1]:
Ошибка запуска программы SMIndex.exe

Запись 2. Код=800700d8h (0) [SMUKMD~1]:
Нет строки сообщения для ошибки с кодом 800700D8h.

Чудны твои дела господи...
на новых версия все выгружается но нет индексов...
на старых в темпе все есть в логах ошибка смотри выше...
в каталогах выгрузки ничего нет...
ну где наша не пропадала... то что SMIndex.exe на х64 не будет строить индексы это я знаю...
зачем только выгрузку то прерывать целиком?
ну да ладно ищем заглушку - программу которая запускается ничего не делает и закрывается - переименовываем в smindex.exe и наступает нам счастье...

в моём случаи я взял первое что подвернулось... из каталога c:\windows \system32\snmptrap.exe
27.04.2015 19:19
OlegON
 
Вроде же нашли BDEx64?
27.04.2015 22:43
baggio
 
bde x64 нашли... оно ставиться...
но SMindex.exe - 16 битный... не работает именно он...
он в х64 не заработает никогда... надо бы как нить переписать...
если у кого будет время
можно заняться ...
Часовой пояс GMT +3, время: 10:51.

Форум на базе vBulletin®
Copyright © Jelsoft Enterprises Ltd.
В случае заимствования информации гипертекстовая индексируемая ссылка на Форум обязательна.