Opened 12 years ago
#2224 new defect
First failed MgInitializeWebTier() call renders all future MgInitializeWebTier() calls to fail
Reported by: | jng | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Web API | Version: | 2.1.0 |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
#2206 tries to improve the means to resolve the symptom.
This ticket is the cause.
A bad first call to MgInitializeWebTier() will render future calls to the same method to fail, generally with the message:
Failed to load the resource file "Resources/mapguide_en.res" for locale "en"
Something in that bad first call is being retained for subsequent calls, preventing a successful web tier initialization for that web server process. A web server restart or application pool recycle is then required in order to be able to attempt another successful MgInitializeWebTier()
Attached is a php script demonstrating the problem. Must run php script from a cold start (and not a pre-existing php-cgi.exe process)
Test PHP script