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

System.NullReferenceException when running "Enable project to use ORM..."

4 Answers 117 Views
Web Services
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeffrey Monroe
Top achievements
Rank 2
Jeffrey Monroe asked on 25 Jun 2010, 05:18 AM
Has anyone experienced this? I am trying to decide if it is a VS2008 addin problem or something more devious.

Take a look at the attached image file. A pretty basic project.

Thanks ahead of time for pointing out the obvious if I have missed something like that. :)

-jm

4 Answers, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 25 Jun 2010, 03:07 PM
Hi Jeffrey Monroe,

 Can you try and open the app.config file in the editor? You can then try and execute the wizard again. The wizard has problems loading the app.config file.

Do let me know if that works.

Best wishes,
Ady
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
Jeffrey Monroe
Top achievements
Rank 2
answered on 26 Jun 2010, 10:11 PM
I get the same error. See attached.
0
Jeffrey Monroe
Top achievements
Rank 2
answered on 27 Jun 2010, 09:00 PM
I figured out the error. We use the Enterprise Library Framework 4.1 and my development machine was setup to open the App.config file in the EntLib editor. I changed this by setting the App.config file to use the default XML editor instead. I can still edit the App.config files in the EntLib editor externally or using the "Open with..." context menu option, but if EntLib editor is set as the default for App.config files, the OpenAccess ORM processes fail.

Thanks for the help,

-jm
0
Ady
Telerik team
answered on 28 Jun 2010, 04:55 PM
Hi Jeffrey Monroe,

Thank you for the valuable input. We will add this use case to our tests and look for a solution to this.
Your Telerik points have been updated.

Kind regards,
Ady
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
Web Services
Asked by
Jeffrey Monroe
Top achievements
Rank 2
Answers by
Ady
Telerik team
Jeffrey Monroe
Top achievements
Rank 2
Share this question
or