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


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

(Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Re

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net
 

 I am trying to use ReportViewer 9 in Visual Studio 8 but I get this error when I try to run the page:

The base class includes the field 'ReportViewer1', but its type (Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Reporting.WebForms.ReportViewer).

Please help if you can!

Thanks




View Complete Post


More Related Resource Links

Microsoft.Reporting.WebForms.AspNetSessionExpiredException: ASP.NET session has expired

  
**A)** I have an asp.net page with a reportViewer control hosting a report in remote processing Mode. Whenever i would tried to export the report to excel or pdf, i could get the error      Microsoft.Reporting.WebForms.AspNetSessionExpiredException: ASP.NET session has expired I then came across this http://msdn.microsoft.com/en-us/library/ms178586.aspx and decided to resolve the problem by going with **SQL Server Mode** sessionState( http://www.nimbleuser.com/blogs/Knowledge_Base/knowledge_base/Installing/Configuring_the_Session_State_Database_for_Multi-Core_Web_Servers.aspx ) and the export problem was resolved. **B)** Now, i also have a completely different Windows Forms application deployed by ClickOnce deployment(.NET 3.5 SP1).  **In this windows application, i have a form with a WebBrowser control whose URL is the asp.net page mentioned in A above.**  Unfortunately, when the reportViewer asp.net page is displayed in the WebBrowser control which is on the windows form and i click the Export button, i get the error as in A above(`Microsoft.Reporting.WebForms.AspNetSessionExpiredException: ASP.NET session has expired` ). When i added the below code to the web.config file of the asp.net application, the problem was resolved     <sessionState mode="SQLServer" sqlConnectionString="server=myServer;UID=User1;P

Problem when installing Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint

  
Hi,

I have configured the SharePoint Production Server(Standalone) with WS 2008 64 bit version, SQL Server 2005 with SP3 , Visual Studio 2008 and MOSS 2007(SP3). I have configured SSRS 2005 in SharePoint integration mode. Everything works fine till the last step. Now, i am trying to install Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint Technologies feature and failed. I am getting below error message.

Product: Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint Technologies -- You must first install SharePoint Server before installing SQL Server 2005 Reporting Services Add-in for SharePoint Technologies



Any help will be very appreciated!

Thanks,
-Raj

Microsoft Report Viewer control to display data on one page

  

Hello everyone,

I am wondering if the Microsoft Report Viewer control allows for display changes.  Say for instance a user wants would like to see all the data requested then another time would like to toggle thru the pages of infomation.  So does anyone know if the control allows for display changes from complete view to paginated viewing.  I am using MS VS 2008 with ASP.NET 3.0.  Thanks for your response.

Tonya


How to make ContentPresenter Microsoft Surface compatible?

  
Hey Guys, I'm working on a an application for Microsoft Surface. I want to be able to detect contact events on an instance of the ContentPresenter class. I can detect mouse and keyboard event, but not contact events. I'm thinking I solve this by creating a dummy class that extends the SurfaceUserControl and has an instance of ContentPresenter. So all I have to do in my main app is to call the dummy class and I will also be able to access contact events. Sorry guys, I'm not a well versed programmer, forgive me if I have butchered some terminology. BUT any help is much appreciated. Thanks! Kedar  

Microsoft ListView Control 6.0 cannot correctly display multibyte characters when running on a 64 bi

  
With all the regional settings set to Russian and the OS being Russion the ListView Control 6.0 does not display the column headers correctly on the Windows Server 2008 64 bit OS. If we switch to using Microsoft ListView Control, version 5 the columns (text strings) are displayed correctly. I am concerned that using an earlier version is going to cause problems. Is there a better solution other than using version 5? Thanks!

The type or namespace name 'Portal' does not exist in the namespace 'Microsoft.SharePoint' (are

  
Hi, We are trying to migrate a console program (C#) from MOSS 2007 to SP 2010. Trying to build the program (Visual Studio 2008) results in this error message: "The type or namespace name 'Portal' does not exist in the namespace 'Microsoft.SharePoint' (are you missing an assembly reference?)" Then we tryed adding a reference for Microsoft.SharePoint.portal - but this class is not available in the dialog box 'Add reference'. Can anyone help - please.

The Type or namespace 'Sharepoint' does not exist in the namespace 'Microsoft'

  
Development Environment is VS2010 Project .Net Version 4 Sharepoint 2007 Sharepoint installation is not on my Development PC but a seperate server I have copied the Sharepoint DLLS to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI which is suggested in one link. I have set a reference to the Sharepoint DLL in this directory The demonstration application is as follows; using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.SharePoint; namespace SHConnectionTest{    class Program    {        static void Main(string[] args)        {            try            {                SPSite rootCollection = new SPSite("http://stg1tfs01");                Console.WriteLine("Root Collection found at {0} is part of Web Application {1}", rootCollection.Url, rootCollection.WebApplica

re: Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint Technologies

  
To have access to the webpart "report viewer for sql server reporting services" you can of course install Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint Technologies. My question though is, does your SharePoint 2007 server have to be running in integrated mode so as to be able to install and use the report viewer web part? Thanks.

System.TypeLoadException: Could not load type 'Microsoft.Office.Server.Security.LdapMembershipProvi

  
So this is odd, I am attempting to setup FBA with Sharepoint Foundation 2010 and i get the following Error: (from ULS log viewer): System.TypeLoadException: Could not load type 'Microsoft.Office.Server.Security.LdapMembershipProvider' from assembly 'Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) and in IIS Logs: Exception information:     Exception type: ConfigurationErrorsException     Exception message: Could not load type 'Microsoft.Off

The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=4.0.0

  

I get this error: The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" could not be located.  

I checked out these posts: http://forums.asp.net/p/1562439/3875469.aspx and http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/4c6fce15-c7d1-43e9-a7d5-5eeb6da2a70b

And added this to my web.config:

<system.codedom>
    <compilers>
      <compiler language="vj#;vjs;vjsharp" extension=".jsl;.java" type="Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A">
      </compiler>
    </compilers>
  </system.codedom>

But still I cant build my website....please help!





Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Object referen

  

Hi,

 i have a dropdownlist and Datagrid control on form. i wanted to refresh the grid

on changing  the DropDown OnSelectedIndexChanged, but when i do change

the dropdown value then it give me fallowing error message.

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object.

Can any one help me, how to solve this problem?

Code given below.

<table>

<tr>
            <td>
                <asp:DropDownList ID="ddColor" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddColor_SelectedIndexChanged"
                    Width="100px">
                    <asp:ListItem Selected="True">Red</asp:ListItem>
                    <asp:ListItem>Blue</asp:ListItem>
   &n

Forefront Identity Management Service does not support workflows of type 'Microsoft.ResourceManagem

  

I have a client that has a Named instance of SQL Server 2008 R2, as this can cause issues with the User Profile Service I have deployed the June 2010 CU to this SharePoint Farm. Farm consists of 1 WFE, 1 App and a SQL 2008 R2 cluster. While applying the June I also went ahead and deployed the August 2010 CU. This is a new environment and is still in the design phase.

Well on to the problem.

After these CU's were added we were able to configure the Profile import and everything is importing as expected.

But now the Event logs (Windows Application) are throwing a Forefront Identity Manager Event ID 3, every min, these are coming in groups of 2 with the same ID but slightly different messages.

Message 1:

Microsoft.ResourceManagement.Workflow.Hosting.WorkflowManagerException: Forefront Identity Management Service does not support workflows of type 'Microsoft.ResourceManagement.Workflow.Activities.SequentialWorkflow, Microsoft.ResourceManagement, Version=4.0.2450.9, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Message 2:

Microsoft.ResourceManagement.Service: Microsoft.ResourceManagement.Workflow.Hosting.WorkflowManagerException: Forefront Identity Management Service does not support workflows of type 'Microsoft.ResourceManagement.Workflow.Activities.SequentialWorkflow, Microsoft.ResourceManagement, Version=4.0.

Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown in SharePoint 2

  

i was trying to access list webservices using visual studio 2010 in SharePoint2010.

i written a simple console app to call getlist method

class Program
  {
    static void Main(string[] args)
    {
      try
      {
        ListsProxy.Lists newlistProxy = new ListsProxy.Lists();
        newlistProxy.Credentials = new System.Net.NetworkCredential("administrator", "Password1");
          //System.Net.CredentialCache.DefaultCredentials;
          
        
        XmlNode nodelistitems = newlistProxy.GetListItems("Blist", null, null, null, null, null, null); ( ----> when i debug error it throws exception here?)
        XmlNamespaceManager nsManager = new XmlNamespaceManager(nodelistitems.OwnerDocument.NameTable);
        nsManager.AddNamespace("z", "#RowsetSchema");
        nsManager.AddNamespace("s", "uuid:BDC6E3F0-6DA3-11d1-A2A3-0AA00C14882");
        nsManager.AddNamespace("dt", "uuid:C2F41010-65B3-11d1-A29F-00AA00C14882");
        nsManager.AddNamespace("rs", "urn:schemas-microsoft-com:rowset");
        XmlNodeList nodes = nodelistitems.SelectNodes("rs:data/z:row", nsManager);

        foreach (XmlNode node in nodes)
        {
          string str = node.Attributes["Customer Name"].Value;
          Console.WriteLine(str);

    

The document could not be opened for editing. A Microsoft SharePoint Foundation compatible applicati

  

Hi All,

I have a document library which contains doc files. Microsoft office is not installed over the SharePoint server. When I am opening the document file from any Windows 7 or windows server 2003 machine it is giving me following error. (The client machines have microsoft office installed.)

"The document could not be opened for editing. A Microsoft SharePoint Foundation compatible application could not be found to edit the document."

Now when I open the same document from XP machine every thing works fine.

It is nothing to do with Firefox or IE version I have checked with all and the results are same for all browsers.

I am started loosing interest in SharePoint for its unpredictable behavior. Developing a thing in SharePoint is 10% work and 90% debugging.

I hope I will get some result or atleast the reason for behavior.

Thanks,

Mahitosh Kumar


can't type a single key into login box Microsoft JScript runtime error:

  

I had to exclude several pages from my website to get it to run in vs 2008. When I finally got the home page to come up, I tried to type a character into the login box, and at the first character the probelm blows up:

Microsoft JScript runtime error: 'keyCode' is null or not an object

This is insanse. This is the page I'm on when it crashses. Does this have something to do with ajax?

<script type="text/javascript">
function onKeyPress (evt)
{	
	
	var keycode;

	if (window.XMLHttpRequest)
	{
		keycode = evt.keyCode;
	}
	else
	{	
		keycode = event.keyCode;
	}
	
	if(keycode==13){
	    document.getElementById('ctl00_PageContents_Ctrl_login1_btnLogin').focus();
	    document.getElementById('ctl0


 

 


Error occurred in deployment step 'Add Solution': An object of the type Microsoft.Office.InfoPath.

  

While trying to deploy custom SharePoint workflow solution in VS 2010, along with InfoPath custom task edit form, I ran into the following error message.

Error occurred in deployment step 'Add Solution': An object of the type Microsoft.Office.InfoPath.Server.Administration.FormTemplate named xxx already exists under the parent Microsoft.SharePoint.Administration.SPFarm named xxx Rename your object or delete the existing object

How can I resolve this problem? I have did some research but none helpful so far.

Thanks.


Blog: http://convergingpoint.blogspot.com/
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