[mapguide-users] MgAuthenticationFailedException raised when should be caught

dorshemer dorshemer at gmail.com
Wed Apr 22 09:11:05 EDT 2009


I'm getting this error: 
Fatal error: Uncaught exception 'mgauthenticationfailedexception' in Unknown
on line 0

Using this code:

try {
	InitializeWebTier();	
	$userInfo = new MgUserInformation($username, $password);
	$siteConnection = new MgSiteConnection();
	$siteConnection->Open($userInfo);
} catch (MgAuthenticationFailedException $e) {
	// handle exception
}

Can anyone spot the error?
-- 
View this message in context: http://n2.nabble.com/MgAuthenticationFailedException-raised-when-should-be-caught-tp2676048p2676048.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list