ActiveReports 9 Server
ServiceProxyBase Class
Members  Example 

The ServiceProxyBase class allows you to specify report server connection and authentication information for the ASP.NET controls. You can specify the server host name and endpoint, user name, and password.
Object Model
ServiceProxyBase Class
Syntax
'Declaration
 
Public MustInherit Class ServiceProxyBase 
public abstract class ServiceProxyBase 
Example
Paste INSIDE the Application_Start event.
ReportServiceProxy.ResolveRemoteEndpoint += ResolveRemoteEndpoint;
Paste in the Global.asax file on the line BELOW the Application Language line.
<%@ Import Namespace="ActiveReports.Server.ReportControls.Servicing" %>
Paste in the Global.asax file AFTER the Application_Start event.
static void ResolveRemoteEndpoint(RemoteEndpoint remoteEndpoint)
    {
		if (SessionStorage.Address == null)
        {
            return;
        }
       
        remoteEndpoint.Address = SessionStorage.Address;
        remoteEndpoint.SecurityToken = SessionStorage.SecurityToken;
    }
Inheritance Hierarchy

System.Object
   ActiveReports.Server.ReportControls.Servicing.ServiceProxyBase

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ServiceProxyBase Members
ActiveReports.Server.ReportControls.Servicing Namespace

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum