Developer forum

Forum » Dynamicweb 10 » Install MCP Server

Install MCP Server

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,
I have a solution running on our local infrastructure. The solution is running on .NET core 10, version is 10.25.7:



I can see the back-end MCP in the App list:


I hit Install:



I recycle.
I can see the app in the AddIns/Installed:


But not in the backend:

I understand this is a beta version and things are not exactly streamlined.
What am I doing wrong?

Thank you,
Adrian


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Bump!

 
Frederik Nielsen Dynamicweb Employee
Frederik Nielsen
Reply

Hi Adrian!

Did you try to install it before moving to .net10? If so, it seems like the installation messes up. Could you share how the installed/Dynamicweb.MCP.0.3.0-BETA looks? I suspect it only has a .net8 folder and not all the necessary dlls. If that is the case, you can delete it and try to install it again.

If the above is not the case, I am still interested in how the folder looks, but also if there's any issues in the event log regarding this when you recycle your solution?

 

//Frederik

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Frederik,
No. First I switched to DW10 (although I am not sure I did it properly) then tried to install.
What I did to move to .NET 10 was edit Dynamicweb.Host.Suite.runtimeconfig.json and changed net8.0 to net10.0 and the versions from 8.0.0 to 10.0.0.

Here is how the folder looks:

In the event viewer I could not see anything, but I got something in the AddInManager TypeLoadErrors.log:
 

[2026-06-23 21:33:46.042]   C:\inetpub\wwwroot\DW10\Releases\Application(10.25.7)\bin\Microsoft.IdentityModel.Validators.dll    System.Reflection.ReflectionTypeLoadException   Unable to load one or more of the requested types.Could not load type 'Microsoft.IdentityModel.Tokens.ValidationResult`1' from assembly 'Microsoft.IdentityModel.Tokens, Version=8.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
[2026-06-23 21:33:46.044]   C:\inetpub\wwwroot\DW10\Releases\Application(10.25.7)\bin\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll  System.Reflection.ReflectionTypeLoadException   Unable to load one or more of the requested types.Could not load type 'SqlGuidCaster' from assembly 'System.Data.SqlClient, Version=4.6.1.6, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it contains an object field at offset 0 that is incorrectly aligned or overlapped by a non-object field.
[2026-06-23 21:35:22.652]   C:\inetpub\wwwroot\DW10\Releases\Application(10.25.7)\bin\Microsoft.IdentityModel.Validators.dll    System.Reflection.ReflectionTypeLoadException   Unable to load one or more of the requested types.Could not load type 'Microsoft.IdentityModel.Tokens.ValidationResult`1' from assembly 'Microsoft.IdentityModel.Tokens, Version=8.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
[2026-06-23 21:35:22.654]   C:\inetpub\wwwroot\DW10\Releases\Application(10.25.7)\bin\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll  System.Reflection.ReflectionTypeLoadException   Unable to load one or more of the requested types.Could not load type 'SqlGuidCaster' from assembly 'System.Data.SqlClient, Version=4.6.1.6, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it contains an object field at offset 0 that is incorrectly aligned or overlapped by a non-object field.
[2026-06-23 21:36:31.428]   C:\inetpub\wwwroot\DW10\Releases\Application(10.25.7)\bin\Microsoft.IdentityModel.Validators.dll    System.Reflection.ReflectionTypeLoadException   Unable to load one or more of the requested types.Could not load type 'Microsoft.IdentityModel.Tokens.ValidationResult`1' from assembly 'Microsoft.IdentityModel.Tokens, Version=8.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
[2026-06-23 21:36:31.430]   C:\inetpub\wwwroot\DW10\Releases\Application(10.25.7)\bin\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll  System.Reflection.ReflectionTypeLoadException   Unable to load one or more of the requested types.Could not load type 'SqlGuidCaster' from assembly 'System.Data.SqlClient, Version=4.6.1.6, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it contains an object field at offset 0 that is incorrectly aligned or overlapped by a non-object field.
[2026-06-25 02:36:35.009]   C:\inetpub\wwwroot\DW10\Releases\Application(10.25.7)\bin\Microsoft.IdentityModel.Validators.dll    System.Reflection.ReflectionTypeLoadException   Unable to load one or more of the requested types.Could not load type 'Microsoft.IdentityModel.Tokens.ValidationResult`1' from assembly 'Microsoft.IdentityModel.Tokens, Version=8.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
[2026-06-25 02:36:35.014]   C:\inetpub\wwwroot\DW10\Releases\Application(10.25.7)\bin\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll  System.Reflection.ReflectionTypeLoadException   Unable to load one or more of the requested types.Could not load type 'SqlGuidCaster' from assembly 'System.Data.SqlClient, Version=4.6.1.6, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it contains an object field at offset 0 that is incorrectly aligned or overlapped by a non-object field.
[2026-06-26 12:19:38.240]   C:\inetpub\wwwroot\DW10\Releases\Application(10.25.7)\bin\Microsoft.IdentityModel.Validators.dll    System.Reflection.ReflectionTypeLoadException   Unable to load one or more of the requested types.Could not load type 'Microsoft.IdentityModel.Tokens.ValidationResult`1' from assembly 'Microsoft.IdentityModel.Tokens, Version=8.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
[2026-06-26 12:19:38.244]   C:\inetpub\wwwroot\DW10\Releases\Application(10.25.7)\bin\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll  System.Reflection.ReflectionTypeLoadException   Unable to load one or more of the requested types.Could not load type 'SqlGuidCaster' from assembly 'System.Data.SqlClient, Version=4.6.1.6, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' because it contains an object field at offset 0 that is incorrectly aligned or overlapped by a non-object field.

What do you think?

Adrian

 

 
Frederik Nielsen Dynamicweb Employee
Frederik Nielsen
Reply

Definitely looks like it's installed in a wrong way, it's missing a ton of files.

Could you try and deleting the folder and installing it again? We just experienced a similar issue that was solved by installing it after moving up to .net10, so I find it weird that it resulted in only these files. If it still doesn't work re-installing it, I'll send you a package of the files which you can just dump in there and then investigate the issue further, let me know how it goes :)

Those errros doesn't really tell me anything, they're not related to this issue at least, I'm sure.

//Frederik

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

As you can see, you do not have .net10 folder indicating you installed on .net8.

So completely remove, ensure your runtime is .net10, install again

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,
Please see my first post in this thread. My .NET version is 10.0.3 and I installed the app after the upgrade.

Assuming I made the upgrade correctly (see my other post on this topic) I am running on .NET 10.
I removed the app completely from the AddIns/Installed folder and tried again but I still don't see the right folders being created.

Adrian

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Do you have a URL?

The installation will have to look like this:

Did you install from the zip file from the old doc site? Because they only contains the .net build version of Dynamicweb - and that might be the issue.

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Yes: https://comm.ignite.commergent.ro/
And yes, I downloaded the application from the old site and I edited Dynamicweb.Host.Suite.runtimeconfig.json

Adrian

 
Frederik Nielsen Dynamicweb Employee
Frederik Nielsen
Reply

Aha, that's why then. On the old doc site theres net8 compiled versions and net10 compiled versions.

If you scroll down a little you can find the net10 compiled versions, they include stumps of code that only exist for net10 compiled versions, one of those being the installation of net9 and net10 packages from the nuget addin provider.

If you download that zip and use that bin instead, it should install it properly.

 

//Frederik

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Pfff!
I asked on this thread: https://doc.dynamicweb.com/forum/dynamicweb-10/dynamicweb-10/dw-10-on-net-core-10 but I got no relevant answers.

This explains it.
I will replace the version with the .NET 10 one and start over.

Thank you very much,

Adrian

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,
I can confirm all is good now!

Thank you for your support!

Adrian

 
Frederik Nielsen Dynamicweb Employee
Frederik Nielsen
Reply

Great, happy to hear!

 

You must be logged in to post in the forum