NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
File could not be opened. Error: Invalid Filename (45).
« previous
next »
Print
Pages: [
1
]
Author
Topic: File could not be opened. Error: Invalid Filename (45). (Read 3227 times)
Poul Jensen
Full Member
Posts: 191
File could not be opened. Error: Invalid Filename (45).
«
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
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: File could not be opened. Error: Invalid Filename (45).
«
Reply #1 on:
March 07, 2024, 05:22:35 AM »
hard to say without an example.
Logged
Richard I
Sr. Member
Posts: 398
Re: File could not be opened. Error: Invalid Filename (45). see eg 81
«
Reply #2 on:
March 09, 2024, 08:07:07 PM »
HI Bruce,
The example Logging 81 displays this error
Using NT 14.19
Cheers
Richard
«
Last Edit: March 09, 2024, 08:08:38 PM by Richard I
»
Logged
osquiabro
Hero Member
Posts: 687
Re: File could not be opened. Error: Invalid Filename (45).
«
Reply #3 on:
March 10, 2024, 04:06:04 AM »
the problem is that the glo:WebLogName don't have a valid path
Logged
Richard I
Sr. Member
Posts: 398
Re: File could not be opened. Error: Invalid Filename (45).
«
Reply #4 on:
March 10, 2024, 12:35:44 PM »
Can you elucidate please?
Logged
osquiabro
Hero Member
Posts: 687
Re: File could not be opened. Error: Invalid Filename (45).
«
Reply #5 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
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: File could not be opened. Error: Invalid Filename (45).
«
Reply #6 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
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
File could not be opened. Error: Invalid Filename (45).