• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Mailbox create issue

E

ecellini

Guest
Hello,
When I create a mailbox for a domain Plesk show this error, do you have some idea to resolve this issue?

The Error details:

- Operation failed

Additional Information
<b>Source:</b> Microsoft OLE DB Provider for SQL Server<br/><b>Description:</b> Violation of PRIMARY KEY constraint 'permissionsPrimaryKey'. Cannot insert duplicate key in object 'dbo.permissions'.
---------------------- Debug Info -------------------------------
0: common_func.php3:163
com->execute(string 'INSERT INTO [Permissions] ([id],[permission],[value]) VALUES (2444,N'cp_access',N'true')', NULL null)
1: common_func.php3:163
db_query(string 'INSERT INTO [Permissions] ([id],[permission],[value]) VALUES (2444,'cp_access','true')')
2: common_func.php3:207
db_query_ex(string 'INSERT INTO [Permissions] ([id],[permission],[value]) VALUES ?(VALUES)', array)
3: SQLInsertQuery.php:36
SQLMultiInsertQuery->execute()
4: class.ListTable.php:112
ListTable->endListUpdate()
5: class.aListSQL.php:232
aListSQL->updateList()
6: class.Permissions.php:191
Permissions->updateList()
7: MailName.php:622
Mailname->_onMailNameCPAccessUpdate(object of type MailNameCPAccess)
8: MailNameCPAccess.php:145
MailNameCPAccess->update()
9: mail_name_preferences.php:129
require(string 'C:\Program Files (x86)\Parallels\Plesk\admin\htdocs\domains\mail\mail_name_preferences.php')
10: plesk.php:56


Best Regards,
Emanuele
 
Hello,

Probably you can troubleshoot this error using Microsoft SQL Server Management Studio Express:

http://www.microsoft.com/downloadS/...AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en

Then you can look through psa database in the table permissions and check if there are any values like in the following error string:

db_query(string 'INSERT INTO [Permissions] ([id],[permission],[value]) VALUES (2444,'cp_access','true')')

Most probably there are some old entries left in the database that were not removed to some circumstances.
Also before applying any changes we recommend to dump the Parallels Plesk database.
 
Back
Top