Hi,
Could anyone help with the following?
One of our customers has the following:
One Sql server 2005 with two navision 4.0 SP3 databases : Production and Test.
Both databases are similar of objects and setting, then only differ is the location of fysical files, on the same server, but different drives.
We have taken the smtp mail functionality from navision 5.0 and put this into the 4.0 databases.
Therefore the automation Microsoft.Navision.Mail.dll has to be registered, this is all done correctly with Regasm.exe.
When testing this functionality in the test database the programma reacts as it should.
When testing this functionality in the production database the programma gives a big error wich means that the automation could not be created.
IF ISCLEAR(Mail) THEN
CREATE(Mail);
The CREATE gives the error when running form the production database, while the test database works correctly.
How can i solve this?
Thanks in advantage,
Peter Leurink
0
Answers
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Do you mean that the dll also must be registerd in both databases?
Peter
Sorry, I selected the wrong forum
Peter
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I have stopped the Nas service, registerred the dll (succesfully), compiled the objects, started the Nas service, on the server where the Nas is running.
This has no effect, the test db is running correctly while the production db gives the create error.
Peter
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I have the solution, (If you can call this a solution).
I have done everything right, the code was correct, the dll was registered, etc,
But . . . the link I used to start Navision for the
- Test db consists of : C:\Program Files\Micr . . . .etc. = =D>
- Production db consists of : \\WorkstationX\C$\Program Files\Micr . . . .etc. = [-X
And WorkstationX has no dll registered. . . . . . . :oops:
All the time is has cost . . . searching . . . and the problem was hidden in the link.
In any case, thanks for the the time and help.
Kind regards
Peter
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog