Error Opening Company

bekiobekio Member Posts: 204
When i try to open NAV 2009 with Clasic SQL, it opens the database, but when i choose open company, i select it and when i say open it displays me an error, to restart microsoft dynamics NAV Clasic with Sql option.

The error look like this.
From this PC i can open a test database Cronus 2009, but not that database, i have tried to restore and reinstal NAV, i have deleted .zup file, but still the same error occurs.


This database and company i can open from another PC conecting to this PC. does any one can help me about this error. I have importet dhe codeunit 1 to try if this error can be fixed but still the same error.


Information file prepared 06/12/2010 09:45:06 UTC
Error Class=Exception
Program=Dynamics NAV Classic (6.0.29626.0)
Operating System=Windows XP (5.1.2600)
Total Physical memory=2039MB
Used Virtual Memory=171MB
System Locale=1033
User Locale=1033
Global Language=1033
Code Pages=ANSI 1252 OEM 437
Server Connected=FATOSFONDA (9.0.4053)
Database Open=Agna (Compatibility 90)
Windows Authentication=No
Client/Server Version No=150
Database Collation=Latin1_General_CS_AS
Diagnostics=0
Codeunit 1 ApplicationManagement\CompanyOpen()
Codeunit 1 ApplicationManagement\LogInStart()

Answers

  • BeliasBelias Member Posts: 2,998
    If you're sure that codeunit 1 is ok (no personalization), try to delete the zup file, then try to reinstall the client.
    an other possibility is that you can also have some bad data in some table being read in the loginstart function (if so, check those tables from sqlserver directly, but i'm just guessing.
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'NAV Three Tier' forum to 'NAV/Navision Classic Client' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • ufukufuk Member Posts: 514
    Try putting an EXIT command on the first line of the CompanyOpen trigger and check if the problem occurs again.
    Ufuk Asci
    Pargesoft
  • knmknm Member Posts: 170
    I've tried recompiling it, but found that didn't fix the issue.

    Does anyone know which objects are called when the user is logging into a company?

    Please let me know.

    Thank you.
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    kenji wrote:
    I've tried recompiling it, but found that didn't fix the issue.

    Does anyone know which objects are called when the user is logging into a company?

    Please let me know.

    Thank you.

    There may be chance of Menusuite issue also..
    If you have any custom menusuite then delete and try..
  • knmknm Member Posts: 170
    Deleting the Menusuite seem to have done the trick...
    Do you know why Menusuite has such issue???
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    Have you done any menusuite merging?
    if yes, this may have caused he problem..
  • knmknm Member Posts: 170
    I haven't merged any menusuite...
    Do you know how I can fix the corrupted menusuite that I deleted from the database?
    I was thinking if exporting the object to text file would let me fix any issues, but I'm not sure of the issues.

    Thank you.
Sign In or Register to comment.