GithubHelp home page GithubHelp logo

Could not resolve type name: Unicorn.UnicornSqlServerDataProvider, Unicorn (method: Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)). about unicorn HOT 13 CLOSED

sitecoreunicorn avatar sitecoreunicorn commented on July 19, 2024
Could not resolve type name: Unicorn.UnicornSqlServerDataProvider, Unicorn (method: Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).

from unicorn.

Comments (13)

kamsar avatar kamsar commented on July 19, 2024 2

Check your ignores. Visual studio also has the nasty habit of not showing
changes outside csproj entries.
On Tue, May 3, 2016 at 6:39 AM muso31 [email protected] wrote:

Thanks the items successfully appear here but it's not serializing item
changes I make in Sitecore into VS (there is a predicate setup). They don't
appear as pending changes in visual studio? I do have the correct message
in Sitecore:

This item is controlled by Unicorn
Changes to this item will be written to disk as part of the 'Default
Configuration' configuration so they can be shared with others.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#52 (comment)

from unicorn.

ramnkl avatar ramnkl commented on July 19, 2024 1

Thanks Kamsar, It worked after remove the serialization.config from app_config\include folder.

from unicorn.

kamsar avatar kamsar commented on July 19, 2024

Are you upgrading from v2? Because that type name is v2's data provider.

There are upgrading directions here; specifically, you may need to remove the data provider registration from the main unicorn.config/serialization.config and allow it to register from Unicorn.DataProvider.config instead.

from unicorn.

kamsar avatar kamsar commented on July 19, 2024

There are also clean copies of all the config files here

from unicorn.

jsabra1 avatar jsabra1 commented on July 19, 2024

HI @kamsar . I am still having this issue, and deleting serialization.config doesn't seem like a sensible solution as it is required to point unicorn where to pull the data from? Because when i launch unicorn after deleting the file i get a message that there is no default configuration set for serialization, then if i do serialization anyways the project is still to the default content tee. Can you please provide any advice on this

from unicorn.

kamsar avatar kamsar commented on July 19, 2024

@jawsab Serialization.config is an artifact of Unicorn 2.x, and the configurations therein have been moved elsewhere. The upgrade guide will walk you through where to put things.

from unicorn.

muso31 avatar muso31 commented on July 19, 2024

I just upgraded to unicorn 3.0. It works and writes files to disk (wwwroot) but in Visual Studio they don't appear as items to be checked in? There's no 'serialization' folder in the project anymore so where do they get written to? thanks

from unicorn.

kamsar avatar kamsar commented on July 19, 2024

The default in 3.0 is $(dataFolder)\Unicorn. There's a sample config that is included that demonstrates how to move the default.

from unicorn.

muso31 avatar muso31 commented on July 19, 2024

Thanks the items successfully appear here but it's not serializing item changes I make in Sitecore into VS (there is a predicate setup). They don't appear as pending changes in visual studio? I do have the correct message in Sitecore:

This item is controlled by Unicorn
Changes to this item will be written to disk as part of the 'Default Configuration' configuration so they can be shared with others.

from unicorn.

jaimeyzv avatar jaimeyzv commented on July 19, 2024

Hi there,

I'm having the same issue with Sitecore 9.2.0 and unicorn 4.0.3. i tried to follow the workaround you described up there but some files are no longer available (because of version i guess). Any suggestionplease? Regards.

Error: Could not resolve type name: Unicorn.Data.DataProvider.UnicornSqlServerDataProvider, Unicorn (method: Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).

from unicorn.

cassidydotdk avatar cassidydotdk commented on July 19, 2024

Definitely not the same issue.

Anyway, for Sitecore 9.2.0 the minimum required version of Unicorn is 4.1.0. Update to that, clean up your config clutter.

from unicorn.

jaimeyzv avatar jaimeyzv commented on July 19, 2024

Actually, I used 4.0.30 for testing since the latest (4.1.1) is throwing the same error. Also, I just reintalled 4.1.1again, create the serialization solution again and, as I mentioned, I'm getting the same error.

Based on this, unicorn update is not the fix. Any other suggestion please.

from unicorn.

cassidydotdk avatar cassidydotdk commented on July 19, 2024

Yea. Harsh as it sounds; clean up your config clutter :-) There's either DLLs missing in your target instance, or there are relic config files present in your target instance.

from unicorn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.