Skip to Content
author's profile photo Former Member
Former Member

AppServerHost does not exist...

Hi

I've made a potalapplication, but whenever I want to view it in my browser I get this error:

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

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

Search.PortalComponent1.InitializeComponent()

Search.PortalComponent1.OnInit(EventArgs e)

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.OnLoad(EventArgs e) +152

System.Web.UI.Control.LoadRecursive() +27

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

What have I done wrong???

Thanks in advance

Michael

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 23, 2004 at 01:36 PM

    You are using a component that tries to read data from Web.config - which is not possible in a portal app. Most likely it's a component that has some properties mapped as so called dynamic properties: check the controls'/ components' properties if you see a cyan colored icon beneath the property name. Unbind the property.

    For the case that you are trying to use a SAP .NET Conector Destination (which automatically binds some properties): Don't use it but instead use the special PortalDestiantion.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Michael,

      You are thanking a poster for his answer.

      Please next time also give him points.

      See: /people/mark.finnern/blog/2004/08/10/spread-the-love

      This time I did it for you.

      Remember: When you ask a question you also assume the responsibility to assign points.

      Please check your other questions and if the answers were good. Spread the love and give some points.

      Thanks in advance, Mark.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.