DotNetInvoice Forums

DotNetInvoice Invoicing Script Discussion Forum
Welcome to DotNetInvoice Forums Sign in | Join | Help
in Search

@app_url parameter problem.

Last post 10-01-2007, 9:37 AM by support. 1 replies.
Sort Posts: Previous Next
  •  09-30-2007, 11:57 AM 173

    @app_url parameter problem.

    Hi,

    when I use '@app_url' the emails received show the IP address and port but not the URL it should be.  I thought it might just be catching but even 48 hours later it still sends out the IP:80 even though I have set the correct full domain in the configuration area.

    Thanks for any help.

  •  10-01-2007, 9:37 AM 177 in reply to 173

    Re: @app_url parameter problem.

    SaintMak,

    This value is kept in the ASP.NET cache, and it sounds like it never refreshed after your domain name propagated. As a first shot, try updating your web.config (add a single space, then delete it, and save it). Then hit your admin console in a web browser to make sure the value is re-added to the cache.

    To give you some background, when the application starts, values are pulled from the following two places and stored in cache:

    System.Web.HttpContext.Current.Request.ServerVariables("server_name")
    System.Web.HttpContext.Current.Application("App_Path")

    The ApplicationUrl value in the configuration section is only used if these values are not found in the cache. 

    Let me know if that approach works; we can try a few others if it does not.

    Thanks,
     

     


    ---
    Rob
    DotNetInvoice Support
View as RSS news feed in XML
Powered by Community Server (Personal Edition), by Telligent Systems