Skip to Content
Former Member
Aug 10, 2005 at 11:08 AM

Fail to execute my portal application .


Hi all.

I am using SAP Portal Add-in 1.0 Patch 3 for Visual Studio 2003 with SAP Portal Runtime 1.0 Patch 3 for Microsoft .NET and SAPDotNetConnector2.0.

Function filter of SAP R3 destination is succesfully created and my RFC enabled function is successfully

assigned to this filter.

I deployed this application successfully on portal

when i excute this par file it gives me error.


Server Error in '/EPApp1400' Application.


The key 'portalDestination1.SystemAlias' does not exist in the appSettings configuration section.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The key 'portalDestination1.SystemAlias' does not exist in the appSettings configuration section.

Source Error:

Line 74: this.portalDestination1.SystemAlias = ((string)(configurationAppSettings.GetValue("portalDestination1.SystemAlias", typeof(string))));

Source File: c:\portal application\conferbook\portalcomponent1.ascx.cs Line: 74

Stack Trace:

[InvalidOperationException: The key 'portalDestination1.SystemAlias' does not exist in the appSettings configuration section.]

System.Configuration.AppSettingsReader.GetValue(String key, Type type) +470

ConferBook.PortalComponent1.InitializeComponent() in c:\portal application\conferbook\portalcomponent1.ascx.cs:74

ConferBook.PortalComponent1.OnInit(EventArgs e) in c:\portal application\conferbook\portalcomponent1.ascx.cs:55

System.Web.UI.Control.InitRecursive(Control namingContainer) +233

System.Web.UI.Control.AddedControl(Control control, Int32 index) +185

System.Web.UI.ControlCollection.Add(Control child) +153

SAP.Portal.Web.UI.PageComponent.OnInit(EventArgs e) +175

System.Web.UI.Control.InitRecursive(Control namingContainer) +233

System.Web.UI.Page.ProcessRequestMain() +197


my app.config file is here


<?xml version="1.0" encoding="utf-8"?>




<!-- User application and configured property settings go here.-->

<!-- Example: <add key="settingName" value="settingValue"/> -->

<add key="portalDestination1.AppServerHost" value="" />

<add key="portalDestination1.Client" value="100" />

<add key="portalDestination1.Language" value="EN" />

<add key="portalDestination1.LogonGroup" value="" />

<add key="portalDestination1.MsgServerHost" value="" />

<add key="portalDestination1.SAPSystemName" value="" />

<add key="portalDestination1.SystemNumber" value="00" />

<add key="portalDestination1.Trace" value="True" />

<add key="portalDestination1.SystemAlias" value="172_25_8_91_server" />

<add key="confproxy1.filter" value="Filter1" />






<add assembly="SAP.Connector, Version=, Culture=neutral, PublicKeyToken=50436dca5c7f7d23" />

<add assembly="SAP.Connector.Rfc, Version=, Culture=neutral, PublicKeyToken=50436dca5c7f7d23" />