Error when starting Demo site

mplatvoet
Member Posts: 34
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?
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?
0
Comments
-
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.0 -
dont forget to restart IIS after you have changed global.asa0
-
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,
Groover0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions