NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Poul Jensen on March 07, 2024, 01:30:58 AM

Title: File could not be opened. Error: Invalid Filename (45).
Post by: Poul Jensen on March 07, 2024, 01:30:58 AM
Hi,

On a NT Wizarded browse/form I get this error on the server when trying to open the form from the browse:

File  could not be opened.  Error: Invalid Filename (45).  Press OK to end this application

Checking the generated source at: ! Start of "Beginning of Procedure, Before Opening Files" I noticed that all files in the dictionary were being opened and not just the files used in the procedure.

What could cause this behavior?

This is NT 14.19

I have for now solved this by omitting this section of code and opening the files actually used.

Cheers
/Poul

Title: Re: File could not be opened. Error: Invalid Filename (45).
Post by: Bruce on March 07, 2024, 05:22:35 AM
hard to say without an example.
Title: Re: File could not be opened. Error: Invalid Filename (45). see eg 81
Post by: Richard I on March 09, 2024, 08:07:07 PM
HI Bruce,
The example Logging 81 displays this error
Using NT 14.19
Cheers
Richard
Title: Re: File could not be opened. Error: Invalid Filename (45).
Post by: osquiabro on March 10, 2024, 04:06:04 AM
the problem is that the glo:WebLogName don't have a valid path
Title: Re: File could not be opened. Error: Invalid Filename (45).
Post by: Richard I on March 10, 2024, 12:35:44 PM
Can you elucidate please?
Title: Re: File could not be opened. Error: Invalid Filename (45).
Post by: osquiabro on March 11, 2024, 03:38:37 AM
check in your dct if you have a NetWebLog table, if not you need to delete it, or in webserver in local objects, window manager, init,  init the global variable with a valid path or in WebHandler in Process Link
Title: Re: File could not be opened. Error: Invalid Filename (45).
Post by: Bruce on March 12, 2024, 06:42:25 PM
>> The example Logging 81 displays this error

Fine, I'll fix that. But that has nothing to do with Poul's situation.

Poul is Opening a table, that has a Full Pathname variable, and that variable is not set.

Cheers
Bruce