NAV6 NAS hangs on calling OCX-Function
svensk.tiger
Member Posts: 31
We have a small VB5 OCX for systemfuctions like "basename" or some pipe and window handling ...
It is registered with "regsvr32"
The NAS runs fine on Win2003 and other Win2008 R2 Servers 32 and 64 bit.
I'm just installing on a new System Windows 2008 R2 x64 and SQL 2008 R2 x64 and NAV6/2009 Classic-Client and NAS - Build 32900
The NAS-Process, runnung as a service, hangs, when calling any of the OCX-functions.
No events in the eventlog.
i've traped it by placing Messages at the important points of the code.
It runs fine, if I run the NASSQL.EXE with the same Windows-User-Id from the desktop:
"nassql.exe" servername=SRV-24c01,Database=KEZII,company=KEZII,startupparameter=BANKEN[,debug]"
where is the difference between running NASSQL.EXE as a Service and running in a CMD-Box?
It is registered with "regsvr32"
The NAS runs fine on Win2003 and other Win2008 R2 Servers 32 and 64 bit.
I'm just installing on a new System Windows 2008 R2 x64 and SQL 2008 R2 x64 and NAV6/2009 Classic-Client and NAS - Build 32900
The NAS-Process, runnung as a service, hangs, when calling any of the OCX-functions.
No events in the eventlog.
i've traped it by placing Messages at the important points of the code.
It runs fine, if I run the NASSQL.EXE with the same Windows-User-Id from the desktop:
"nassql.exe" servername=SRV-24c01,Database=KEZII,company=KEZII,startupparameter=BANKEN[,debug]"
where is the difference between running NASSQL.EXE as a Service and running in a CMD-Box?
Svensk.Tiger (Henning Möller)
PASS Multibank Solutions AG
(Kaum macht man was richtig, schon geht es. / Once you do it right, suddenly it works.)
PASS Multibank Solutions AG
(Kaum macht man was richtig, schon geht es. / Once you do it right, suddenly it works.)
0
Comments
-
I've seen something similar that depends on wether the user is logged on or not."Money is likewise the greatest chance and the greatest scourge of mankind."0
-
this is not the cause, it hangs, even if the Service-User is logged on or not with a desktop at the same time the service is running.Svensk.Tiger (Henning Möller)
PASS Multibank Solutions AG
(Kaum macht man was richtig, schon geht es. / Once you do it right, suddenly it works.)0 -
Is there any security warning that might be raised by Windows?"Money is likewise the greatest chance and the greatest scourge of mankind."0
-
einsTeIn.NET wrote:Is there any security warning that might be raised by Windows?
nothing, the application eventlog shows my Debug-Messages, thats all,
no events in other parts (security / system) at that time.Svensk.Tiger (Henning Möller)
PASS Multibank Solutions AG
(Kaum macht man was richtig, schon geht es. / Once you do it right, suddenly it works.)0 -
I mean Windows Security Warnings that possibly pop up when you run your app, e.g. about untrusted source."Money is likewise the greatest chance and the greatest scourge of mankind."0
-
einsTeIn.NET wrote:I mean Windows Security Warnings that possibly pop up when you run your app, e.g. about untrusted source.
no, no Pops, wenn running from the desktop
but I'm bit further,
I'm watching the nassql.exe with syinternals process explorer.
it is not hanging, it is looping while acessing the registry with alternating these two keys:
- HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Time Zones\W. Europe Standard Time\Dynamic DST REPARSE
- HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\W. Europe Standard Time\Dynamic DST NAME NOT FOUNT
the "Dynamic DST" part is missing in the reg, both keys and also on systems, where it is running fine.
That is not from my C/Al-Code.
I've tried with UTC, but it is the same.Svensk.Tiger (Henning Möller)
PASS Multibank Solutions AG
(Kaum macht man was richtig, schon geht es. / Once you do it right, suddenly it works.)0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions