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


Top 5 Contributors of the Month
david stephan
Santhakumar Munuswamy
Asad Ali
Fauzul Azmi
Post New Web Links

test-spcontentdatabase reports missingWebPart, but the page with the webpart has been deleted

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

I'm testing a MOSS2007 --> SP2010 migration - took a backup of a site collection db, attached it to the new SQL server and ran test-spcontentdatabase against it.  it reported several custom webparts as not being installed on the new farm.  I deleted the pages containing those webparts from the production MOSS sites, and then deleted those pages from the recycle bin - but test-spcontentdatabase still reports those webparts as being referenced.  Searching the database directly does find references on the pages I deleted in the WebParts table.  When I join the WebParts table with the AllDocs table I see the deleted pages referenced - but they don't exist (that I can tell) either on the site or in the recycle bin.

How can I get these items out of the report? 

Thanks

-John




View Complete Post


More Related Resource Links

Accidentally deleted webpart, need to get it back or redo page (tried to add page, but rich text box

  

I just need to get the web part back! I accidentally deleted it! Please help!

 

If there is no way to do this, I could start over. I tried to add a new web part but the "Rich Text Box" isn't showing up in the "Content Query Web Part" box.

 

HELP ME! I NEED TO GET THE WEBPART BACK!!!!!


How to Create Page layout only for webpart zone

  
HI Guys, I want to Create Page layout for Publishing site in SP2010 so do i need to create Page Layout Based on Page content Type ? i have created page layout based on Page content type but when i save page i got error Invalid SPListItem. The SPListItem provided is not compatible with a Publishing Page. Please assist me.   Thanks Ronak Thanks Ron

Add webpart programmatically to page in sharepoint

  
Hi How to add webpart programmaticaly in sharepoint ? CheersMomo

How to create a custom webpart - similar to page viewer webpart but one that will be able to get a p

  
we want to pass a link to moview items from a list, the page viewer seems god to display the movies but it doesn't support connections....?

Custom webpart displaying Reports from Reporting service

  
Hi          I created a report in VS 2008 and deployed to reporting service. Then when I access this report through a custom webpart some of the cell borders are getting disappeared from inside the table control. Even the cell is not getting misaligned within the cell. But the same report when I retrieve through ReportViewer builtin webpart. Its displaying without any issues. How do I fix such issues?

view mht file in page viewer webpart

  
Hi, I use infopath template to publish weekly news to our corporate intranet. On my sharepoint 2007, everything work fine. but on my SharePoint 2010, it's not the same result. I have upload the template on my site. Create the news and save it. At that point it's good. Next, I open the xml file in InfoPath 2010 and export to web as mht file. Then on my site home page, I add webparts "Page Viewer" and paste the link to see this mht. The problem is when I go on the site, it's always a pop-up ask me to download it (Save or Cancel). I'm not able to see it in the page. On my 2007 it's work fine. Did someone have any idea to resolve my problem ? MOSS 2007 IIS 6 windows 2003 MOSS 2010 IIS 7 Windows 2008 x64 SP2 Thx to allDavid

How to add Metada Navigation (taxonomy tree and key filter) to new webpart page

  
Hi all, can anyone tell me if it's possible, and how, to use a Metada Navigation control (taxonomy tree and key filter) in a webpart page created like there are in the list pages. I was looking to add such a control and connect it to 2 listview webparts. Thanks in advance!  

Add a title to a new webpart page

  
Hi - I've created a publishing site in sharepoint and now I want to create a page which with a webpart - the problem is that unlike all the other pages - there is no "Title" displayed. There is no way to add a title above with all the blank space. I'd rather not use the content editor to add a title - since the look of this page will change from the other pages.Has anyone tried to add a title in that "blank" space before all the webparts begin?ThanksDR

how to print Test-page on default Printer ?

  
hi how to print Test-page on default Printer  using C# Winform Code ? thank's in advance

Custom webpart with linqQuery works on all sites but not on the "my profile" page in the overview ta

  
Hi, I created a publication site and in that site i created pages with specifique metadata (using a pagelayout with a custom content type)0. My webpart is getting data from those pages and displaying it. My webpart works on every page except on the "my profile" page(overview tab). I get the following error: Invalid Url: /TestSites/course I used the SPMETAL to create a class and i'm using this class to retrieve the data from the pages (with linq). The url i give to the entity is http://pcp/TestSites/course  this works fine on every site except on the my profile page. Can anybody help me? Here is the code i use to retrieve my data: EntitiesDataContext ctx = new EntitiesDataContext(courseSite); //Code below gets only the pages with a courses contentType. //EXCEPTION TRIGGERT ON THE FOLLOWING LINE IF IN PROFILE PAGE EntityList<Courses> course = ctx.GetList<Courses>("Pages"); //Writing the query to get the correct pages(with the course page layout only! var Query = from myCourse in course.ToList() where myCourse.CourseParticipants.Contains(myWeb.CurrentUser.LoginName) Select new{myTitle = myCourse.CourseTitle, myCompany = myCourse.Company, myPath = myCourse.Path, myName = myCourse.Name }; Thx.

Custom Webpart not working on "My Profile" page but works on all other pages. Linq Problem?

  
Hi, I created a publication site and in that site i created pages with specifique metadata (using a pagelayout with a custom content type)0. My webpart is getting data from those pages and displaying it. My webpart works on every page except on the "my profile" page(overview tab). I get the following error: Invalid Url: /TestSites/course I used the SPMETAL to create a class and i'm using this class to retrieve the data from the pages (with linq). The url i give to the entity is http://pcp/TestSites/course  this works fine on every site except on the my profile page. Can anybody help me? Here is the code i use to retrieve my data: EntitiesDataContext ctx = new EntitiesDataContext(courseSite); //Code below gets only the pages with a courses contentType. //EXCEPTION TRIGGERT ON THE FOLLOWING LINE IF IN PROFILE PAGE EntityList<Courses> course = ctx.GetList<Courses>("Pages"); //Writing the query to get the correct pages(with the course page layout only! var Query = from myCourse in course.ToList() where myCourse.CourseParticipants.Contains(myWeb.CurrentUser.LoginName) Select new{myTitle = myCourse.CourseTitle, myCompany = myCourse.Company, myPath = myCourse.Path, myName = myCourse.Name }; Thx.    

Organization browser webpart on any webpart page

  
Hi there, has anyone got the organization browser to work on any webpart page (e.g. default.aspx)? It does work in the MySites, but not in a "normal" site collection. Cheers, Andi

Sharepoint - Webpart doesnt deploy - stsadm reports deployment 'successful'

  
Hi,

MOSS 2007 :)

I am having problems deploying a webpart..
This webpart was successfully installed and deployed on a similar environment with no problems. However when trying to deploy it in its intended site it's having some strange problems..

1. I installed the webpart to the server (through stsadm) - return message "Operation completed successfully."
2. I deployed the webpart to the intended site - return message "Operation completed successfully."
3. I performed an IIS reset and navigated to the 'site features' area to find no trace of the webpart to activate.

I ran the 'stsadm -o enumsolutions' command to view the solutions that are deployed, and I see my webpart here:
   
  <Solution Name="solutionname.wsp">
  <Id>ID-here</Id

Webpart comes with old results as page is being cached

  

Hello All

I am developing one website and made below mentioned configuration for enabling caching for Anonymous User.

1)  Created a cached profile and enable caching, set cachebility as ServerAndPublic and kept duration of 180 seconds

2)  Applied this cache profile to "site output cache ->Anonymous Cache Profile ->  Select a page output cache profile"

Due to the above configuration pages in my site are getting cached for 180 seconds.

Now i am having one webpart on home page but each time i hit the page it gives me cache results in that webpart and do not postback to server and bring new results

I want to have server trip for that webpart compulsory as there are certain business conditions applied and if it will not postback those condition will not apply and webpart will not function properly or render properly according to condition.

Can anybody give me solution for this so that page/webpart postback and the serverside code executes.

Thanks & Regards

Mrugank Dholakia


Crystal reports group wise printing in new page

  

Hi,

Greetings,

i have one problem in crystal reports.i made one group with accounthead.i want to print each account head in new page.please give me the best solution for this task.

Thanks in advance,

rj1980


Exception loading page with Ajax enabled WebPart/UserControl ?

  

 

The AjaxControl Toolkit has been configured onto our SharePoint 2007 Server, however when we bring up a page with a WebPart+UserControl, we get the following exception:

 

[4300] Exception Loading CPI RPI WebPart: System.Web.HttpCompileException: c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a112516a\152cc84\App_Web_cpirpicalc.ascx.57bd6353.duu1hbuu.0.cs(138): error CS0433: The type 'AjaxControlToolkit.ToolkitScriptManager' exists in both 'c:\Windows\assembly\GAC_MSIL\AjaxControlToolkit\3.5.40412.0__28f01b0e84b6d53e\AjaxControlToolkit.dll' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a112516a\152cc84\assembly\dl3\4bec602a\25bcac65_13efca01\AjaxControlToolkit.DLL' 

 

The userControl+Ajax Portion of the WebPart works correctly when brought up under ASP.NET but not SharePoint.  

Is there anyway to force this to go to the correct version?

Thanks,

Nikos

 


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