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

OpenAccess Upgrade Issue - Object

9 Answers 204 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.
Garry
Top achievements
Rank 1
Garry asked on 24 May 2010, 04:37 PM
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!

9 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 25 May 2010, 12:18 PM
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.
0
Garry
Top achievements
Rank 1
answered on 25 May 2010, 12:54 PM
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!
0
Alexander
Telerik team
answered on 26 May 2010, 06:01 PM
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.
0
Alexander
Telerik team
answered on 27 May 2010, 04:38 PM
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.
0
Garry
Top achievements
Rank 1
answered on 02 Jun 2010, 02:19 PM
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!
0
Jan Blessenohl
Telerik team
answered on 02 Jun 2010, 04:46 PM
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.
0
Garry
Top achievements
Rank 1
answered on 02 Jun 2010, 07:23 PM
Latest build seemed to fix all my build issues.
0
Per
Top achievements
Rank 1
answered on 04 Jun 2010, 01:30 PM
Hi

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

Regards
Per
0
Garry
Top achievements
Rank 1
answered on 04 Jun 2010, 02:05 PM
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!
Tags
General Discussions
Asked by
Garry
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Garry
Top achievements
Rank 1
Jan Blessenohl
Telerik team
Per
Top achievements
Rank 1
Share this question
or