DSW with ORM 2010 Q1. Object reference not set.

36 posts, 0 answers
  1. Lee Weisenberger
    Lee Weisenberger avatar
    72 posts
    Member since:
    Nov 2009

    Posted 23 Mar 2010 Link to this post

    I'm able to step through the samples on creating a class library, then a blank web project.  Then start the Data Services Wizard and get all items as expected through to Finish.  As soon as I click finish I get Object reference not sent to an instance of an object, regardless of what type of service I select.

    I've re-installed DSW multiple times.  I am using Windows 7 x64 on Visual Studio 2008 sp1.
    Is there incompatibilty that I am not aware of?
  2. Peter Bahaa
    Admin
    Peter Bahaa avatar
    26 posts

    Posted 24 Mar 2010 Link to this post

    Hello Lee Weisenberger,

    The cause for this issue is that the Telerik.OpenAccess.Query.dll is now renamed to Telerik.OpenAccess.35.Extensions.dll in the latest version of OpenAccess but the DSW still references the old assembly. We are planning to release a new version of the Data Services Wizard next week with some new exciting Silverlight features. Sorry for the inconvenience.

    Greetings,
    Peter Bahaa
    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.
  3. Bill Noble
    Bill Noble avatar
    10 posts
    Member since:
    Jun 2009

    Posted 25 Mar 2010 Link to this post

    Hello

    (Sadly), I am pleased that someone else is experiencing this issue.

    I have been trying to get this to work for a good few days, and thought that it must be something I was doing wrong.

    I  have started many applications from scratch, reinstalled Open Access and DSW many times, read ALL the documentation but still no cigar.

    Will I be notified when the new wizard is put into my user area, or do I just keep checking ?

    Best regards
    Bill

  4. Peter Bahaa
    Admin
    Peter Bahaa avatar
    26 posts

    Posted 26 Mar 2010 Link to this post

    Hi Bill Noble,

    I will notify you in this thread once this issue gets solved. You can expect the new version by the end of the next week.

    Greetings,
    Peter Bahaa
    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.
  5. Seree
    Seree avatar
    29 posts
    Member since:
    Sep 2006

    Posted 31 Mar 2010 Link to this post

    Hi Peter,

    I hope the fix is still on time, will keep checking to this thread. :)

    Thanks,
    Seree W.
  6. Bill Noble
    Bill Noble avatar
    10 posts
    Member since:
    Jun 2009

    Posted 06 Apr 2010 Link to this post

    Hello Peter

    Is there any update on this. ?
    Thanks
  7. Jim
    Jim  avatar
    7 posts
    Member since:
    Jan 2008

    Posted 06 Apr 2010 Link to this post

    SAME HERE!
  8. Peter Bahaa
    Admin
    Peter Bahaa avatar
    26 posts

    Posted 07 Apr 2010 Link to this post

    Hello Juan Valenzuela,

    The new version of the Data Services Wizard has just been released. You can get it from the product page:
    http://www.telerik.com/products/orm/telerik-data-services-wizard.aspx

    All the best,
    Peter Bahaa
    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.
  9. Jim
    Jim  avatar
    7 posts
    Member since:
    Jan 2008

    Posted 07 Apr 2010 Link to this post

    I installed the new version, but I still get the same error "Object reference not sent to an instance of an object" in the last step of the process.

    - Juan
  10. Peter Bahaa
    Admin
    Peter Bahaa avatar
    26 posts

    Posted 08 Apr 2010 Link to this post

    Hi Juan Valenzuela,

    We have done numerous tests here locally and we could not reproduce the issue you have reported. Can you please confirm that the wizard was properly uninstalled before the installation of the new version? Maybe an old assembly was not uninstalled for some reason? Please try to uninstall the wizard and install the new version again after you have made sure that there aren't any old assemblies left. Do come back to us if this does not fix your problem.

    Best wishes,
    Peter Bahaa
    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.
  11. Jim
    Jim  avatar
    7 posts
    Member since:
    Jan 2008

    Posted 08 Apr 2010 Link to this post

    I uninstalled and re-installed. Same error.

    Is anybody else in this thread having the same problem or am I the only one?

    Thanks

    -Juan
  12. Carlos Vega Thomas
    Carlos Vega Thomas avatar
    1 posts
    Member since:
    Aug 2004

    Posted 08 Apr 2010 Link to this post

    I was having the "Object reference not set" problem before the update..., but I uninstall --> install update, and now is working ok.

    Carlos V
  13. Matt.F
    Matt.F avatar
    12 posts
    Member since:
    Jun 2007

    Posted 12 Apr 2010 Link to this post

    Hi There,

    I'm afraid that I'm still getting this error in some circumstances. Everything works ok if I right click a .rlinq file and launch the wizard from there but, when I launch the wizard from the top Telerik menu and select a class library which uses forward mapping I get the "object reference not set..." error when I click next from the Discoverer Chooser step. I've tried this on both my main application and a brand new test one which contains nothing but a scope provider and a single forward mapped class, both give the same error.

    Any ideas?

    Matt
  14. Peter Bahaa
    Admin
    Peter Bahaa avatar
    26 posts

    Posted 12 Apr 2010 Link to this post

    Hello,

    @Matt.F: Please try uninstalling the wizard, and reinstalling it again.

    @Juan: We already scheduled this issue to be fixed in the next build. For more information on the new features in DSW please see the documentation zipped with the release.

    Greetings,
    Peter Bahaa
    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.
  15. Matt.F
    Matt.F avatar
    12 posts
    Member since:
    Jun 2007

    Posted 12 Apr 2010 Link to this post

    Hi There,

    Tried this several times, also tried uninstalling wizard, removing orm, rebooting pc and then reinstalling piece by piece after validating no wizard componants remained. Still only works for the .rlinq files not the forward mapping.

    Is there any way that I can get more information on this error to give to you?

    Also, I noticed that the date of the setup.exe / msi in the file Telerik.OpenAccess.DSW.zip currently available for download on telerik.com is 31/03/2010, is this correct? From reading through the posts in the thread I would have expected it to be dated April rather than March.

    Thanks

    Matt
  16. Matt.F
    Matt.F avatar
    12 posts
    Member since:
    Jun 2007

    Posted 15 Apr 2010 Link to this post

    Hi again,

    Sorry to be a pain but is there any further help you can give on this issue? I'm trying to persuade the people who hold the purse strings to fork out for a few licences for your software but at the moment I cant really as the openaccess / data services wizard was a bit of a deal breaker.

    Thanks

    Matt
  17. Bill Noble
    Bill Noble avatar
    10 posts
    Member since:
    Jun 2009

    Posted 16 Apr 2010 Link to this post

    Hi Juan
    I was having the exact same issue.
    I downloaded the zip file numerous times, uninstalled the old one and reinstalled the “New” one, only to get the same error each time.

    I read the documentation and forum posts etc.
    I thought that I would give it one last attempt before jumping off the local bridge
    J.

    I had noticed that there were various links on the site, pointing to the ‘same’ zip file, and in desperation, I clicked on a link that I had not previously used, and downloaded the file.

    I went through the usual uninstall, reinstall phase, but using this new zip file, and my issue disappeared.

    I wonder if there had been some old version lurking somewhere.


    Bill
  18. Jim
    Jim  avatar
    7 posts
    Member since:
    Jan 2008

    Posted 16 Apr 2010 Link to this post

    Thank you Bill. You wouldn't happen to remember which link was the one that did it for you, would you?

    I'm downloading the "official" released one from http://www.telerik.com/documents/Telerik.OpenAccess.DSW.zip

    Regards

    - Juan
  19. Bill Noble
    Bill Noble avatar
    10 posts
    Member since:
    Jun 2009

    Posted 17 Apr 2010 Link to this post

    Hi Juan

     Sorry, I can’t remember the exact link, although they should all be the “same” file.

    Go to control panel – programs and features and check the version,  10.03.3109 is the one I have.

    I uninstalled the old version via windows control panel.
    Re-started the computer.
    Unzipped the DSW.zip into a new folder.
    Ran the setup as administrator.
    Started VS2008 and created a new project.

    Bill

  20. Jim
    Jim  avatar
    7 posts
    Member since:
    Jan 2008

    Posted 19 Apr 2010 Link to this post

    Thanks Bill,

    I was finally able to make it work. I was having issues with all Telerik products. I uninstalled ALL of them. This was not enough. I noticed that after uninstalling, there are still many entries on the registry. I used a program called RegScanner and searched all keys and values with the word 'Telerik' on them and deleted them.

    Rebooted and re-installed and that made it work.

    - Juan
  21. Bill Noble
    Bill Noble avatar
    10 posts
    Member since:
    Jun 2009

    Posted 20 Apr 2010 Link to this post

    Hi Juan

    I’m pleased you got it working, and thanks for the tip about RegScanner.

    Bill

  22. DSamani
    DSamani avatar
    15 posts
    Member since:
    Dec 2009

    Posted 03 Jun 2010 Link to this post

    I am also getting this error in VS 2010.  I am running version 2010.1.527.1

    When I attach another 2010 instance under debug it appears that VS is unable to resolve 'Telerik.OpenAccess.35.Extensions'

    Here's the tail end of the debug output in case it's useful:

    'devenv.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files\Telerik\OpenAccess ORM\Data Services Wizard\bin\Telerik.OpenAccess.DSW.ExceptionHandling.dll'
    The thread '<No Name>' (0x12a8) has exited with code 0 (0x0).
    A first chance exception of type 'System.ArgumentException' occurred in Microsoft.VisualStudio.ORDesigner.Dsl.dll
    A first chance exception of type 'System.ArgumentException' occurred in Microsoft.VisualStudio.ORDesigner.Dsl.dll
    'devenv.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\byron.blattel\Documents\Telerik\OpenAccess\Data Services Wizard\Temp\VersaSuite.Model.OA1.dll', Symbols loaded.
    A first chance exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll
    A first chance exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll
    A first chance exception of type 'System.Threading.SynchronizationLockException' occurred in Microsoft.Practices.Unity.dll
    A first chance exception of type 'System.Threading.SynchronizationLockException' occurred in Microsoft.Practices.Unity.dll
    A first chance exception of type 'System.Threading.SynchronizationLockException' occurred in Microsoft.Practices.Unity.dll
    Assembly resolution failed: Telerik.OpenAccess.35.Extensions, Version=2010.1.527.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
    A first chance exception of type 'System.ArgumentException' occurred in Microsoft.VisualStudio.ORDesigner.Dsl.dll
    A first chance exception of type 'System.ArgumentException' occurred in Microsoft.VisualStudio.ORDesigner.Dsl.dll
    A first chance exception of type 'System.ArgumentException' occurred in Microsoft.VisualStudio.ORDesigner.Dsl.dll
    A first chance exception of type 'System.ArgumentException' occurred in Microsoft.VisualStudio.ORDesigner.Dsl.dll
    The thread '<No Name>' (0x128c) has exited with code 0 (0x0).
    The thread '<No Name>' (0xff8) has exited with code 0 (0x0).
    The thread '<No Name>' (0x1c94) has exited with code 0 (0x0).
    The thread '<No Name>' (0x18e0) has exited with code 0 (0x0).
    A first chance exception of type 'System.NullReferenceException' occurred in Telerik.OpenAccess.DSW.Providers.dll
    The thread '<No Name>' (0x404) has exited with code 0 (0x0).
    The thread '<No Name>' (0x1a68) has exited with code 0 (0x0).

    Thanks,
    Byron
  23. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 03 Jun 2010 Link to this post

    Hi Byron Blattel,

    Can you please provide us with some additional information in order to reproduce the false behavior you are observing. We tried to run the wizard on a clean installation and everything worked as expected. Can you please confirm that prior to installation you did not have any old assemblies left from previous installations?

    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.
  24. DSamani
    DSamani avatar
    15 posts
    Member since:
    Dec 2009

    Posted 03 Jun 2010 Link to this post

    I ran the uninstaller from 'Programs and Features' before installing 2010.1.527.1.  I just searched my system and didn't find any older OA .dlls...
  25. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 07 Jun 2010 Link to this post

    Hello Byron Blattel,

    The place where you need to search is located in the assembly folder in your Windows folder installation. Usually this is C:\Windows\assembly. There you will have to search for everything Telerik.OpenAccess.* related. If you can indeed confirm that there aren't any old assemblies please install the latest version and try to use the wizard again. If you are still experiencing problems can you please provide us with additional information on how to reproduce the false behavior as everything works as expected on our side.

    Best wishes,
    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.
  26. DSamani
    DSamani avatar
    15 posts
    Member since:
    Dec 2009

    Posted 07 Jun 2010 Link to this post

    I've completely uninstalled all Telerik products and reinstalled the latest builds of OA and RadControls for SL.

    After the uninstall there were no Telerik dll's listed in C:\Windows\assembly...

    I still get the error.

    I've attached screenshots of the debug output and loaded modules.

    If I had the .pdb for  Telerik.OpenAccess.DSW.Providers.dll I could give you more info...
  27. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 10 Jun 2010 Link to this post

    Hi Byron Blattel,

    can you please be more specific on the steps you performed that caused the exception? What project did you have in your solution? Did you used Northwind, AdvantureWorks or a private database? Any information on how to reproduce the problem will be greatly appreciated.

    Kind regards,
    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.
  28. DSamani
    DSamani avatar
    15 posts
    Member since:
    Dec 2009

    Posted 10 Jun 2010 Link to this post

    I have figured out the problem. The exception is thrown if the web project's web.config file does not have a <connectionStrings> element yet.

    If you manually create a <connectionStrings> section the exception is not thrown.  FYI the offencing code is in Telerik.OpenAccess.DSW.Presenter.Presenters.FinishPresenter.SaveProject() when base2.ModifyConfigFile(...) is called.
  29. Missing user
    Missing user avatar

    Posted 14 Jun 2010 Link to this post

    Hi Byron Blattel,

    Thank you for helping us to find the source of the problem. This issue is already fixed in our latest internal build.

    Best wishes,
    Rizk Sobhi
    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.
  30. Jim
    Jim avatar
    52 posts
    Member since:
    Sep 2012

    Posted 19 Jun 2010 Link to this post

    Rizk,

    Note that it's not fixed in 2010.1.610.1, which appears to be the latest internal build available to customers.  I think you're referring to an internal build that we cannot get yet.  That's not a problem, since we have the workaround, but I thought a clarification would be useful.

    Jim
Back to Top