CMAK based VPN connection stops working, error in CMDIAL32.LOG CreateConnTable() -- ConnTable creation failed with error 0x800700b7.  Open failed too...
Hi all, I work for a large IT service company for which I created a CMAK based VPN connection setup. Now, I encounter a problem after using my CMAK based VPN connection for a while that it spontaneously stopped working. It simply doesn't initialize anymore that Connection dialog. I enabled tracing and see that following error in CMDIAL32.LOG: CreateConnTable() -- ConnTable creation failed with error 0x800700b7. Open failed too... Beneath is the whole part of the log: [2640] 03-25 03:11:32:240: Connect() -- Entered[2640] 03-25 03:11:32:240: CMSqmInitialize failed with 0[2640] 03-25 03:11:32:240: Initializing arguments for connecting...[2640] 03-25 03:11:32:240: Creating the connection table.[2640] 03-25 03:11:32:240: CConnectionTable::CConnectionTable()[2640] 03-25 03:11:32:240: CConnectionTable::Open()[2640] 03-25 03:11:32:240: CConnectionTable::Open() - OpenFileMapping fails. GLE = 0x2[2640] 03-25 03:11:32:240: CConnectionTable::Create()[2640] 03-25 03:11:32:240: CreateFileMapping - create succeeded Local\CmConnectionTable[2640] 03-25 03:11:32:240: CreateConnTable() -- ConnTable creation failed with error 0x800700b7. Open failed too...[2640] 03-25 03:11:32:240: CConnectionTable::Close()[2640] 03-25 03:11:32:240: CConnectionTable::~CConnectionTable()[2640] 03-25 03:11:32:240: Connect complete: 0xb7.[2640] 03-25 03:11:32:240: Connect returned 0xb7 for lpRasDialDlg->dwError[2640] 03-25 03:11:32:240: CmCustomDialDlg - Releasing mutex Explorer_RASDLG.LOG shows error: [2640] 03-25 03:11:32:178: WritePhonebookFile[2640] 03-25 03:11:32:178: ModifyEntryList: Number of connections written 1[2640] 03-25 03:11:32:178: RASSQM: In WritePhonebookFile Number of alluser profiles set 1[2640] 03-25 03:11:32:178: DeleteEntriesOnlyInHiddenPhonebookFile : WritePhonebookFile failed with 0[2640] 03-25 03:11:32:178: RASSQM: In ReadPhonebookFile Number of alluser profiles set 1[2640] 03-25 03:11:32:178: ReadPhonebookFile returns 0[2640] 03-25 03:11:32:178: FindEntryCredentials[2640] 03-25 03:11:32:178: RasGetCredentials per-user[2640] 03-25 03:11:32:209: RasGetCredentials=0,m=0[2640] 03-25 03:11:32:209: DwCustomDialDlg..[2640] 03-25 03:11:32:209: DwGetCustomDllEntryPoints..[2640] 03-25 03:11:32:209: DwGetCustomDllEntryPoints done. 0[2640] 03-25 03:11:32:209: IsPublicPhonebook=1[2640] 03-25 03:11:32:240: RasReferenceCustomCount failed. 668 I've done litterally everything to resolve the issue, like: 1. Remove CMAK based VPN connection, then removed rasphone.pbk in all users and user profile(s) (also _hiddenPBK folders). Reinstalled CMAK based VPN connection... same result upon starting VPN connection dialog. 2. Refresh NTFS rights on All Users and User profile folders: C:\ProgramData\Microsoft\Network\Connections C:\Users\<user>\AppData\Roaming\Microsoft\network But, it simply will not work anymore... So, pls help someone!!??? What can be the rootcause to this? It happend after I shutdown the system when vpn connection was still active. Upon restart, it never worked anymore.HE-M@n
March 25th, 2010 5:36am

The error means "The object cannot be created because an object with the same name already exists": http://msdn.microsoft.com/en-us/library/ms812624.aspx The file in question seems to be C:\Windows\Tracing\CMDIAL32.log I granted "Authenticated Users" the right "Full Control" and it worked immediately after that. But looking at the process monitor events for that file, the rights required seemed to be the "Users" need "Read, Write and Delete" - they have "Read and Write" by inheritence already. Having connected my connection once, it has deleted the file and created a new one with default permissions (all inherited) and it continues to work.
Free Windows Admin Tool Kit Click here and download it now
March 27th, 2010 1:02am

EvilCraig, Amazing! You're right!! As soon as I granted Authenticated Users the permissions Modify on the Tracing file CMDIAL32.LOG, it worked again! However, I do see that as soon as you restart the CMAK VPN connection, it renames the file to *.OLD and recreates the CMDIAL32.LOG which then again has only got inherited permissions from parent folder, so without Authenticated Users. Addionally, you should grant Authenticated Users also Modify permission to "Explorer_RASAPI32.LOG", as this file also shows Access Denied when monitoring through ProcesMonitor. After granting the permissions and starting the CMAK based VPN connection, the file is renamed to *.OLD and recreated with inherited permissions from the parent folder. Subsequently, no more errors are seen in ProcesMonitor upon file access permissions. Little bit weird, as when you check the permissions before granting authenticated users, you get access is denied. After applying additional permisions, the file is recreated with original persissions. Meaning, you 'should' have the same problem over again... but no, the problem doesn't re-occur again. Looks like a bug... What is commonly referred to as a coincidence still happend for a reason!
March 29th, 2010 12:46pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics