mojaSymfonia FORUM
https://forum.mix-soft.pl/

Błąd nr. 2 amhm.bin
https://forum.mix-soft.pl/viewtopic.php?f=16&t=644
Strona 1 z 2

Autor:  kuborro [ 2009-02-26, 15:10 ]
Tytuł:  Błąd nr. 2 amhm.bin

Witam, mam problem chcę uruchomić moją Symfonie handel premium i wyskakuje mi Błąd numer 2 na pliku amhm.bin co to może oznaczać i jak taki błąd zniweczyć że się tak wyrażę.
Jeszcze przy okazji mam pytanie otóż chciałbym podpiąć baze pod pervasiva aby można było podglądać tabele jak to zrobić? jest to symfonia handel premium 2008c
Pozdrawiam
kuborro

Autor:  rafal [ 2009-02-26, 16:33 ]
Tytuł: 

- masz już Pervasiva?
- czy są pełne prawa zapisu i odczytu tego pliku?
- ustaw w Symfonia.ini amhm=1

Autor:  kuborro [ 2009-02-26, 16:43 ]
Tytuł: 

1. mam pervasiva
2.prawa są ustawione
3.jest ustawione

w tej chwili jest podłączone trzy osoby do tej bazy, a z pervasivem mam taki problem jeszcze bo to wszystko jest na win 2003 serwer i zainstalowałem pervasive workgroup i on działa tylko jak ktoś jest zalogowany w systemie a to ma być serwer i praktycznie nikt tam nie jest zalogowany i muszę się co chwile logować aby się baza nie wyłączyła bo inaczej u klientów wyskakuje błąd dostępu do danych. i niewiem jak go ustawić żeby działał jako usługa ;) być może coś źle zainstalowałem w tym pervasivie (choć niewiem co tam można źle zainstalować) i dlatego tak się dzieję

Autor:  rafal [ 2009-02-26, 16:58 ]
Tytuł: 

Od wersji 9 lub 10 Pervasive pyta się podczas instalacji czy ma się zainstalować jako serwis czy jako aplikacja.

Jeżeli jest to starsza wersja można to zrobić następująco

Configure Workgroup or Workstation Engine to run as a Service under Windows NT, 2000, XP
Problem Description:
This enables the Workgroup or Workstation Engine to load automatically and to be available regardless of whether or not a user is logged in to the workstation. This procedure applies only to Pervasive.SQL 2000i SP4 or later.

Solution:

1. Remove the Workgroup/Workstation Engine from the Startup menu.

Click Start > Programs > Startup. Right-click on "Pervasive.SQL Workgroup Engine"
or "Pervasive.SQL Workstation Engine" then click Delete.

Ensure that you remove the Workgroup/Workstation Engine from all of the Startup
menus. For example, on Windows NT, check the Profiles Startup menu for All Users
as well as the profiles for other users.

2. Copy SRVANY.EXE and SRVINSTW.EXE to the subject computer's windows system
directory. For example, to "C:\WINNT\System32." These programs are included on the
Windows NT 4.0 Resource Kit CD. They may also be downloadable from Microsoft.

Install following either step 3 or step 4.

3. Install SRVANY.EXE as a service using the Service Creation Wizard.
a. Click Start -> Run.
b. Type "SRVINSTW.EXE" (without the quotes) in the Open box and click OK.
c. Select "Install a service" and click Next.
d. Select "Local Machine" and click Next.
e. Type in Pervasive.SQL 2000 Workgroup as the Service name and click Next.
NOTE: You may use any name you choose provided the name does not
contain any reserved characters like "\".
f. Enter the complete path to the SrvAny tool's executable, for example,
C:\WINNT\System32\srvany.exe and click Next.
g. Select "Service is its own process" and click Next.
h. Select "System Account".
i. Check "Allow Service to Interact with Desktop". If you prefer not to have the icon appear,
leave this box unchecked. Click Next.
j. Select "Automatic" and click Next.
k. Click Finish. The wizard should indicate that the service was successfully installed.
Click OK to clear the dialog.

4. Alternately to Step 3, install SRVANY.EXE as a service using INSTSRV.EXE.

Type the following at a command prompt:

instsrv "Pervasive.SQL 2000 Workgroup" c:\winnt\system32\srvany.exe

The completion message is "The service was successfully added!"

5. Open the Services dialog. (For example, on Window NT click Start > Settings > Control Panel,
then double-click Services.)
a. Click on the service you added in Step 3 or 4 (Pervasive.SQL 2000 Workgroup, for example).
b. Click Startup (for NT). For XP and Windows 2000, right-click, then click Properties.
c. Click (enable) the option Allow Service to Interact with Desktop. This option applies to
Log On As System Account.
d. Click OK.
e. Click Close.

Note: A valid user name and password are required to access
Pervasive.SQL databases on another machine. "System Account"
has no rights on other machines to Pervasive.SQL databases.
If you want the Pervasive Workgroup/Workstation service to
access databases on another machine, then you must specify a
valid user name and password for the other machine. For step 5c,
check the option This Account on the Log On As section and
specify a valid user name and password.

6. Use Regedit to configure SvrAny to execute the Workgroup/Workstation Engine by
adding a new key and values for that key.

WARNING: Using the Registry Editor incorrectly can cause serious, system-wide problems
that may require you to reinstall the operating system to correct them. Pervasive
Software does not guarantee that any problems resulting from the use of the
Registry Editor can be solved in any way other than by reinstalling the operating system.
Use this tool at your own risk!

a. Select the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Pervasive.SQL 2000 Workgroup

NOTE: This example assumes that you named the service "Pervasive.SQL 2000 Workgroup."
If you chose a different name in Step 3 or 4, then the registry key will have that name
instead of "Pervasive.SQL 2000 Workgroup."

b. Add a new key named "Parameters"
c. Select the Parameters key just created.
d. Add a new REG_SZ value named "Application"
e. In the Data field for "Application" type in the complete path to the Engine's
executable (W3DBSMGR.EXE). If you performed a default installation of the
Pervasive.SQL 2000 Workgroup Engine, type in c:\pvsw\bin\w3dbsmgr.exe
f. Select the Parameters key created in Step 6b.
g. Add another new REG_SZ value named "AppParameters"
h. In the Data field for "AppParameters" type in -SRDE -SERVICE

Published: Nov 2001_
Update: Jan 2002


potrzebne pliki:
www.mix-soft.pl/wiedza/instsrv.exe
www.mix-soft.pl/wiedza/srvany.exe

Autor:  rafal [ 2009-02-26, 16:59 ]
Tytuł: 

A wracając do problemu z błędem nr 2.
Czy program który uruchamiasz jest na serwerze? A nie przypadkiem lokalnie na stacji roboczej?

Autor:  kuborro [ 2009-02-26, 18:31 ]
Tytuł: 

jeśli chodzi o błąd 2 to po wylogowaniu się wszystkich użytkowników da się zalogować bez problemu więc niewiem o co chodzi. a jeśli chodzi o pervasil to mam 9 ale kurcze nie widziałem żeby gdzieś się dało to zaznaczyć odinstalowałem program i zainstalowałem jeszcze raz i nic... A jeszcze pytanko jak podłączyć do niego bazę danych?
z góry dzięki za pomoc

Autor:  rafal [ 2009-02-26, 18:39 ]
Tytuł: 

odpowiedz na moje pytanie

Autor:  kuborro [ 2009-02-26, 18:43 ]
Tytuł: 

jest na serwerze

Autor:  jacekk [ 2009-02-26, 22:02 ]
Tytuł: 

Jest łatwiejszy sposób na ustawienie Workgroup jako serwis. Potrzebny jest plik

Uruchamiasz go z katalogu pervasiva. W menu tools->wge as service. Oczywiście trzeba usunąc z autostartu skrót wge.

Załączniki:
PVSW.zip [114.27 KiB]
Pobrany 415 razy

Autor:  kuborro [ 2009-02-27, 07:56 ]
Tytuł: 

ok wielkie dzięki jacekk twój sposób działa, a macie jeszcze jakiś sposób żeby te pliki .dat podłączyć do pervasive control center? bo googluje o tym i nie natrafiłem na nic konkretnego

Autor:  wrob [ 2009-02-27, 12:56 ]
Tytuł: 

Moze zamiast goglowac poszeperaj na tym forum :)
Juz było pare wątków o ddf i dolaczaniu bazy do pervasive itp

Autor:  Nietoperz82 [ 2009-02-27, 13:10 ]
Tytuł: 

kuborro pisze:
ok wielkie dzięki jacekk twój sposób działa, a macie jeszcze jakiś sposób żeby te pliki .dat podłączyć do pervasive control center? bo googluje o tym i nie natrafiłem na nic konkretnego


wrzucasz pliki .DAT do katalogu z baza danych a potem w Pervasivie skazujesz katalog z bazą i wszystko załatwione:D

Autor:  wrob [ 2009-02-27, 13:35 ]
Tytuł: 

Nietoperz myslal o wrzucaniu *.DDF :)

Autor:  Nietoperz82 [ 2009-02-27, 13:46 ]
Tytuł: 

tak - DDF a nie DAT:) rozpędziłem się. Dzięki za sprostowanie.

Autor:  kuborro [ 2009-02-27, 20:18 ]
Tytuł: 

no właśnie tak się wrzuca pliki DDF 8-) chyba co nie :)? a mi chodzi jak podejżeć pliki DAT tak samo się to robi ?

Strona 1 z 2 Strefa czasowa UTC+1godz. [letni]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/