Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#958 closed defect (fixed)

"The specified module could not be found" on Mapguide Site Administrator

Reported by: JackOfHearts Owned by:
Priority: medium Milestone: 2.1
Component: Installer Version: 2.1.0
Severity: trivial Keywords: site administrator
Cc: External ID:

Description

After successful installation, Mapguide Site Administrator does not want to start, no login, nothing. I get "The specified module could not be found." when I go to http://127.0.0.1/mapguide/mapadmin/login.php login page. I didn't have this problem on previews versions of MG. Installation on windows XP, IIS 6.0, .Net configuration

Attachments (6)

php.txt (3.2 KB ) - added by bberdel 16 years ago.
ext.txt (3.6 KB ) - added by bberdel 16 years ago.
php_joh.txt (3.0 KB ) - added by JackOfHearts 16 years ago.
php_ext_joh.txt (3.4 KB ) - added by JackOfHearts 16 years ago.
mypath_joh.txt (99 bytes ) - added by JackOfHearts 16 years ago.
instlog.7z (1.1 MB ) - added by bberdel 16 years ago.
Installation Log

Download all attachments as: .zip

Change History (26)

comment:1 by jng, 16 years ago

Do you remember what features you had enabled/disabled during installation?

comment:2 by JackOfHearts, 16 years ago

yes. First time, I disabled Tomcat and Java and left everything else enabled, and error occurred. Then, I reinsalated the whole system again (win xp and everything), and left everything on default, all features enabled. The same error occurred.

comment:3 by jng, 16 years ago

Is this 64-bit Windows XP by any chance? Because I do recall that apart from Windows Server 2003, IIS 6.0 only exists in the 64-bit edition of Windows XP.

comment:4 by JackOfHearts, 16 years ago

sorry,sorry, it is IIS 5.1 ... not 6.0 ... I don't know what I was thinking. I tested smth else in the meantime. :/ Computer configration is win XP 32bit SP2, IIS 5.1, .Net configuration. I tested it on a clean installation of windows, and only thing that I installed before MGOS 2.1 is DotNet framework 2.0 and Mozzila Firefox 2.0, no firewalls, no nothing.

comment:5 by jng, 16 years ago

Does this work if you give IUSR_<yourmachinename> write access to the C:\Program Files\OSGeo\MapGuide\Web\Temp ?

comment:6 by JackOfHearts, 16 years ago

unfortunately no. I tried with full access, sharing and everything

comment:7 by jng, 16 years ago

Resolution: fixed
Status: newclosed

r3806 should fix this, re-open if this is not the case.

comment:8 by JackOFHearts, 16 years ago

Resolution: fixed
Status: closedreopened

comment:9 by JackOFHearts, 16 years ago

tried, still the same problem

comment:10 by jng, 16 years ago

Is there any more error information if you set "display_errors = On" in php.ini?

comment:11 by JackOFHearts, 16 years ago

unfortunately no. Please tell me how can i give you more info on this error... files, printscreen ...

comment:12 by jbirch, 16 years ago

Milestone: 2.1

comment:13 by bberdel, 16 years ago

FYI, I am having the same issue and cannot find any information in any logs to tell me what the problem may be. Tried uninstalling re-installing iis, etc.

comment:14 by jbirch, 16 years ago

Sounds like the PHP MG module isn't loading correctly; wonder if there's a path issue that hasn't been solved.

In your php.ini file:

  • hat is extension_dir set to?
  • are the extensions for both php_MapGuideApiEnvConfig.dll and php_MapGuideApi.dll enabled
  • if you set display_startup_errors=1 does it show more info?

Create a file with these contents and see if MapGuide extension shows as loaded:

<?php phpinfo(); ?>

What is the value of your PATH environment variable? You can attach it here by typing:

echo %PATH% > mypath.txt

What is the value of the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5.2.5\IniFilePath

Can you attach directory listings of your PHP and PHP/Ext directories?

by bberdel, 16 years ago

Attachment: php.txt added

by bberdel, 16 years ago

Attachment: ext.txt added

comment:15 by bberdel, 16 years ago

Everything seems to check out...Could just be a problem with PHP in general, but I just uninstalled 2.0.2 from this machine and it worked. I will also try on a server.

Comments in-line

In your php.ini file:

  • hat is extension_dir set to?

extension_dir = "C:\Program Files\OSGeo\MapGuide Web\Php\ext"

  • are the extensions for both php_MapGuideApiEnvConfig.dll and php_MapGuideApi.dll enabled
  • if you set display_startup_errors=1 does it show more info?

No

Create a file with these contents and see if MapGuide extension shows as loaded:

<?php phpinfo(); ?>

Same result...So maybe it is just a PHP issue...?

What is the value of your PATH environment variable? You can attach it here by typing:

C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\OSGeo\MapGuide Web\Php

What is the value of the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5.2.5\IniFilePath

C:\Program Files\OSGeo\MapGuide Web\Php\

Can you attach directory listings of your PHP and PHP/Ext directories?

comment:16 by bberdel, 16 years ago

Extensions are enabled as well.

by JackOfHearts, 16 years ago

Attachment: php_joh.txt added

by JackOfHearts, 16 years ago

Attachment: php_ext_joh.txt added

by JackOfHearts, 16 years ago

Attachment: mypath_joh.txt added

comment:17 by JackOfHearts, 16 years ago

extension_dir = "C:\Program Files\OSGeo\MapGuide\Web\Php\ext"

php_MapGuideApiEnvConfig.dll and php_MapGuideApi.dll - both enabled

no more error info with display_startup_errors=On

nothing happens with <?php phpinfo(); ?>, empty page

PATH environment variable in mypath_joh.txt

HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5.2.5\IniFilePath = C:\Program Files\OSGeo\MapGuide\Web\Php\

PHP directory listing in php_joh.txt

PHP/ext directory listing in php_ext_joh.txt

by bberdel, 16 years ago

Attachment: instlog.7z added

Installation Log

comment:18 by jbirch, 16 years ago

There is one suspicious part, but I'm not sure if this is expected (since IIS 5.1 doesn't have the concept of web service extensions AFAIK...

Action start 12:37:44: AddWebServiceExtension.
MSI (s) (F8:40) [12:37:44:610]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIF.tmp, Entrypoint: AddWebServiceExtension
AddWebServiceExtension:  Initialized.
AddWebServiceExtension:  AddWebServiceExtension: GetData failed: 0x800cc801
MSI (s) (F8:40) [12:37:44:703]: Leaked MSIHANDLE (44210) of type 790541 for thread 2008
MSI (s) (F8:40) [12:37:44:703]: Note: 1: 2769 2: AddWebServiceExtension 3: 1 
MSI (s) (F8:40) [12:37:44:703]: Note: 1: 2205 2:  3: Error 
MSI (s) (F8:40) [12:37:44:703]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2769 
DEBUG: Error 2769:  Custom Action AddWebServiceExtension did not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: AddWebServiceExtension, 1, 

The other CAs (RegisterScriptMaps, SetCustomErrors, CreateVDirMapAgent, etc) seem to run without error.

comment:19 by jbirch, 16 years ago

Resolution: fixed
Status: reopenedclosed

Guys, I re-wrote the IIS 5 and 6 portions of the installer and I think I have this problem fixed.

Please grab the latest file from here:

http://download.osgeo.org/mapguide/testing/

(currently MapGuideOpenSource-2.1.0.3847-Unofficial-0.6.exe)

try it out, and re-open if there are problems.

comment:20 by bberdel, 16 years ago

Finally had a chance to test, and it works! Thanks

Note: See TracTickets for help on using tickets.