GPSFileDepot Forums

General Category => Map Making Support => Topic started by: hntr on August 18, 2009, 08:53:35 AM

Title: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: hntr on August 18, 2009, 08:53:35 AM
I am using mapsettoolkit v1.62 beta to install some topo maps into Mapsource.  Mapsource generates an error log and closes - there are 10-20 instances (with different product id's)
of this error shown below
 <Error>
   <Exception>
     <SourceCodeLocation>
       <SourceFileName>TDB_REGIONDIR.CPP</SourceFileName>
       <SourceFileLine>164</SourceFileLine>
     </SourceCodeLocation>
     <Extra>
Product ID: 291766273
Region ID: 0</Extra>
   </Exception>
   <Application>
     <Name>MapSource</Name>
     <Build>
       <Version>
         <VersionMajor>6</VersionMajor>
         <VersionMinor>12</VersionMinor>
         <BuildMajor>4</BuildMajor>
         <BuildMinor>0</BuildMinor>
       </Version>
       <Type>Release</Type>
       <Time>May  1 2007, 14:47:56</Time>
       <Builder>SQA</Builder>
     </Build>
     <LanguageID>1033</LanguageID>
     <PartNumber>006-A0041-00</PartNumber>
   </Application>
   <Computer>
     <OperatingSystem>Windows Vista Service Pack 1</OperatingSystem>
     <Processor>x86, Processor Level: 6, Processors:4, Model: 15 Stepping: 11</Processor>
     <RamSize>2095692</RamSize>
   </Computer>
   <Time>2009-08-18T14:30:00Z</Time>
 </Error>

Whats confusing is when I do a trial run with 0.1 x 0.1 arc degree portion, the map displays fine in MapSource. Then when I run the whole state I get the error.
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: hntr on August 25, 2009, 05:57:29 AM
Thanks, I have already tried to reach him but have been unsuccessful.

The maps are working fine with sendmap, but I want to make the nice .exe files
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: maps4gps on August 25, 2009, 06:02:38 AM
He may be on holiday.  He has posted on this and the geocaching forums.
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: s36 on January 24, 2010, 02:24:45 PM
Were you able to resolve this issue?  I'm running into the same problem.
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: hntr on January 25, 2010, 07:36:01 AM
yes, it's working now

If I can remember it was simply a problem with the Windows registry.
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: bob_piper on March 07, 2010, 05:24:55 PM
What is the registry problem and how do you fix it? I am having the same problem with MapSource.

Thanks,
Bob
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: -Oz- on March 07, 2010, 05:47:43 PM
I also would like the answer; my "solution" may just be a fluke
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: hntr on March 10, 2010, 08:45:31 AM
You need to set up the registry exactly as the .reg file is set up when it is output from cpreview
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: -Oz- on March 10, 2010, 10:05:38 AM
hntr: that isn't completely true since with win7 64-bit I have to tweak the .reg file so that it installs to the proper 32bit directories.
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: Seldom on March 10, 2010, 10:30:42 AM
Quote from: -Oz- on March 10, 2010, 10:05:38 AM
hntr: that isn't completely true since with win7 64-bit I have to tweak the .reg file so that it installs to the proper 32bit directories.

Could you elaborate on that, Oz?  I've been installing maps on a new Win7 64bit machine, using an installer I wrote for my old XP machine, with no tweaks I'm aware of.  Of course MapSource went in as a new 32 bit app.
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: -Oz- on March 10, 2010, 08:47:44 PM
the installer (if its NSIS) automatically knows; the .reg file needs to know to put the files in \Wow6432Node\ in the software area because MapSource is a 32bit program.
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: Seldom on March 11, 2010, 03:05:15 AM
If I understand this correctly, you are saying that the Reg file cgpsmapper creates in cpreview needs to be tweaked?  It's been a while since I've used one of those.
Title: Re: Mapsettoolkit help - install results in Mapsource error in TDB_REGIONDIR.CPP
Post by: -Oz- on March 11, 2010, 06:02:28 PM
Yea, that is exactly what I'm saying...