Nightmare Btrieve Error

Discussion on running your own board and editing MajorMUD.
Post Reply
nitebane21
Posts: 18
Joined: Sun Jul 08, 2012 4:36 pm

Nightmare Btrieve Error

Post by nitebane21 »

I'm getting error #46 Access Denied for items and monsters. Win 10, fresh NMare install, very very old dats (I think version 1.11o or maybe p-beta). I added the whole majormud folder to my exclusions list for my anti-virus and have admin rights so not sure why I keep getting access denied. Suggestions?


nitebane21
Posts: 18
Joined: Sun Jul 08, 2012 4:36 pm

Re: Nightmare Btrieve Error

Post by nitebane21 »

I've double-checked admin rights and made sure everyone has full permission. I've tried running as administrator which pops up the warning asking if I want to give permission for it to make changes to my device, which I click Yes. Not really sure what else to try.


User avatar
syntax
Site Admin
Posts: 553
Joined: Tue Jun 02, 2009 10:02 am

Re: Nightmare Btrieve Error

Post by syntax »

http://www.mudinfo.net/viewtopic.php?f= ... e+46#p1749
mirtheil wrote:
cjt wrote:this guide walks through the migration from BTRIEVE type databases to Pervasive SQL.

http://www.themajorbbs.com/bbs/viewtopi ... 7891cfd6b4

Has anyone done it recently that can provide a more recent writeup? The links are broken and I'm not sure exactly what software package needed.
Technically, there is no conversion needed when moving from Btrieve to Pervasive SQL. Pervasive SQL is just a newer version of Btrieve and still includes the Btrieve interface although it has been downplayed.

If, however, you are using Btrieve data files in v5.x (or older) format, the newer (v9 and later) engines will not write to those files. You'll get an error 46 (access denied). Rebuilding the files using the Pervasive rebuild tool will resolve that.

If you have specific questions about Btrieve to Pervasive SQL changes, please post them and I'll try to answer them. Include the version you are using and the version you want to use.
Also possibly helpful--
http://www.nomad.ee/btrieve/errors/46.shtml

And attached file I found here: http://www.goldstarsoftware.com/papers/Status46.pdf
Status46.pdf
(56.92 KiB) Downloaded 538 times
Many more links: https://www.google.com/search?&q=btriev ... ess+Denied


nitebane21
Posts: 18
Joined: Sun Jul 08, 2012 4:36 pm

Re: Nightmare Btrieve Error

Post by nitebane21 »

Thanks but can you dumb it down a little? So I need to download Pervasive SQL? I found this thread but it doesn't really explain how to use the pervasive engine instead of btrieve http://www.mudinfo.net/viewtopic.php?f= ... +sql#p4461


User avatar
syntax
Site Admin
Posts: 553
Joined: Tue Jun 02, 2009 10:02 am

Re: Nightmare Btrieve Error

Post by syntax »

See additional edits to my post. The pervasive may or may not be the answer.


nitebane21
Posts: 18
Joined: Sun Jul 08, 2012 4:36 pm

Re: Nightmare Btrieve Error

Post by nitebane21 »

I couldn't really find anything helpful. It's a pretty vanilla version of Windows 10 so I can't imagine I'm getting a unique issue here. I downloaded pervasive sql v11 server and installed it but still get the same error. This seemed relevant "If, however, you are using Btrieve data files in v5.x (or older) format, the newer (v9 and later) engines will not write to those files. You'll get an error 46 (access denied). Rebuilding the files using the Pervasive rebuild tool will resolve that. " since the dats are from 2004 but I couldn't find a "Pervasive rebuild tool"


User avatar
syntax
Site Admin
Posts: 553
Joined: Tue Jun 02, 2009 10:02 am

Re: Nightmare Btrieve Error

Post by syntax »

Simply installing that wouldn't help you. You need to use the tool that it talks about. The other issue could be just using the wrong engine files. Extract the mud files from the wccmmud.z file as outlined here: http://www.mudinfo.net/viewtopic.php?f=44&t=2070 ... copy them into your WG folder and your c:\windows\system32 folder. And actually, they may be in c:\windows\syswow64 folder instead of it's a 64-bit folder (check first). Then register the dll with regsvr32. Try the one in the windows dir. e.g. "regsvr32 c:\windows\syswow64\WBTRV32.DLL"


nitebane21
Posts: 18
Joined: Sun Jul 08, 2012 4:36 pm

Re: Nightmare Btrieve Error

Post by nitebane21 »

Turns out all the wcc dats were set to read only. Easy, dumb fix! :oops: Thanks for the quick responses!


Post Reply