.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

How to make Custom SharePoint 2010 Webpart work on MOSS 2007 Environment

Posted By:      Posted Date: November 04, 2010    Points: 0   Category :SharePoint
 

H

I've built a SharePoint WebPart in SharePoint 2010, using SharePoint Assembly version 14.0.0.0. Now i've to make this Webpart such that i should work on SharePoint 2010 and MOSS 2007. The version no for both the versions are different, so do i need to create separate web-part for both version or is there any other way?

My current webpart is built in env, which has

SharePoint 2010, Windows 7 64 Bit, VS 2010.

Reference is added to SharePoint DLL which is in 14 Hive ISAPI.

 

How can i make this generic, so that i should work on both version, i've not used anything specific which is only in SP2010, its just a simple webpart.

 


Thanks
Akhilesh Nirapure


View Complete Post


More Related Resource Links

How to upgrade MOSS 2007 custom site definitions to SharePoint 2010?

  
I would like to know how to upgrade custom site definitions of MOSS 2007 to SharePoint 2010 in detail?

How to upgrade MOSS 2007 custom site definitions to SharePoint 2010?

  
I would like to know how to upgrade custom site definitions of MOSS 2007 to SharePoint 2010 in detail?

Creating Custom ASP.NET Control for use on a SharePoint 2010 OOTB WebPart

  
I am currently trying to develop a custom asp.net control that can be deployed to SharePoint 2010 and then included on something like a New item form. I have been able to build the control as part of a webpart but it needs to be done as a stand alone control that can be used on various webparts including the out of the box webparts like the WebPartPages:DataFormWebPart. Are there any good examples of building a custom control, deploying it to SharePoint and then using SharePoint designer to add that control to an existing web part?

Best Way to Convert MOSS 2007 Site Templates to SharePoint 2010 Templates

  
Ok, I just treid to do something that I didn't really think would work, but now that I've seen it fail, I get to ask the question. Is there a best practice on converting site templates built for MOSS 2007 to SharePoint 2010. We have several projects that used the Visual Studio Extensions (v1.3) and the SharePoint Solution Generator to build custom site templates and the .wsp packages. I can add and deploy the solution packages using the STSADM tool, but when I try to create a sub-site based on that template, I get an Object Not Set to an Oject Reference Error. In case anyone is wondering, it works fine in MOSS 2007. I have not tried Visual Studio 2010 yet (it's downloading in the background). I'm just wondering if anyone has run into this and what they did to fix it. TIA, John.

Reg deployment of solution packages in SharePoint 2010 from MOSS 2007

  
Hi, Earlier we have developed some custom web parts,features and deployed into the site through solution package(wsp files) when customer was using MOSS 2007.Now customer is migrating all sites into SharePoint 2010.Now my query is can i use the same solution to deploy into the site through Central Admin of SharePoint 2010 or is there any seperate process for that? Thanks & Regards, Sudheer

MOSS 2007 upgrade to Sharepoint 2010 across domains

  
I recently did an upgrade at a customer site. I migrated their content successfully as well as their Mysites. Their MOSS farm was situated on a domain, let's say "domain 1". Due to a merger, their domain had to change to "Domain 2". The Sharepoint 2010  farm was set up on new domain. We now need to change the existing user logins from the upgraded content db to the new domain. domain1\user to Doamin2\user.  We considered a manual process, but it is simply not a viable option. Furthermore, the migrated mysites works fine, but the problem is, the users need to login with their old login details to view the content. Which is unacceptable. The mysite content now needs to be associated with the users on the new domain. Bear in mind that the users already have logins and permissions as per the previous configuration (domain1\user) I consideredd using the stsadm migrate user command, but that could also be laborious. The other concern is the SID associated to each login. I am not sure if the -ignoresidhistory switch will help, or if this command is even usable in SP 2010. I there possibly another, more effective method to accomplish these tasks, say a Powershell script or a magic wand?   Regards,   Warren  

Can we have both moss 2007 and sharepoint 2010 using a share SQL cluster?

  
Hello, I want to consolidate some server by using both SharePoint 2007 and SharePoint 2010 to use the same SQL 2008 R2 cluster. Is there any technical reason that should prevent to have both application to share same SQL server using different sql DB? Thanks

Upgrade from MOSS 2007 Trial to Sharepoint Server 2010

  
I have a client who setup MOSS 2007 Trial and are coming up on the expiration.  Instead of buying a key for MOSS 2007 they purchased Sharepoint 2010.  I'm having some problems upgrading because its the trial.  What are my options for upgrading/migrating over to Sharepoitn 2010?

MOSS 2007 to SharePoint Server 2010 Hybrid Upgrade Approach on Windows Server 2003 x64

  
There's some guidance circulating about upgrading to 2010 with a mix of In-Place and Database Attach upgrade methods. My Central Admin and SharePoint Web App are on a 64 bit server, but it's running on Windows server 2003 x64 and not on Windows Server 2008 or 2008 R2. SharePoint Team Blog says Server 2008 or 2008 R2 is required for SP2010. If I want to do the hybrid upgrade approach, is it possible to first upgrade the OS to Server 2008 R2 on the server where my Central Admin and SP Web App runs?  Or will this break MOSS 2007?

Is there anyway to Sync SharePoint 2010 table to MOSS 2007 table?

  
Hello, I would like to know what can i use to sync a sharepoint 2010 table to a sharepoint 2007 table? Also could this be done by pulling the webservice for sharepoint 2007 site?

Reg: Does Custom site definition created in SharePoint 2007 works in Sharepoint 2010

  

All,

If one has created a custom site definition in sharepoint 2007, Once the whole site is migrated to sharePoint 2010 will that "custom site definition" created in 2007 will work without breaking in SharePoint 2010?

If No, what has to be done to make it work on 2010.

Thanks,

Srini

 

 

 


Migration from WSS 3.0 & MOSS 2007 to SharePoint 2010

  

Hi All,

I am kiran and working on some migration project.

I am stuck with some basic questions,

 

1. I have got couple of hudred WSS 3.0 sites

2. I have got couple of hundred MOSS 2007 Enterrprise sites

I need to migrate both the above to SharePoint Server 2010 platform.

My Question is,

 

1. Can I directly migrate WSS 3.0 sites to SharePoint 2010 env? Is there any need to step up to MOSS 2007 and then to SharePoint 2010? Becuase all documentations talk about migrating MOSS 2007 to SS 2010.

Your help is appreiciated.

Also can you link me to some sound help links please?

 

Thanks,Kiran

 

 

 


Will workflows created in SPD for MOSS 2007 work in MOSS 2010?

  

I've started developing workflows using Workflow Designer in SPD, but some stakeholders have concerns that these workflows will no longer work or be able to be used when we upgrade to SharePoint 2010.

Are these concerns valid?


How to add custom styles to RSS viewer webpart in MOSS 2007?

  

Hi All,

How can I customize my RSS viewer webpart in MOSS 2007. I am talking about the styles like, alternate row colors, etc..

 

Thanks in advance...


Attach custom stylesheet to webpart in MOSS 2007

  

I have a custom webpart. I need to apply custom xslt into the rendered contents. How can I do that.

Thanks in advance.!


How can I add custom Search Paging webpart in the Search results page in MOSS 2007

  

I have created a Basic webpart page and added Content editor webpart to extend the functionality of Advanced Search webpart. This is working fine. Also added OOB Search Paging webpart int his page. But when the number of items returned by the Search Core results webpart exceeds the Page size (10) then when I click on the next link in the Paging webpart then all results are lost and retrieved from All Sites scope. Is there any way to hook into the Search paging webpart.?

Please note that in the Content Editor webpart I have used custom search scope.

I need help with regard to this.

Thanks in advance!.


MOSS 2007 to SharePoint 2010 Upgrade Fails - Object with Id 57bdacb5-31fe-4f4c-bdb3-3caf048474bd and

  

Ok apart from deleting these Classes and Objects what else can be done. Any one know a way around. Just to help you find them if you have a similar error look in the Classes and Objects Tables in the Offending database listed in the error message. In this error message below it is SharePoint_Config. How I found them,  yes its like looking for a needle in a hey stack see this post, very handly sql query.

I have a copy of a VM I can create again so I am going to try deleting these and if this works I will Answer my own post. This of course is unsupported and purely a hack hence why I am posting searching for enlightenment. Of course I have other errors so this may merely negate the first one.

http://soerennielsen.wordpress.com/2007/08/22/find-the-needle-in-the-sql-database/

 

[psconfigui] [SPConfigurationDatabaseSequence2] [INFO] [9/30/2010 3:44:42 PM]: SPConfigurationDatabase Name=SharePoint_Config
[psconfigui] [SPConfigurationDatabaseSequence2] [WARNING] [9/30/2010 3:44:42 PM]: Object with Id 57bdacb5-31fe-4f4c-bdb3-3caf048474bd and class id 92e1ba91-03dc-4d85-8978-8c6224d84d5e could not be deserialized. Most likely its type is no longer a sub class of SPPersistedObject.
[OWSTIMER] [UserProfileApplicationSequence] [INFO] [9/30/20

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend