- edited description
- changed title to Still got random errors with RC1.1 when creating .rdt files.
The underlying provider failed on Open.
Hi!
Just tried RC1.1 and I still got random errors while creating .rdt file.
I attached 2 logs, 1 is for "operating system directive CreateFile failed" error and 2 for "The underlying provider failed on Open." error.
It seems to be random, as I said in a previous post, sometimes I get one of those errors and sometimes it just works...
Dat file used: No-Intro Nintendo - Super Nintendo Entertainment System (20171119-121520).
I'm on Windows 10 (1709), do you need to know something else in particular that could help you?
Comments (50)
-
reporter -
repo owner Hi Thank you for reporting. I never had these problems myself, but I found one new bug which may improve things.
If I send you a private debug version, can you test it against your dat and tell me if the problems are solved ?
-
reporter Sure, no problem :)
EDIT
I created a profile on Romcenter forum if you prefer to send me links through private message: http://www.romcenter.com/forum/memberlist.php?mode=viewprofile&u=10470 -
repo owner - attached rc4.0rc1.1.debug.7z
Romcenter debug version 4.0rc1.1
-
repo owner Here we go. This is a modified 1.1 version with lot of debug logs, and an update to the way things are imported. Try to reproduce the problem and if it's still there, post the log. Thanks bslenul.
-
reporter - attached debug_romcenter_xml2.log
- attached debug_romcenter_xml1.log
-
reporter Done!
debug_romcenter_xml1.log is for "operating system directive CreateFile failed" error
debug_romcenter_xml2.log is for "The underlying provider failed on Open." error -
repo owner - attached rc4.0rc1.1.debug2.7z
-
repo owner New version. Can you test it ?
-
reporter - attached debug2_romcenter_xml2.log
- attached debug2_romcenter_xml1.log
-
reporter The errors appear later than the previous debug version (I can see the 2nd loading bar now), but still there!
Like before:
debug2_romcenter_xml1.log is for "operating system directive CreateFile failed" error
debug2_romcenter_xml2.log is for "The underlying provider failed on Open." error -
repo owner - attached rc1.1debug3.7z
-
repo owner One more...
-
reporter Well, I tried 5 or 6 times just to be sure and... I didnt get a single error :D
Thank you so much, for your work and your patience! <3 I guess you dont need it but just in case I'll attach the log file.
-
reporter - attached debug3_romcenter_xml.log
-
repo owner Thank you for your help. I will clean the code and post one last version to be sure the pb is gone.
-
repo owner - attached rc1.1debug4.7z
-
repo owner This is a clean version. Can you check the problem is gone ?
-
repo owner - changed status to open
-
reporter - attached debug5_romcenter_xml2.log
- attached debug5_romcenter_xml1.log
It's really weird, if I load only one .dat no problem.
If I load the No-Intro NES dat file then the SNES one, no problem.
BUT, if I load the SNES dat then the NES one, I got the error messages again. -
reporter - attached debug5_romcenter_xml3.log
Well nope, got an error after loading ONLY the NES dat file...
So its still happening but its waaaaaaay less frequent than before, except when I load the SNES dat file first, if I load the NES after I always get an error.
-
repo owner Does it happens also with debug3? Did you post logs from debug 3 or debug4? Debug3 is preferred because it has a lot more logs.
-
reporter Sorry I messed up with the log names, debug5_romcenter_xml*.log are logs from debug4.
I'll try debug3 again, with multiple dat files this time.
-
reporter - attached debug3_romcenter_xml3.log
debug3_romcenter_xml3.log = "operating system directive CreateFile failed" with debug3, after loading SNES dat then NES dat.
I'm trying to get the other error but since its random it might take a while :o
-
reporter Well "The underlying provider failed on Open." might be fixed, after 15+ tries I can't get this error with debug3.
"operating system directive CreateFile failed" every time when I load multiple dat files (I tried with GB and GBA, same thing).
-
reporter - attached debug3_working_romcenter_xml.log
When I load NES dat first then SNES it works every time, so here's the log for when it works (still with debug3), maybe you'll see something different.
-
repo owner - attached rc1.1debug5.7z
-
repo owner New version. I have enabled connexion pooling to de-stress db.
-
reporter So far so good, I tried to open 6 dat at once and I didnt get any error. I'll keep trying a few times.
-
reporter Well after few more tries I can't get any of the 2 errors anymore, I tried to load dat files in different order, using dll or not, etc.
Do you need the log even if its working or it is useless? This one is pretty big since I opened 6 dat files (~17MB) :D
-
repo owner That's good news ! No, no need for logs. I will create a small app which open and close a db to attempt to reproduce the error. I will open a ticket in db project. Maybe I will ask you to run it. Thank you for all.
-
reporter No problem! Thank you again! :)
-
repo owner - changed title to The underlying provider failed on Open.
- marked as major
-
assigned issue to
-
repo owner New release rc1.3 will hopefully fix that problem
-
repo owner @bslenul, are you still available for a new test ?
-
reporter Sorry I just checked my mail box :D Sure but it was already fixed (at least for me) with RC1.2!
-
repo owner - attached Rc4.0.0.Rc1.3.7z
-
repo owner @bslenul, I uploaded a debug version 1.3. I upgraded database engine to v3 and revert changes I made last time because db access was to slow. I hope v3 improves the file locking feature. Can you give a try and report if the locked file error is reappearing?
Be careful, due to the v3 upgrade, all databases opened with this release of romcenter will be migrated to a new format not backward compatible. So make a copy of your working database if you still want to use rc 1.2 on them (you can of course use 1.3 from now on).
-
reporter Works perfectly fine, no error message or anything so far :)
-
repo owner :) Merci
-
reporter - attached romcenter_xml_RC2.log
Ah, français ? :D Je vais continuer en "anglais" quand même au cas où d'autres personnes soient concernées.
Me again, with some bad news sadly: "operating system directive CreateFile failed" is back in RC2 :(
-
repo owner @bslenul, The database provider stores temporary files in c:\temp. Can you check you have enough free space on your c: drive ?
-
repo owner You can also try to clean your c:\temp\ folder and try to reproduce the error.
-
repo owner - changed version to 4.0.0rc2
-
repo owner - attached rc4.0.0.0rc2.01.7z
-
repo owner I attached a debug version (rc2.01). Can you try to reproduce the problem with this one ? Thank you
-
reporter - attached romcenter_xml_rc2.01.log
- attached romcenter_xml_rc2_empty_temp.log
My temp folder is on another drive, I don't think that's a problem but I prefer to mention it just in case. Also my most filled hard drive has ~20GB free so that shouldnt be an issue :D
So I tried removing the content of my temp folder and running rc2 again, no luck (see _empty_temp.log).
Rc2.01 however seems to work just fine! I attached the log too if needed.
EDIT
I tried adding more dat files, I loaded like 6 or 7 of them, converted to rdt without any problem at all :) -
repo owner Perfect. Thank you.
-
repo owner - changed status to resolved
Should be ok in next release
-
repo owner - removed version
Removing version: 4.0.0rc2 (automated comment)
- Log in to comment