Import Export Customers

Monday, November 25, 2024 7:29:03 PM
  • Posted: Thursday, May 14, 2020 10:15 AM
  • 54
Hi

how i can move my customers from one grandnode v4.5 db to other grandnode db v4.6

Regards

yao
0
  • Posted: Thursday, May 14, 2020 10:42 AM
  • 953
Hi,

It's independent db or do you want to make an upgrade to the newer version?
Best regards,
Patryk

GrandNode Team
0
  • Posted: Thursday, May 14, 2020 10:47 AM
  • 54
its upgraded version of grand node.i import a test customer with a demo data its showing me error

System.FormatException: An error occurred while deserializing the CustomerGuid property of class Grand.Core.Domain.Customers.Customer: Expected length to be 16, not 23.
---> System.FormatException: Expected length to be 16, not 23.
   at MongoDB.Bson.Serialization.Serializers.GuidSerializer.Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args)
   at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args)
   at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize(IBsonSerializer serializer, BsonDeserializationContext context)
   at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContext context, BsonMemberMap memberMap)
   --- End of inner exception stack trace ---
   at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeMemberValue(BsonDeserializationContext context, BsonMemberMap memberMap)
   at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContext context)
   at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args)
   at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1 serializer, BsonDeserializationContext context)
   at MongoDB.Driver.Core.Operations.CursorBatchDeserializationHelper.DeserializeBatch[TDocument](RawBsonArray batch, IBsonSerializer`1 documentSerializer, MessageEncoderSettings messageEncoderSettings)
   at MongoDB.Driver.Core.Operations.FindCommandOperation`1.CreateCursorBatch(BsonDocument commandResult)
   at MongoDB.Driver.Core.Operations.FindCommandOperation`1.CreateCursor(IChannelSourceHandle channelSource, BsonDocument commandResult)
   at MongoDB.Driver.Core.Operations.FindCommandOperation`1.ExecuteAsync(RetryableReadContext context, CancellationToken cancellationToken)
   at MongoDB.Driver.Core.Operations.FindOperation`1.ExecuteAsync(RetryableReadContext context, CancellationToken cancellationToken)
   at MongoDB.Driver.Core.Operations.FindOperation`1.ExecuteAsync(IReadBinding binding, CancellationToken cancellationToken)
   at MongoDB.Driver.OperationExecutor.ExecuteReadOperationAsync[TResult](IReadBinding binding, IReadOperation`1 operation, CancellationToken cancellationToken)
   at MongoDB.Driver.MongoCollectionImpl`1.ExecuteReadOperationAsync[TResult](IClientSessionHandle session, IReadOperation`1 operation, ReadPreference readPreference, CancellationToken cancellationToken)
   at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSessionAsync[TResult](Func`2 funcAsync, CancellationToken cancellationToken)
   at MongoDB.Driver.IAsyncCursorSourceExtensions.FirstOrDefaultAsync[TDocument](IAsyncCursorSource`1 source, CancellationToken cancellationToken)
   at Grand.Services.Customers.CustomerRegistrationService.ValidateCustomer(String usernameOrEmail, String password) in D:\GrandnodeGit\grandnode\Grand.Services\Customers\CustomerRegistrationService.cs:line 102
   at Grand.Web.Controllers.CustomerController.Login(LoginModel model, String returnUrl, Boolean captchaValid, IShoppingCartService shoppingCartService) in D:\GrandnodeGit\grandnode\Grand.Web\Controllers\CustomerController.cs:line 166
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invo
0
  • Posted: Thursday, May 14, 2020 12:59 PM
  • 54
i want to transfer customer from one old grand node web-page to other new grand node web-page

Regards

yao
0
  • Posted: Thursday, May 14, 2020 1:00 PM
  • 54

from GreandNode 4.5 to 4.6
0
  • Posted: Thursday, May 14, 2020 1:06 PM
  • 953
Hi,

If you want to make the upgrade inside single database, it's the easiest way, you should replace files and then go to yourstore.com/upgrade. That's all. In the other case, you are not able to move collections from one db to different one, there is a lot of differences, for example, customer roles IDs are different. We can sell you a plugin, which import customers to the store. You can reach us at support@grandnode.com, we can talk about that plugin.
Best regards,
Patryk

GrandNode Team
0
  • Posted: Thursday, May 14, 2020 3:22 PM
  • 54
i updated now i have problem with images its repeating domin name

https://sanicosmeticos.com/www.sanicosmeticos.com/content/images/thumbs/5ea189db48ac0d05700ef3c3_eco-styler-styling-gel-super-protein_415.jpeg
0
  • Posted: Thursday, May 14, 2020 9:09 PM
  • 54
Hi

i solve the problem.  

Thank you
0
back to top
Filters