SLau
Posts: 36
Joined: Mon Jun 25, 2007 4:08 am
Location: Guatemala

Google Map API

Wed Sep 05, 2007 11:03 am

Hi,

I generate an API key from GMap, I replaced the key in GPSGateComMaster.Master, however when trying to access from the Web I received the following error:

Runtime ErrorServer Error in '/GpsGateServer/BuddyTracker' Application.


Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application error
from being viewed remotely (for security reasons). It could, however, be viewed
by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on
remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web application.
This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error
page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

I can't even now access the page locally, (I tried to return the original key)
Runtime ErrorServer Error in '/GpsGateServer/BuddyTracker' Application.


Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application error
from being viewed remotely (for security reasons). It could, however, be viewed
by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on
remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web application.
This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error
page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

Any Ideas.

Thanks.

SLau
Posts: 36
Joined: Mon Jun 25, 2007 4:08 am
Location: Guatemala

RE: Google Map API

Thu Sep 06, 2007 11:12 am

My mistake, I used wordpad instead of notepad to insert the key and save the file.

Return to “GpsGate Server - How to setup and use”