This is a migrated thread and some comments may be shown as answers.

SystemArgumentException

1 Answer 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Donald Norris
Top achievements
Rank 1
Donald Norris asked on 27 Jul 2010, 09:48 PM
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

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 30 Jul 2010, 03:46 PM
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,
Petar
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
Tags
General Discussions
Asked by
Donald Norris
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Share this question
or