Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > Telerik Data Services Wizard > Error when using DSW

Not answered Error when using DSW

Feed from this thread
  • Gonzalo avatar

    Posted on Jul 29, 2011 (permalink)

    Greetings,
    I am very interested on incorporating/Open Access in all my projects and to this end I have going over the walkthroughs. I am going over the Creating a WCF Data Services and when I used the data services wizard I get the following error after selecting the web project and clicking next. Any light you can shed is very much appreciated. I am attaching the error detailed from log.txt

    Thanks and best regards,

    Gonzalo

    CustomerDALPicker - 7/29/2011 2:43:09 PM: Exception Message: 'Can't load the model configuration, Please ensure the correct configuration for the existing model. Please review the log for more information', Type: 'Telerik.OpenAccess.DSW.Core.CustomExceptions.DomainModelException', Source: 'Telerik.OpenAccess.DSW.Core', StackTrace: '   at Telerik.OpenAccess.DSW.Core.DALDependency.ConcreteDal.GetDomainModels()
       at Telerik.OpenAccess.DSW.Presenter.Presenters.CustomerDALPickerPresenter.ValidateInputs(Action dalFilePathNotFoundAction, Action objectContextNotFoundAction, Action`1 modelChooserInitializationAction, Action`1 dataServicePickerInitializationAction, Action`1 exceptionHandling)'
        Exception Message: 'Exception has been thrown by the target of an invocation.', Type: 'System.Reflection.TargetInvocationException', Source: 'mscorlib', StackTrace: '   at System.RuntimeFieldHandle.GetValue(RtFieldInfo field, Object instance, RuntimeType fieldType, RuntimeType declaringType, Boolean& domainInitialized)
       at System.Reflection.RtFieldInfo.InternalGetValue(Object obj, Boolean doVisibilityCheck, Boolean doCheckConsistency)
       at System.Reflection.RtFieldInfo.GetValue(Object obj)
       at Telerik.OpenAccess.DSW.Core.DALDependency.DomainModel.ExtractSettingFromConfig(Type domainModelType, String configFilePath)'
            Exception Message: 'The type initializer for 'OA.SL4.WcfData.Demo01.Web.SofiaCarRentalDbContext' threw an exception.', Type: 'System.TypeInitializationException', Source: '', StackTrace: ''
                Exception Message: 'Cannot find resource SofiaCarRentalDomainModel.rlinq embedded in assembly OA.SL4.WcfData.Demo01.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null', Type: 'System.ArgumentException', Source: 'Telerik.OpenAccess', StackTrace: '   at Telerik.OpenAccess.Metadata.XmlMetadataSource.FromAssemblyResource(Assembly assembly, String xmlFileName)
       at Telerik.OpenAccess.Metadata.XmlMetadataSource.FromAssemblyResource(String xmlFileName)
       at OA.SL4.WcfData.Demo01.Web.SofiaCarRentalDbContext..cctor()'
    Attached files

    Reply

  • Gonzalo avatar

    Posted on Aug 1, 2011 (permalink)

    Update

    I had a conflict with VS Command 2010. All is great now :-)

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > Telerik Data Services Wizard > Error when using DSW
Related resources for "Error when using DSW"

OpenAccess ORM Features  |  Documentation  |  Demos  |  Telerik TV  |  Step-by-step Tutorial   ]