Update from MSPCont...
 
Notifications
Clear all

Update from MSPControl to SolidCP SQL Update error

10 Posts
2 Users
0 Reactions
1,534 Views
Posts: 16
Topic starter
(@funsurfer)
Active Member
Joined: 8 years ago

Hy,

I have upgraded from MSPControl ot SolidCP, and become some errord on DB Upgrade:

Meldung 547, Ebene 16, Status 0, Zeile 16
Die UPDATE-Anweisung steht in Konflikt mit der FOREIGN KEY-Einschränkung 'FK_Providers_ResourceGroups'. Der Konflikt trat in der WebsitePanel-Datenbank, Tabelle 'dbo.ResourceGroups', column 'GroupID' auf.

Meldung 207, Ebene 16, Status 1, Prozedur GetOrganizationDeletedUser, Zeile 10
Ungültiger Spaltenname 'StoragePath'.
Meldung 207, Ebene 16, Status 1, Prozedur GetOrganizationDeletedUser, Zeile 11
Ungültiger Spaltenname 'FolderName'.
Meldung 207, Ebene 16, Status 1, Prozedur GetOrganizationDeletedUser, Zeile 12
Ungültiger Spaltenname 'FileName'.
Meldung 207, Ebene 16, Status 1, Prozedur GetOrganizationDeletedUser, Zeile 13
Ungültiger Spaltenname 'ExpirationDate'.
Meldung 207, Ebene 16, Status 1, Prozedur AddOrganizationDeletedUser, Zeile 18
Ungültiger Spaltenname 'StoragePath'.
Meldung 207, Ebene 16, Status 1, Prozedur AddOrganizationDeletedUser, Zeile 19
Ungültiger Spaltenname 'FolderName'.
Meldung 207, Ebene 16, Status 1, Prozedur AddOrganizationDeletedUser, Zeile 20
Ungültiger Spaltenname 'FileName'.
Meldung 207, Ebene 16, Status 1, Prozedur AddOrganizationDeletedUser, Zeile 21
Ungültiger Spaltenname 'ExpirationDate'.

Meldung 207, Ebene 16, Status 1, Prozedur GetUserByUsernameInternally, Zeile 34
Ungültiger Spaltenname 'InstantMessenger'.
Meldung 207, Ebene 16, Status 1, Prozedur GetUserByIdInternally, Zeile 34
Ungültiger Spaltenname 'InstantMessenger'.

Meldung 2627, Ebene 14, Status 1, Zeile 4
Verletzung der PRIMARY KEY-Einschränkung "PK_ServiceTypes". Ein doppelter Schlüssel kann in das Objekt "dbo.Providers" nicht eingefügt werden. Der doppelte Schlüsselwert ist (1403).
Die Anweisung wurde beendet.

Can you give me advice please?

brgds

9 Replies
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

Unfortunately we dont have any access to the MSPControl database but I would guess that there is a duplicate in the dbo.ResourceGroups and dbo.Providers.

 

If you can email me a copy of the database to t . robinson @ key4ce.com i will take a look for you.

Kind regards,

Trevor Robinson

Reply
Posts: 16
Topic starter
(@funsurfer)
Active Member
Joined: 8 years ago

I also cannot update some providers. I think it ist because of some sort of reference.

as example:

107
1
Windows2016
Windows Server 2016
MSPControl.Providers.OS.Windows2016, MSPControl.Providers.OS.Windows2016

in the script:

IF NOT EXISTS (SELECT * FROM [dbo].[Providers] WHERE [DisplayName] = 'Windows Server 2016')
BEGIN
INSERT [Providers] ([ProviderID], [GroupId], [ProviderName], [DisplayName], [ProviderType], [EditorControl], [DisableAutoDiscovery]) VALUES(111, 1, N'Windows2016', N'Windows Server 2016', N'SolidCP.Providers.OS.Windows2016, SolidCP.Providers.OS.Windows2016', N'Windows2016', NULL)
END
ELSE
BEGIN
UPDATE [dbo].[Providers] SET [DisableAutoDiscovery] = NULL WHERE [DisplayName] = 'Windows Server 2016'
END
GO

i can not change or delete it because of reference in some other tables 🙁

I have roundabout 10 of such tables.

 

thanks

Reply
1 Reply
Admin
(@trobinson)
Joined: 9 years ago

Noble Member
Posts: 1457

If you don't mind providing me with your database i will try fix this for you.

Reply
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Can you confirm you have also followed our manual at https://solidcp.com/kb/installation/migrate-mspcontrol-solidcp/ to remove the MSPControl Providers.

Reply
Posts: 16
Topic starter
(@funsurfer)
Active Member
Joined: 8 years ago

yes i have but i cannot remove this old providers because the new one was not created because of dublicate.

 

the error is:

Die DELETE-Anweisung steht in Konflikt mit der REFERENCE-Einschränkung 'FK_ServiceDefaultProperties_Providers'. Der Konflikt trat in der WebsitePanel-Datenbank, Tabelle 'dbo.ServiceDefaultProperties', column 'ProviderID' auf.

Reply
3 Replies
Admin
(@trobinson)
Joined: 9 years ago

Noble Member
Posts: 1457

That makes sense it maybe due to the fact that new providers have been added which conflict. Can you please send me a copy of the database? Either to my email below or submit a ticket at http://support.solidcp.com

Reply
(@funsurfer)
Joined: 8 years ago

Active Member
Posts: 16

have send it 🙂 brgds

Reply
(@funsurfer)
Joined: 8 years ago

Active Member
Posts: 16

send again 🙂

Reply
Page 1 / 2
Share: