Hi Guys,
I have written below code on the Run trigger of a codeunit,
ReminderSetup.RESET;
ReminderSetup.SETCURRENTKEY("Primary Key","Client Type","Credit+ Courier Delay Day 1");
IF ReminderSetup.FINDFIRST THEN
NasRunTime :=ReminderSetup."Check Time" * 60;
IF ISCLEAR(NasTimer) THEN
CREATE(NasTimer);
NasTimer.Interval := NasRunTime;
NasTimer.Enabled := TRUE;
When i Start NAS i get the following error i event viewer,
This Automation variable has not been instantiated.
You can instantiate it by either creating or assigning it.
Any help why this error is comming ???
Regards,
Manish
0
Answers
Peter
We have tested the whole functionality via NAS on out testdatabase & it is working fine..
Now we are going live on the Production Server & we are stuck for some stupid problem.
Manish
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Do i need to register it again ?
No the NAS Service is not using the Local Admin account.
Manish
The NAS service is using some other id & the client is using another id,still they are working.
How ?
Manish
Client exe needs to be closed when you are using NAS on the same computer.
Manish