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

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

ReportViewer webpart is not working after SharePoint 2010 upgrade

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

After upgrading to SharePoint 2010 and Reporting Services 2008 (separate servers), all our web part pages that have the ReportViewer web parts in them are not working.  The error we are getting is "Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe."  All the reports are working on the report server but not through the web parts.  We used Visual Studio 2005 to create these reports and they all work in MOSS 2007 that also ran Reporting Services 2005.  If we delete the web part with the error and put in the ReportViewer web part manually on the page in SharePoint 2010, the reports do work.  But there are too many reports to be doing this manually for every web part page.  We already tried making changes to the Handler Mappings but it did not resolve the errors.  As far as we can tell, all the DLLs are in the right places.  Any help or suggestions would be greatly appreciated.  Thanks.

View Complete Post

More Related Resource Links

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 - "My Inbox"(OWA) webpart not working with Exchange 2010

Hi, I'm trying to setup the webpart "My Inbox" (OWA) in SharePoint 2010. It works when connecting to OWA running exchange 2007, but failes with error 400 not found when connecting to OWA running Exchange 2010. The error appears after logging in.  I'm using this url: https://<exchangeserver>/owa I assume that this should be supported by Exchange 2010, but it seems to fail using this parameter /?cmd=contents. Any suggestions?   Best regards, Petter

ReportViewer failing inside Visual WebPart in SharePoint 2010


I have a ReportViewer control inside a VS2010 Visual WebPart deployed in SharePoint 2010.

If I put the report inside an iFrame it works fine (just setting the src = the URL of the report).

If I put it into a ReportViewer I get:

The request failed with HTTP status 401: Unauthorized

There is a script error as well:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0E)
Timestamp: Thu, 25 Nov 2010 16:31:21 UTC

Message: Sys.ArgumentNullException: Value cannot be null.
Parameter name: panelsCreated[3]
Line: 129
Char: 12
Code: 0
URI: http://sp1/ScriptResource.axd?d=-xH2htwpSITFBSwbFV7VDS5Q9mmVEgTgSvuk8Jnd0Aqfw1cDpd2fSDrxiYgThtNQaq_myOFBHF5amI3fSpKyzWC4_s-HZtrKUr2-4SPgMT-QTYS4o9bFW4nEbGrr672JSI6F-Bj9IwIMCeRG3jk4zDu2TszO2ivKeIwAwEZMMVRfONWH0&t=5c2f384e

I have deployed the webpart to a standard web application and it works fine.

Here's the entirety of the code (or the bit that matters)

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


How to upgrade from Windows SharePoint Services 2.0 to SharePoint Foundation 2010 after mistanely de


I need a detailed instruction on how to upgrade From Upgrading from Windows SharePoint Services 2.0  (SBS 2003 ) to SharePoint Foundation 2010.

Background of the case:

I have all my databases (STS-database and STS_Config) saved but, I forgot to save my Virtual Site )Companyweb site) and I mistakenly re-installed IIS on the SBS 2003, hence  I lost the companyweb site. Is this an issue to migrate to Sharepoint foundation 2010. The Sharepoint foundation 2010 is running on a Microsoft HyperV Server 2008 R2
Also, I have created a Virtual 2003 SRV ENT with Sharepoint Services 3.0 running on it. I also have attached my Databases STS_Database and STS_Config)... how do I get it working like a regular website. I have modified the CNAME record to reflect the new server... http://companyweb - it take me to the new site but it loads a blank page. I did create a new CompanyWeb Virtual site on the VHD 2003 server.
Your help is greatly appreciated.

Thanks for your prompt response. Nelson

how do i create a webpart for sharepoint 2010 that allows users to create their own subsite..



how do i create a webpart for sharepoint 2010 that allows users to create their own subsite..

for e.g..

i create a webpage in vs 2010 which allows users to create their account by specifying username and password..and make it a webpart and after that for that user a subsite should be created under sharepoint 2010 top level site.....how could i achieve that..

SharePoint 2010: Upgrade Resource Center (Developers)

Are you ready to move to SharePoint 2010? Learn about upgrading customizations and reusing your code.

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.

Preparing for SharePoint 2010 Upgrade Today

The SharePoint product team has provided guidance on a number of items that can help organizations prepare, and Service Pack 2 includes a key tool that can provide additional insight and configuration information. This paper, by Quest SharePoint senior architect and evangelist Joel Oleson, walks you through using this key tool and offers major items to consider as you prepare for a SharePoint 2010 upgrade.

PowerShell script to add/edit ContentEditor webpart on SharePoint 2010

Hi all, I'm new to PowerShell scripting with SharePoint. Following are the requirements that were given to me. Can any one direct me in the right direction interms of writing the script and how to save and execute the script? I am aware of Cmdlets. 1. Cycle through all sites in site collection 2. For each site, retrieve all document libraries 3. Look for specific CMV document library name (ie value communication, key business drivers, etc)          o add content editor web part if doesn't exist          o add/update appropriate description based on the document library name Thanks in advance...

HTTP Error 500.19 - Internal Server Error after SharePoint 2010 In-place upgrade

Hello We have done an SharePoint 2010 In-Place Upgrade. After the upgrade, we can access the Central Administration page without problems. However, when accessing the standard http port 80 site, the following error appears: Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.   <fieldset><legend>Detailed Error Information</legend> Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x80070032 Config Error The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration Config File \\?\C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config Requested URL http://coolsharepoint:80/ Physical Path   Logon Method Not yet determined Logon User Not yet determined </fieldset> <fieldset><legend>Config Source</legend> 534: </location> 535: <system.web.extensions> 536: <scripting> </fieldset>

Cannot crawl sharepoint site and mysite after database attach upgrade form sharepoint 2007 to 2010.

After database attach upgrade site and mysite from sharepoint 2007 to 2010 , I have full crawl and get "The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly. If the repository was temporarily unavailable, an incremental crawl will fix this error. ( Error from SharePoint site: HttpStatusCode ServiceUnavailable The request failed with HTTP status 503: Service Unavailable. )" for mysite and get "Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled." for sharepoint site. The content access account for search is "db_owner" of both of site and mysite. How do I solved this problem ?

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?

When Upgraded a site from Wss 3.0 to Sharepoint foundation 2010, subsites are not working

HI ALL, I recently migrated an old Sharepoint site from WSS 3.0 to Sharepoint foundation 2010. There were no problems during the upgrade and the stsadm command displayed the message that upgrade completed successfully. However when I am accessing the sub-sites from outside the server, I am able to see the content, but when I go to Site Settings, I get an error "File not found". Also the Views for the sub-sites are not working. However on accessing the sub-sites from the Server everything is working fine. Can anyone please help me?  

Cannot access parent site list from subsite in XSLt List View webpart in sharepoint designer 2010

Hi    We are using sharepoint 2010  for internet facing sites for our big client in healthcare domain .  I am using XSLT list view webpart in sharepoint designer 2010 for retrieving contents from sharepoint list & displaying it by using XSLT List view webpart in publishing sites. We are having lot of list in rootsite collection, If i am creating pages by using XSLt list view webpart in root site collection I can access the list,View and Display in Pages by XSLT List view webpart. Now the requirement is i have to access the list in roosite collection(parent site) from subsites.  In Sharepoint designer 2010, while i am inserting XSLT list view webpart, i could not find datasource to access the list that exist in rootsite collection(Parent site) from subsite. Below is the the code i am using for accessing the list& view from parent site & creating the pages in parent site by using xslt list view webpart,now i wants to access parent site list from subsite by using XSLT list view webpat in subsite pages.  Pls let me know what i have to change in the code level <WebPartPages:XsltListViewWebPart runat="server" Description="The list for the conditions details" ListDisplayName="" PartOrder="2" Default="FALSE" HelpLink="" AllowRemove="True" IsVisible="True" All

Meeting Workspace unusable after SharePoint upgrade to 2010

Hello, We recently took a content database from MOSS 2007 and attached it to a SharePoint 2010 farm that uses a different DNS name. Now, there's a user who had a recurring meeting configured in Outlook 2010 with a meeting workspace  who can no longer use the workspace now that it only exists on SharePoint 2010. She tried removing the link to the old workspace from her recurring meeting and adding a new location using the new URL, but she gets a message saying a workspace already exists at the site. Obviously it does, but the meeting in Outlook is the same meeting. Is there any way to re-connect the Outlook meeting with the meeting workspace that exists on the new SharePoint 2010 server? Thanks.

How to debug silverlight webpart in sharepoint 2010.?

Can i debug the zap in sharepoint.?
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