Microsoft.Dynamics.Nav.Client has stopped working (2)

GoMaD
Member Posts: 313
I had the same error message as in the following post: Microsoft.Dynamics.Nav.Client has stopped working
Scenario:
On windows server 2008 navision RTC is installed with hotfix 30806.
When we moved all the objects from our development server to the test server, after the restart of the middle tier server, nobody could open the RTC of the test server anymore.
It resulted in the error message mentioned below.
Description (XML Version):
<?xml version="1.0" encoding="UTF-16" ?>
- <WERReportMetadata>
- <OSVersionInformation>
<WindowsNTVersion>6.1</WindowsNTVersion>
<Build>7600</Build>
<Product>(0x4): Windows 7 Enterprise</Product>
<Edition>Enterprise</Edition>
<BuildString>7600.16617.amd64fre.win7_gdr.100618-1621</BuildString>
<Revision>1</Revision>
<Flavor>Multiprocessor Free</Flavor>
<Architecture>X64</Architecture>
<LCID>1033</LCID>
</OSVersionInformation>
- <ProblemSignatures>
<EventType>CLR20r3</EventType>
<Parameter0>microsoft.dynamics.nav.client</Parameter0>
<Parameter1>6.0.0.0</Parameter1>
<Parameter2>4bad52df</Parameter2>
<Parameter3>Microsoft.Dynamics.Nav.Client.UI</Parameter3>
<Parameter4>6.0.0.0</Parameter4>
<Parameter5>4bad52d8</Parameter5>
<Parameter6>6f5</Parameter6>
<Parameter7>69</Parameter7>
<Parameter8>K0R55XEMOOBPB22DBJZDN4P0SFJO3U25</Parameter8>
</ProblemSignatures>
- <DynamicSignatures>
<Parameter1>6.1.7600.2.0.0.256.4</Parameter1>
<Parameter2>2057</Parameter2>
</DynamicSignatures>
- <SystemInformation>
<MID>8C5046C9-DA3F-40C8-8C8F-486E94218B2E</MID>
<SystemManufacturer>Acer</SystemManufacturer>
<SystemProductName>Aspire 8735</SystemProductName>
<BIOSVersion>V1.05</BIOSVersion>
</SystemInformation>
</WERReportMetadata>
We checked almost everything (like looking for a needle in a haystack)
and today we found the solution.
Solution:
In one of the parts of the Role Center a table was used which had code on its OnDelete trigger that referenced an "Unknown Automation" server.
And this "Unkown Automation" server variable was the reason for the error.
When we moved the code and all the needed variables (including the Automation Variable) to a separate CodeUnit and called that CodeUnit function on the OnDelete Trigger, the error disappeared.
Scenario:
On windows server 2008 navision RTC is installed with hotfix 30806.
When we moved all the objects from our development server to the test server, after the restart of the middle tier server, nobody could open the RTC of the test server anymore.
It resulted in the error message mentioned below.
Description (XML Version):
<?xml version="1.0" encoding="UTF-16" ?>
- <WERReportMetadata>
- <OSVersionInformation>
<WindowsNTVersion>6.1</WindowsNTVersion>
<Build>7600</Build>
<Product>(0x4): Windows 7 Enterprise</Product>
<Edition>Enterprise</Edition>
<BuildString>7600.16617.amd64fre.win7_gdr.100618-1621</BuildString>
<Revision>1</Revision>
<Flavor>Multiprocessor Free</Flavor>
<Architecture>X64</Architecture>
<LCID>1033</LCID>
</OSVersionInformation>
- <ProblemSignatures>
<EventType>CLR20r3</EventType>
<Parameter0>microsoft.dynamics.nav.client</Parameter0>
<Parameter1>6.0.0.0</Parameter1>
<Parameter2>4bad52df</Parameter2>
<Parameter3>Microsoft.Dynamics.Nav.Client.UI</Parameter3>
<Parameter4>6.0.0.0</Parameter4>
<Parameter5>4bad52d8</Parameter5>
<Parameter6>6f5</Parameter6>
<Parameter7>69</Parameter7>
<Parameter8>K0R55XEMOOBPB22DBJZDN4P0SFJO3U25</Parameter8>
</ProblemSignatures>
- <DynamicSignatures>
<Parameter1>6.1.7600.2.0.0.256.4</Parameter1>
<Parameter2>2057</Parameter2>
</DynamicSignatures>
- <SystemInformation>
<MID>8C5046C9-DA3F-40C8-8C8F-486E94218B2E</MID>
<SystemManufacturer>Acer</SystemManufacturer>
<SystemProductName>Aspire 8735</SystemProductName>
<BIOSVersion>V1.05</BIOSVersion>
</SystemInformation>
</WERReportMetadata>
We checked almost everything (like looking for a needle in a haystack)
and today we found the solution.
Solution:
In one of the parts of the Role Center a table was used which had code on its OnDelete trigger that referenced an "Unknown Automation" server.
And this "Unkown Automation" server variable was the reason for the error.
When we moved the code and all the needed variables (including the Automation Variable) to a separate CodeUnit and called that CodeUnit function on the OnDelete Trigger, the error disappeared.
Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!
...
Everybody on-line.
...
Looking good!
0
Answers
-
But you will get error when the OnDelete trigger is called. The Automation server must be installed on every machine. And how you compile a Codeunit (or anything) with Unknown Automation variable?-Mihail- [MCTS]0
-
mihail_kolev wrote:But you will get error when the OnDelete trigger is called. The Automation server must be installed on every machine. And how you compile a Codeunit (or anything) with Unknown Automation variable?
Off course, but this automation was still in development. And so it had a larger repercussions than first thought.
I compile on the machine where we do the .NET development.Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!0 -
Now, this is reasonable-Mihail- [MCTS]0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions