All About SharePoint

Liedong(Ken) Zheng,SharePoint Leader at SIMPLOT

xxx does not implement IReportServerConnection or could not be found at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface in SharePoint

Posted by ken zheng on November 4, 2009

If you create a custom viewer and add in your web.config.

<add key="ReportViewerServerConnection" value= ...>

You will find your Site Ussage report will not working and throw error with your assembly does not implement IReportServerConnection or could not be found. The problem is when you inherit the viewcontrol or IReportServerCredentials you reutrn null on the NetworkCredential. Add below code:

public ICredentials NetworkCredentials
    {
        get { return new NetworkCredential(m_userName, m_password); }
    }

More details on Custom Credentials in the Report Viewer

About these ads

2 Responses to “xxx does not implement IReportServerConnection or could not be found at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface in SharePoint”

  1. Where did you learn to think that way? We can all benefit from your wisdom.

  2. Hi there!

    Couldn’t find the contact email address, so I am asking about this as a comment.
    I would be happy to put a banner on your blog, please let me know if it’s possible and what your rates are. Willing to start immediately.

    Regards,
    Zoltan (lorinczi_zoltan@yahoo.com)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 28 other followers

%d bloggers like this: