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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Working on a solution targeting SharePoint 2007 and 2010

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :SharePoint


I'm working on a SharePoint webpart which i'm targeting for both SharePoint 2007 as well as SharePoint 2010. I want to create a common build to make it work in both SharePoint 2007 and 2010. How should i do that? I'm working on Visual Studio 2010 and my dev environment has SharePoint 2007 installed.

Also, multiple developers may work in the same solution. Some of them have 2007 installed and some have SP 2010 installed. Will it work?

Visit SharePoint User group - India

View Complete Post

More Related Resource Links

In sharepoint excel working fine in office 2007 but not in office 2010


Hi All,

we receive error  while trying to create excel sheet using the template we have uploaded on the SharePoint 2007.


This occurs on a machine that has Office 2010 installed. Earlier the machine had Office 2007 and everything was working fine.


Can you let me know why is problem is coming and how to resolve this.



Sanjeev Tiwari


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

Need to design geocluster sharepoint solution for both 2007 and 2010

Hello, I need to have both remote datacenter (chicago and new york) to run active / active SP application. User in Chicago should use node in Chicago and user in Ny should use node in NY.  if a datacenter fail user in both chicago and NY should be able to continue to work using data from the available datacenter. Can anybody let me know where to find design to have geocluster solution for SP 2007 and 2010. Also if you have technical information to allow this type of desin this would be great? Thanks for your help guys  

Office 2010 working with SharePoint 2007 Server

We have recently started migrating users to Windows 7 Pro and Office 2010 RTM.  Upon our first try at opening a word or excel doc from a sharepoint site, we found that it gives us the option of Edit or Read Only (by the way, we are using IE8 as browser).  After clicking either option and clicking ok, the word or excel program launches, but all we end up with is just a blank shell of the program....no document or spreadsheet.  Any ideas ?  Is this a compatibility issue with Office 2010 and SharePoint 2007 ??

Explorer View within Sharepoint 2007/IE7 stops working when activating an Office 2010 install.


Has anyone else experience this issue:

Office 2010 is installed on a machine with IE7 running on it.

Explorer view within Sharepoint 2007 and IE7 works fine

Office 2010 requires a product key change from a temporary key from the initial install to a permenant key.

The permenant key is installed and suddenly Explorer view within Shrepoint stops working?

Will my customization on SharePoint 2007 be retained after upgrading my solution to SharePoint 2010

I have implemented lot of custom features, branding , themes for my custom sharepoint solution. I have also included lot of file system changes in 12 hives.
Will my customization on SharePoint 2007 be retained after upgrading my solution to SharePoint 2010.
-Puneet Mishra

Office Space: Solution Deployment with SharePoint 2007


WSS 3.0 introduces a new deployment mechanism that lets you move your development efforts into a staging or production environment.

Ted Pattison

MSDN Magazine August 2007

Sharepoint 2007 Search Not Working


I am pulling my hair out guys. I have tried everything i could find from this site and all other sites but have not been successful. No matter what i do I cannot get the search to work. We are using SharePoint 2007 and the search had been fine but our security team performed some patches and now I’m stuck with a dead search feature.

Any help would be immensely appreciated.

Things I have tried but did not resolve the problem:

1. Check all accounts and passwords

2. Run the SharePoint Products and Technologies Configuration Wizard

3. Reboot server reset IIS

4. Try to rebuild the index but that also fails

5. Check the Content Access Account

Sharepoint 2007 and Excel 2010 features


Does Sharepoint 2007 Server support the new Excel 2010 feaures like slicers? Or do i have to have Sharepoint 2010 to get that working (considering all other components besides Sharepoint 2010 are available in my Sharepoint 2007 environment) ?

- Thanks



Discussion board template of SharePoint 2007 not working properly


Use case 1 – Discussion board to suggest change to documents

 User adds a suggestion. The discussion board needs fields like module name, document name, section name and reason for a change etc.


 Problem 1 – When I try to add fields to the discussion board – When a user wants to post a reply to a suggestion, user screen shows the new item form and all fields instead of just a reply or comment field. Need help how can I ensue user only sees reply or comment field?


 Problem 2 – If I make these changes in the discussion board template through SharePoint designer 2007 and later if we plan to upgrade to SP 2010. Do I have to redo the changes I did on old discussion board or will upgrade take care of migration of the changes to new discussion board template available with SP 2010? 




Quick Note: Working with the SharePoint 2010 Ribbon User Interface

Learn to extend the Microsoft SharePoint 2010 ribbon by adding a custom button that executes server-side code.

Video: Site Collection Solution Galleries in SharePoint 2010

This demonstration shows the solution gallery and solution management features of SharePoint 2010. (Length: 4:01)

Video: SharePoint 2010 Solution Deployment in Visual Studio 2010

This video delves into the details of packaging and deployment for SharePoint solutions in Visual Studio 2010. (Length: 9:16)

SharePoint 2007 Expiration Policy Not working : Access denied for the site


I have a SharePoint 2007 List with Expiration Enabled in Information and Policy Management. I have a datatime column ExpiryDate which i used in Expiration. On Expiration I have chose to delete the item. Through Central Admin I run the expiration by clicking "Process Expired Items now" button. I got the following error in the Windows event viewer.

Expiration Service for site http://md-rmanimaran failed.

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

EventID: 5016

Category: Information Policy Management 

Where I need to specify the login details to get rid of this error? Anybody Please help..




FullTextQuery not working after upgrade to SharePoint 2010

I have a function   Public Function QueryEx(ByVal webUrl As String, ByVal queryXml As String) As DataSet     Dim ds As DataSet = Nothing   Try   Dim myCredentials As NetworkCredential = CredentialCache.DefaultNetworkCredentials sws =   New SearchService.QueryService sws.Url = webUrl &   "/" & webServiceName   CType(sws, SearchService.QueryService).QueryEx(queryXml)     Catch ex As Exception lblDebug.Text =   "QueryEx: " & ex.Message pnlError.Visible =   True ds = Nothing   Finally sws.Dispose()   End Try   Return ds     End Function and passed the following full text query wrapped in the appropriate xml SELECT FileExtension, Filename, EffectiveDate, Title, Author, State, PolicyType, ApplicationType, PolicyNumber, ClientCode, CreatedBy, Created, ModifiedBy, LastModifiedTime, Path FROM portal..scope() WHERE ("SCOPE" = 'MyDeptScope') AND "IsDocument" = 1  AND ("Filename" LIKE 'Sub%') this worked in SharePoint 2007. We upgraded to SharePoint 2010.  I have all the managed properties setup the same on both versions.  I had to modify the query to get past one error I was receiving to SELECT FileExtension, Filename, EffectiveDate, Title, Author, State, PolicyType, ApplicationType, Pol

Sharepoint 2010 look and feel same as 2007

Is it possible to have the same look and feel/theme of sharepoint 2007 in SP 2010? Even when you upgrade from 2007 to 2010, how can you retain the default look and feel of 2007 in your new SP 2010? thanks.

How to create single wsp for multiple projects sharepoint 2010 solution

We have multiple projects (4 projects) in single sharepoint 2010 solution. We want to create single wsp deployment for this. But when I right click on any project, it creates package means wsp on its own. How to create single wsp for multiple projects sharepoint 2010 solution? Is wsp builder which we are using for sharepoint 2007 project (works really great) also works in sharepoint 2010?
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