.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

The connection type is not compatible with any other web parts on the page

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

Is there anyway to determine which interface a webpart uses for connection?

I have a custom web part, implementing the ICellConsumer interface, and I am trying to send values to the SPVisibilityFilter webpart, available here http://spvisibilitywebpart.codeplex.com, which seems to be implementing the ICellConsumer interface as well.

Yet, I still keep getting "the connection type ' is not compatible with any other web parts on the page", when trying to connect the web parts on the page. What am I missing?

View Complete Post

More Related Resource Links

What doc type is used in .Net page to make it W3C compatible


 Can any one help what document type & HTML should be used in .Net page to make it W3C compatible so that it can pass the W3C validator check ???

Can single CMS (.Net) can be used for multiple domain names ???

How can we do without sub domain ???



reference from menubuttons to text parts in article on the same page


Hi, I'm searching now for hours but couldn't find it.Cry

In my menu i have several buttons which (by a <a href..) should go the a part of an article that is in the same form.

Menu button : What is a database should go to the page default.aspx and in there is an article published.
A part of this article is having a piece of text about "what is a database"

Menu button: how to make a query should go to this same article in the same page but then to the part that is have the piece about the query. The next could be an example of what i'm doing:

    <li><a href="default.aspx ?????>what is a database</a></li>
    <li><a href="default.aspx ?????>what is a query</a></li>

Where my question marks are, there should be a connection to that particular piece of text.
In each article part there is an ID="text1" and the second part id="text2"

How shoudl i do that, Should i use a question mark.
Please give me some guidance how to structure the <li> statement or a pointer where I can read about it.


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


 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!


SharePoint 2007 - Consolidating everything as feature into WSP [Content Type, Page Layout, Pages, Ma


Hello –


Overview – We are building a Mobile Web Site using SharePoint 2007. The big screen site has been already built and we need to integrate the mobile site into same site collection of big screen –


·         The Mobile site will use the existing content types of existing big screen site

·         We will build a new custom Master page

Filter web parts in new form page of a list



I've created 2 custom lists. The 2nd list has a lookup column from the 1st list. In the new form page for this 2nd list, I've added the 1st list as a web part. Now, I want to connect the 2 web parts, but it's not available. Basically, what I wanted is that when I select an item on the lookup column, the webpart containing 1st list would show that item on the same page.

I think I'll need to use Sharepoint Designer to implement something like this, but just wanted to check if anyone has done something like this using browser only.



The type of page you have requested is not served


I am trying to do maintenance on an existing web site.  I have loaded Visual Studio 2005 on a machine that already has IIS version 6 installed.


The site uses  only classic ASP pages (no aspx).


When I attempt to run the site from within VS, the browser opens to "http://localhost:1647/yourDev/yourpage.asp" rather than the expected "http://localhost/yourDev/yourpage.asp".  This error message displays:

Server Error in '/yourDev' Application.

Create buttons for "new item" which create a new page of a specific content type

We have a Pages library (wiki) which supports a few content types (and page layout associated). We want to enable users to click a button for example of "new custom enterprise wiki page" - so a new page of content type article will be open in edit mode. Can someone help how to develop? (it has to mimic the behavior that happens when user creates new page from the Ribbon or Site actions and has to choose the content type, it also has to keep the new page in edit mode and not just create it).  

Unable to enter the product key in the Convert License Type page (textbox is read-only)

We installed both WSS and MOSS SP2 and had planned to follow the manual fix for the known issue that the patch unexpectedly activates a trial expiration.  However, the textbox to enter the product key is read-only.  We have tried accessing this page using the normal administrator credentials as well as the farm account; no success.The SP2 issue and manual fix is detailed here, http://support.microsoft.com/default.aspx/kb/971620We were able to experience this problem on a farm running the Feb 2007 cummulative patch (version so it's not related to the SP.  But running the SP increasing the need to find the fix.Any help is appreciated,J. Aqui

SSIS Excel Connection Manager Data Type Conversion Issues with SS Agent Job

Hi All! I have an issue I've been trying to fix but can't seem to figure it out. I was hoping a kind person would point me in the right direction. :o) I have an SSIS package that uses an excel connection manager source, and I want to run this package through a job scheduled in the SQL server agent. The data types for the excel file fields are 2 (DT_WSTR) and 5 (DT_R8). When I run the package directly through the SSIS package (VS solution) all of the data fields are properly imported into the database table. But...when I run this package through the SQL server agent job, ONLY the string (DT_WSTR) fields in each row are being imported, all of the float fields are imported as NULL. I set the data types for these float fields as "float" in the SQL server import table (data type). Even though the excel source float fields are indicating a type of DT_R8 in the excel connection manager and I set the data types in the SQL server table to "float", I also used the data conversion component and set the type to "float" as a fail-safe. I guess I should add to that the data access mode in the excel connection manager is using a custom code to select only those columns that I needed and to trim rows that I didn't need. Here's my code that I have in the excel source editor: select f1, f2, f3, f5, f6, f7, f8 from [mdo$] where f2 <> 'Rep Name'

Field type Choice is not installed properly. Go to the list settings page to delete this field.

Has anyone received this error message and know how to deal with it? Field type  Choice  is not installed properly. Go to the list settings page to delete this field. I have received this error three times now, once when trying to add a 'List Definition From Content Type' in Visual Studio twice when trying to add from existing site columns in Sharepoint in the list settings and library settings from the ribbon from a list and a document library.

Filtering web parts without reloading the whole page

I don't know if this is possible or not, but I am going to ask anyway. I have several performancepoint reports on one page, all connected to different filters. I was wondering if there is a way to make only the report you are changing the filter on reload.  For example, I have a census of people that uses a time intelligence filter to show different periods of time.  If someone selected, "Last Six Months," on the filter, I would like just that census report to reload, as opposed to the whole page, which has to reload about 5 other reports. Is there a way to do this?

Form opening in infopath client despite Content Type settings "Display as a Web Page"

Hi all,   I have a strange behavior with my forms. The infopath template is defined as Content Type for my Form library, in the advanced settings I have checked "Display as a Web page" for the "Opening browser-enabled documents" setting. Despite that when the client is availble on the computer which is browsing the Form Library, I'm asked to "Open", "Save" or "Cancel" instead of opening the form in the browser.   Any idea why this is happening ?

Add a "Shared Documents" type documents browser onto an aspx Application Page?


I have an aspx page for a user to fire off a mail merge. I'd like them to choose a .html file from a document library in Sharepoint, then choose a contact list, and then have it fire off the mail merge.

The mail merge part is done and works from a console application with the .html file location hardcoded, and the contact list hard coded.
What I need is a way to add a documents browser onto the .aspx page. I can't see any obvious control I can drop on to achieve this though.

Ideally I would drop on a <Sharepoint:DocumentsBrowser> control, point it at a given ListId in sharepoint, and at runtime Sharepoint would display a nice shared documents type documents browser. Is this possible?

I wrote a book :) http://www.amazon.com/Microsoft-Visual-Studio-2008-Programming/dp/0071604081

spmetal generated class and content type (for page layout) retrieve problem


I'm working with a console application to generate my sites and subsites (hierarchy). And i've got a problem with a generated spmetal class.


this doesn't work:


static void Main(string[] args)


            string SITE = string.Concat("http://"Environment.MachineName);         



Getting connection error to a database when page loads...occasionally...


So occasionally after a run to the database I am getting the following error;

A connection was successfully established with the server, but then an error occurred during the login process. (provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.)

It always happens after this query is executed during a page Load:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        myconnection = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True")
        myda = New SqlDataAdapter("Select * from diaryDates", myconnection)
        myda.Fill(ds, "diaryDates")
    End Sub

What does the error mean and how can I resolve it ?

Inherited Page class type confusion


I have a single top-level window that holds a single object--a Page. I want the main window to resize based on the client area size (i.e., the Page size). I am doing this by having the main window resize property SizeToContent="WidthAndHeight".

My Page definitions:
    public class PageHelper {
        static public PageWelcome oPageWelcome = new PageWelcome();
        static public PageHelp1 oPageHelp1 = new PageHelp1();
        static public PageHelp2 oPageHelp2 = new PageHelp2();

If the user resizes the window, it should be easy enough adjust the size of the content Page (I haven't written the code yet). But what do I do when the user goes to a new page after resizing the window? It seems that I can either (1) resize all the pages when the user resizes the window, even the ones that are not active :(, or (2) I can make sure the new page is the right size when the user tries to go to it. :)  But I am having trouble with the latter approach.

I made my own Navigate function I call ACNavigateToPage which I want to call instead of calling Navigate when the user wants to go to a different page.

    public partial class WindowMain : NavigationWindow {

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