I figured it out...I was missing
MgLocalizer.SetLocalizedFilesPath(Request.ServerVariables("APPL_PHYSICAL_PATH")
+ "..\localized\")Thanks, Brian ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Berdel, Brian Sent: Monday, June 08, 2009 5:16 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: MgLocalizer.GetString Buffer Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 124: Line 125: classDef.SetName(featureName) Line 126: classDef.SetDescription(MgLocalizer.GetString("BUFFERCLASSDESCR", locale)) Line 127: classDef.SetDefaultGeometryPropertyName("GEOM") Any ideas to troubleshoot? I am trying to port code to beta 2.1 and fusion 2 This code works in mapguide 2.0 and fusion 1.1. Thanks, Brian Berdel McMahon Associates, Inc. p: 215.283.9444 x 260 www.mcmtrans.com<http://www.mcmtrans.com> From: [email protected] [mailto:[email protected]] On Behalf Of Berdel, Brian Sent: Monday, June 08, 2009 5:15 PM To: MapGuide Users Mail List Subject: [mapguide-users] MgLocalizer.GetString Buffer I keep getting object not set to instance of an object when trying to create a Buffer Layer in .net at the following lines Brian Berdel Applications Development Manager McMahon Associates, Inc. 425 Commerce Drive, Suite 200 Fort Washington, Pennsylvania 19034 p: 215.283.9444 x 260 f: 215.283.9858 [email protected] [cid:[email protected]]<http://www.mcmtrans.com/> New England | Mid-Atlantic | Florida ________________________________ Important notice to recipients: Copies of documents that may be relied upon by you are limited to the printed copies (also known as 'hard copies') that are signed and sealed by the Engineer and/or Land Surveyor. Files in electronic formats, or other types of information furnished by the Engineer and/or Land Surveyor to you such as text, data or graphics are for your convenience only. Any conclusions or information obtained or derived from such electronic files will be at the user's sole risk. When transferring documents in electronic formats, the Engineer and/or Land Surveyor makes no representation as to long-term compatibility, usability, or readability of the documents resulting from the use of software application packages, operating systems or computer hardware differing from those used by McMahon Associates, Inc. at the beginning of the project. ________________________________ Important notice to recipients: Copies of documents that may be relied upon by you are limited to the printed copies (also known as 'hard copies') that are signed and sealed by the Engineer and/or Land Surveyor. Files in electronic formats, or other types of information furnished by the Engineer and/or Land Surveyor to you such as text, data or graphics are for your convenience only. Any conclusions or information obtained or derived from such electronic files will be at the user's sole risk. When transferring documents in electronic formats, the Engineer and/or Land Surveyor makes no representation as to long-term compatibility, usability, or readability of the documents resulting from the use of software application packages, operating systems or computer hardware differing from those used by McMahon Associates, Inc. at the beginning of the project. ________________________________ Important notice to recipients: Copies of documents that may be relied upon by you are limited to the printed copies (also known as 'hard copies') that are signed and sealed by the Engineer and/or Land Surveyor. Files in electronic formats, or other types of information furnished by the Engineer and/or Land Surveyor to you such as text, data or graphics are for your convenience only. Any conclusions or information obtained or derived from such electronic files will be at the user's sole risk. When transferring documents in electronic formats, the Engineer and/or Land Surveyor makes no representation as to long-term compatibility, usability, or readability of the documents resulting from the use of software application packages, operating systems or computer hardware differing from those used by McMahon Associates, Inc. at the beginning of the project.
<<inline: image001.jpg>>
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
