Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Brian Simpson 3 posts 23 karma points
    May 04, 2012 @ 20:16
    Brian Simpson
    0

    Setting Up the V5 site from bitbucket

    I have downloaded the source from the bitbucket and I'm having problems getting the site to run. I get the error below when I go to loaclhost.

    Could not load file or assembly 'BingMaps.Umbraco.PropertyEditor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    Has anybody got any clues to why or even a guide on how to get this up and running?

    Regards

    Brian

     

  • Simon Justesen 436 posts 203 karma points
    May 04, 2012 @ 20:28
    Simon Justesen
    0

    Hi Brian, welcome aboard!

    Any particular reason why you're installing from source code? There's plenty of binaries here:
    http://umbraco.codeplex.com ;

    You can also use Microsoft Web Platform Installer to get started

  • jaygreasley 416 posts 403 karma points
    May 04, 2012 @ 20:43
    jaygreasley
    0

    Hi Brian,

    I believe this package is a v4.7 only one

    HJay

  • Simon Justesen 436 posts 203 karma points
    May 04, 2012 @ 20:55
    Simon Justesen
    0

    *LOL* Whoops... I didn't see this was a project forum *hiding in shame* ;)

  • Brian Simpson 3 posts 23 karma points
    May 04, 2012 @ 20:56
    Brian Simpson
    0

    Hi Thanks for the replies. I can install a virgin 5.1 site and get it going no problem. What I'm trying to do here is use Warrens examples to get myself up to speed. 

    I have just got the site to work by dropping the folder with the BingMaps assembly in it. Im guessing its not critical.

    @Jay - I believe what I have downloaded is something that was created for V5

    Thanks

    Brian

  • Warren Buckley 2106 posts 4836 karma points MVP ∞ admin hq c-trib
    May 04, 2012 @ 22:05
    Warren Buckley
    0

    Hello Brian,
    Yes you are right I have a V5 version of the starter site here on BitBucket
    https://bitbucket.org/warrenbuckley/estate-agents-starter-site 

    I haven't updated the project for a little while to use the latest version of Umbraco, so if you are copying in components from that project into a newer version of the Umbraco build I have in source control, is hence why you might be seeing problems.

    The Bing Maps property editor allows you to pick a location for each estate for sale by using a friendly google map to store the latitude and longtitude and zoom level, rather than using a textstring box to manually type these in yourself.

    You could try to install Bing Maps or the Google Maps property editor packages as both will work with the site code:
    http://our.umbraco.org/projects/backoffice-extensions/google-maps
    http://our.umbraco.org/projects/backoffice-extensions/bing-maps-property-editor

    Any problems just shout.

    Cheers,
    Warren :) 

  • Brian Simpson 3 posts 23 karma points
    May 05, 2012 @ 10:16
    Brian Simpson
    0

    Many thanks Warren.

    I have the site working I deleted the bingmaps folder under packages for now. I will try adding this package in later. I am just trying to get the site to run with the folder "Umbraco.StarterSite.EstateAgent.Web" I haven't tried to migrate it to 5.1 which is what I'm interested in using for the membership users.

    If I create a basic 5.1 site can I just copy across the folders onto this? If so which folders are specific to your application? Is there a way to migrate the database to 5.1 as I guess this has structural changes for 5.1?

    The site seems to work ok however when I log into the backoffice I'm getting a few exceptions. For example clicking the home folder and clicking any property i.e. Stonehenge. 

    Its a good example to use so I'm keen to get it going so I can get up to speed with V5.

    Best Regards

    Brian

    Back Office Exception details

    Exception
    Object reference not set to an instance of an object.
    Stack trace
    at System.Object.GetType() at Umbraco.Cms.Web.Mapping.CmsModelMapper.<ConfigurePersistenceToModelMappings>b70(AttributeDefinition source, DocumentTypeProperty dest) at Umbraco.Framework.TypeMapping.AbstractTypeMapper2.Map(TSource source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractTypeMapper2.Map(Object source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractFluentMappingEngine.Map[TSource,TDestination](TSource source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractFluentMappingEngine.Map[TSource,TDestination](TSource source) at Umbraco.Cms.Web.Mapping.CmsModelMapper.<ConfigurePersistenceToModelMappings>b6a(TypedAttribute x) at Umbraco.Framework.TypeMapping.MappingExecutionScope.<>cDisplayClass71.&lt;CreateOnce&gt;b__6() at Umbraco.Framework.TypeMapping.MappingExecutionScope.CreateOnce(Object source, Type targetType, Func1 factory) at Umbraco.Framework.TypeMapping.MappingExecutionScope.CreateOnce[TTarget](Object source, Func1 factory) at Umbraco.Framework.TypeMapping.AbstractTypeMapper2.Map(TSource source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractTypeMapper2.Map(Object source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.EnumerableTypeMapper2.PerformMapping(TSource sourceSequence, TTarget targetSequence, MappingExecutionScope mappingExecutionScope) at Umbraco.Framework.TypeMapping.EnumerableTypeMapper2.Map(TSource source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractTypeMapper2.Map(Object source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractFluentMappingEngine.Map[TSource,TDestination](TSource source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractFluentMappingEngine.Map[TSource,TDestination](TSource source) at Umbraco.Cms.Web.Mapping.TypedEntityToContentProperties1.GetValue(TEntity source) at Umbraco.Framework.TypeMapping.MemberMappingExpression1.MapUsing[TMember](MemberMapper2 memberMapper) at Umbraco.Framework.TypeMapping.FluentMappingEngineContext2.MapFromRule(PropertyMapDefinition info, MemberExpressionSignature expression, Object& value) at Umbraco.Framework.TypeMapping.ObjectMapper2.Map(Object source, Object target, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractTypeMapper2.Map(TSource source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractTypeMapper2.Map(Object source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractFluentMappingEngine.Map[TSource,TDestination](TSource source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractFluentMappingEngine.Map[TSource,TDestination](TSource source) at Umbraco.Cms.Web.Mapping.RevisionToContentEditorModel1.<.ctor>b0(Revision1 x) at Umbraco.Framework.TypeMapping.MappingExecutionScope.&lt;&gt;c__DisplayClass71.<CreateOnce>b6() at Umbraco.Framework.TypeMapping.MappingExecutionScope.CreateOnce(Object source, Type targetType, Func1 factory) at Umbraco.Framework.TypeMapping.MappingExecutionScope.CreateOnce[TTarget](Object source, Func1 factory) at Umbraco.Framework.TypeMapping.AbstractTypeMapper2.Map(TSource source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractTypeMapper2.Map(Object source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractFluentMappingEngine.Map[TSource,TDestination](TSource source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractFluentMappingEngine.Map[TSource,TDestination](TSource source) at Umbraco.Framework.TypeMapping.MappingExecutionScope.<>cDisplayClass71.&lt;CreateOnce&gt;b__6() at Umbraco.Framework.TypeMapping.MappingExecutionScope.CreateOnce(Object source, Type targetType, Func1 factory) at Umbraco.Framework.TypeMapping.MappingExecutionScope.CreateOnce[TTarget](Object source, Func1 factory) at Umbraco.Framework.TypeMapping.AbstractTypeMapper2.Map(TSource source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractTypeMapper2.Map(Object source, MappingExecutionScope scope) at Umbraco.Framework.TypeMapping.AbstractFluentMappingEngine.Map(Object source, Type sourceType, Type destinationType) at Umbraco.Framework.TypeMapping.AbstractMappingEngine.Map[TSource,TDestination](TSource source) at Umbraco.Cms.Web.Editors.AbstractRevisionalContentEditorController1.Edit(Nullable1 id) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.&lt;&gt;c__DisplayClass15.&lt;InvokeActionMethodWithFilters&gt;b__12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) 

Please Sign in or register to post replies

Write your reply to:

Draft