Error when starting Demo site

mplatvoetmplatvoet Member Posts: 34
edited 2004-10-29 in Navision e-Commerce
Hi,

I am installing Commerce Portal on a Windows 2000 Adv. Server with IIS,
MSMQ, etc. etc.
I am using CS2002.

Everything seems to work but when I try to start the web site I get the message:

AuthManager(CommerceServer): You should call 'AuthManager::Initialize()' method with a valid site-name, before calling any other AuthManager API. /CommercePortal/global.asa, line 77

I am clueless..... anybody who knows what is going on here?

Comments

  • FredrikFredrik Member Posts: 4
    This is a bug in global.asa. When you install you site to a site other then "default website" you will get this error.

    Resolution:

    Change the following row in global.asa

    strSitePath = Server.MapPath(WEBSITE_ROOT_DIRECTORY)& "\" & MSCSCommerceSiteName

    to this

    strSitePath = Server.MapPath(WEBSITE_ROOT_DIRECTORY)& "\CommercePortal"

    the line above only works if you have unpuped your site in the default path "sitename/commerceportal".

    Guess if it took many tears and anger before a college of mine helped me to find this solution.
  • FredrikFredrik Member Posts: 4
    dont forget to restart IIS after you have changed global.asa
  • groovergroover Member Posts: 31
    Don't know if this can help you, but anyway...
    I did the same on Windows 2000 Advanced Server, with the same error message. Finally started from scratch on Windows 2000 Server, and it worked almost right from the start. (I had 1 issue: I installed the Windows 2000 Server on a D partition, while the CP Setup table from CRONUS referred to c:\inetpub\wwwroot\...).
    BR,
    Groover
Sign In or Register to comment.