Thread is closed for posting
2 posts, 0 answers
  1. Donald Norris
    Donald Norris avatar
    66 posts
    Member since:
    Mar 2006

    Posted 27 Jul 2010 Link to this post

    I installed the new version of ORM and get the following errors. I am trying to load into an existing web site.

    Exception:  The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

    Generated by the method: EnvDTE.ProjectItem AddFromTemplate(System.String, System.String)

    Stack Trace:    at EnvDTE.Properties.Item(Object index)
       at Telerik.OpenAccess.Ria.Extensions.Design.DomainServiceWizard.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)
       at Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(Object application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& retval)
       at EnvDTE.ProjectItems.AddFromTemplate(String FileName, String Name)
       at Telerik.OpenAccess.Sdk.Addin.Model.VAProject.AddProjectItemFromTemplate(ProjectItem parent, String source, String dest)
       at Telerik.OpenAccess.Sdk.Addin.VSAddin.VSHandler.executeAddNewItemWizard(VAProject activeProject, String extension, String projectItemName, String templateName)
       at Telerik.OpenAccess.Sdk.Addin.VSAddin.VSHandler.AddDomainServiceCEH(BaseAddin addin, MenuDesc md, Object& varIn, Object& varOut)
       at Telerik.OpenAccess.Sdk.Addin.VSAddin.BaseAddin.Exec(String longcommandName, vsCommandExecOption executeOption, Object& varIn, Object& varOut, Boolean& handled)

    Exception Type: System.ArgumentException

  2. PetarP
    PetarP avatar
    754 posts

    Posted 30 Jul 2010 Link to this post

    Hi Donald Norris,

     Currently we do not support adding a domain model or domain service to a web site. You are able to do so from the OpenAccess menu due to a bug in the menu on our side. In the next versions the menu will be disabled for web sites and thus you should not be able to encounter this odd behavior. Excuse us for any inconvenience caused. 
    Please find your Telerik points for bringing this issue to our attention.

    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top