This question is locked. New answers and comments are not allowed.
Background: Windows 7 32 bit OS
Visual Studio Pro 2010
Installed/reinstalled version 2010.2.714.1 of ORM
I'm getting the below error when I try Telerik > OpenAccess > Add domain model
"
With the below when I click "Details":
Exception: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
Visual Studio Pro 2010
Installed/reinstalled version 2010.2.714.1 of ORM
I'm getting the below error when I try Telerik > OpenAccess > Add domain model
"
System.ArgumentException occurred.
The parameter is incorrect.
"With the below when I click "Details":
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.VS.Data.Design.CommonHelpers.DteHelper2.GetProjectNamespace(Project project)
at Telerik.VS.Data.Design.ModelBuilderWizardFormController..ctor(IServiceProvider serviceProvider, Project project, WizardSettings modelBuilderSettings, WizardMode wizardMode, VisualStudioProjectSystem applicationType, IConnectionManager connectionManager)
at Telerik.VS.Data.Design.ModelItemWizard.RunStarted(Object automationObject, Dictionary`2 replacementsDictionary, WizardRunKind runKind, Object[] customParams)
at Telerik.VS.Data.Design.TemplateItemWizardBase.Microsoft.VisualStudio.TemplateWizard.IWizard.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.AddDomainModelCEH(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
4 Answers, 1 is accepted
0
Hello Greg,
Can you give us more information about the solution and the project you are trying to add the domain model?
Is it Desktop, Web Asp or Silverlight Project? We need that information to narrow down the possibilities,
Kind regards,
Dimitar Kapitanov
the Telerik team
Can you give us more information about the solution and the project you are trying to add the domain model?
Is it Desktop, Web Asp or Silverlight Project? We need that information to narrow down the possibilities,
Kind regards,
Dimitar Kapitanov
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
0
Chris
Top achievements
Rank 1
answered on 20 Jul 2010, 02:46 PM
I am developing an ASP.NET web app targeting .NET 4.0. I am using SQL Server 2005 for the backend.
0
Hi Greg,
If you are adding the domain model to a web application it should work, but if you are trying to add the same model to a WebSite kind of project, this is not doable - we need the enhancement procedure, and that part is not applicable in a web site scenario. The way to do it is to have the model in a library project that is then referenced by the site. Please tell me if this is your case.
Sincerely yours,
Dimitar Kapitanov
the Telerik team
If you are adding the domain model to a web application it should work, but if you are trying to add the same model to a WebSite kind of project, this is not doable - we need the enhancement procedure, and that part is not applicable in a web site scenario. The way to do it is to have the model in a library project that is then referenced by the site. Please tell me if this is your case.
Sincerely yours,
Dimitar Kapitanov
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
0
Chris
Top achievements
Rank 1
answered on 20 Jul 2010, 03:41 PM
The latter is the case, it's not a web application but rather a website.