OpenAccess Upgrade Issue - Object

Thread is closed for posting
10 posts, 0 answers
  1. Garry
    Garry avatar
    205 posts
    Member since:
    Nov 2010

    Posted 24 May 2010 Link to this post

    I am working on updating some Sitefinity module to the latest versions of Telerik controls including OpenAccess. I have all the references updated and the code seems to be fine, however when I go to rebuild the project I get this obscure error.

    Error   58  OpenAccess Error: Object reference not set to an instance of an object. C:\Users\GClark\Documents\Visual Studio 2008\Projects\KCDC\GambitCreations.Sitefinity.Purchasing\obj\Debug\GambitCreations.Sitefinity.PurchasingModule.dll  -1    
     

    When I run the Check Settings... on the project everything is green except the Update assembly references validator. I get the following error on all the .ascx files in my project.

    Validator           : Update assembly references  
    Description         : System.IO.FileNotFoundException: Could not   
                           load file or assembly 'Microsoft.VisualStudio.TextTemplating,   
                           Version=9.0.0.0, Culture=neutralPublicKeyToken=b03f5f7f11d50a3a'   
                           or one of its dependencies. The system cannot   
                           find the file specified.  
    File name: 'Microsoft.VisualStudio.TextTemplating,   
                           Version=9.0.0.0, Culture=neutralPublicKeyToken=b03f5f7f11d50a3a'  
         
                           at Telerik.OpenAccess.Sdk.Design.CheckSettings.Utilities.WebPageFile..ctor(  
                           String fileName)  
       at Telerik.OpenAccess.Sdk.Design.CheckSettings.WebPageItem.AnalyzeInternal()  
                             
       at Telerik.OpenAccess.Sdk.Design.CheckSettings.UpgradeItem.Analyze(  
                           )  
     
    WRN: Assembly binding logging is turned   
                           OFF.  
    To enable assembly bind failure logging,  
                            set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]   
                           (DWORD) to 1.  
    Note: There is some performance   
     

    Does this have something to do with VS 2010? Any help would greatly be appreciated as I am scratching my head at this point. Also I have tried deleting all the old files manually and rebuilding and same issue occurs.

    Thanks!
  2. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 25 May 2010 Link to this post

    Hello Garry Clark,

    Indeed this is a problem with VS2010, it seems the Microsoft.VisualStudio.TextTemplating assembly is not available there (as it is in VS2008) but is needed by the Check settings wizard. We have already addressed this issue by removing the dependency to the TextTemplating assembly but the fix is not publicly available yet. We already started testing the new Service pack and it should be available in a few days, with this fix included.
    At this point you will have to update the OpenAccess references of your project manually or open and upgrade the project in Visual Studio 2008, the wizard should work there.
    Please excuse us for the inconvenience caused.

    Regards,
    Alexander
    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. Garry
    Garry avatar
    205 posts
    Member since:
    Nov 2010

    Posted 25 May 2010 Link to this post

    Alexander,
    I am not sure what you mean by manually updating the references to OpenAccess. If you mean what I think you mean then I have already manually deleted out the old references and updated them to the new ones. If that is not what you meant then I am not sure.

    Also what is weird about the whole thing is that I have 7 modules all together that use OpenAccess and only 3 of them are exhibiting this behavoir.

    ****Edit
    OK never mind after reading the OpenAccess Help on using the MSBuild option I now believe this would not help solve this problem so you can ignore the comments below. Sorry I should have checked help first.

    The problem is that I no longer have a box with VS 2008 on it as I have moved entirely to VS 2010. I really need to get this other 3 modules built so I can deliver some changes that were asked for. Is there a KB article on how to build MSBuild = true as that does seem to allow the project to build? Of course even though it compiles it does not compile correctly setting just MSBuild = true.

    Anyhow if I have to wait I can wait if the service pack will truly be available in a few days. Will the service pack also fix the Visual designer in VS 2010?

    Thanks!
  4. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 26 May 2010 Link to this post

    Hello Garry Clark,

    Yes, this is exactly what I meant by updating the references manually. This problem was observed only with projects that contain web pages, so this is probably why you do not get the error in all of them.

    We are doing the final testing right now, so the build should be available tomorrow. And yes, the VS2010 support for the DSL will be included. I will let you know once the service pack is published.

    Sincerely yours,
    Alexander
    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. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 27 May 2010 Link to this post

    Hello Garry,

    The Service pack has just been uploaded. I hope that you will not encounter those problems anymore.

    Sincerely yours,
    Alexander
    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.
  6. Garry
    Garry avatar
    205 posts
    Member since:
    Nov 2010

    Posted 02 Jun 2010 Link to this post

    Alexander,
    I have downloaded and installed the latest OpenAccess version 2010.1.527.1 and I am getting this error when I try and build now.

    Error   45  OpenAccess: C:\Users\GClark\Documents\Visual Studio 2008\Projects\KCDC\GambitCreations.Sitefinity.ClaimsModule\obj\Debug\GambitCreations.Sitefinity.ClaimsModule.dll: Error: Could not resolve: Telerik.Cms.Web.UI, Version=3.7.2096.2, Culture=neutralPublicKeyToken=dfeaee0e3978ac79          
     

    I have checked and that is the version of Telerik.CMS.Web.UI I have referenced. It's Sitefinity 3.7 SP3. Any idea what needs to be done to resolve that message?

    Thanks!
  7. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 02 Jun 2010 Link to this post

    Hello Garry Clark,
    We have some enhancer problems in the SP1. But there is already a custom build out that fixes your problem. Can you please give it a try?

    Regards,
    Jan Blessenohl
    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.
  8. Garry
    Garry avatar
    205 posts
    Member since:
    Nov 2010

    Posted 02 Jun 2010 Link to this post

    Latest build seemed to fix all my build issues.
  9. Per
    Per avatar
    120 posts
    Member since:
    Jan 2008

    Posted 04 Jun 2010 Link to this post

    Hi

    Where can I find this custom build?
    I too have a simillar problem.

    Regards
    Per
  10. Garry
    Garry avatar
    205 posts
    Member since:
    Nov 2010

    Posted 04 Jun 2010 Link to this post

    Per,
    If you login into your account and go to downloads, like you were going to download the latest version, you will see a small link there that says "Latest Internal Builds" click here and you can download the latest and greatest. Attached is a screenshot just in case my instructions weren't clear.

    Good Luck!
Back to Top