piter197
Posts: 832
Joined: Sun Jan 09, 2011 3:32 am

Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 5:24 am

Dear Support,

Please help. I recently cannot open GGS Map view properly (not open in FF 11 and Chrome 17 but sometime can be open in IE 9).

When Map View open, the Panel POI show Error 404 - File or Directory not Found.

How to solve this.

Thanks in Advanced



Regards,
piter197

piter197
Posts: 832
Joined: Sun Jan 09, 2011 3:32 am

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 9:56 am

More info, I tried to open on other PC using IE 8, I got this error message.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Wed, 21 Mar 2012 04:15:42 UTC


Message: Object expected
Line: 1
Char: 1
Code: 0
URI: http://vt1.bumitrack.com/Services/Locale.ashx/GetPhraseBook?appId=15&module=VehicleTracker&jsonp=phraseBook_callback&v=3.0.0.3362


Message: Object expected
Line: 1
Char: 1
Code: 0
URI: http://vt1.bumitrack.com/Services/Locale.ashx/GetPhraseBook?appId=15&module=GenericComponents&jsonp=phraseBook_callback&v=3.0.0.3362


Message: Object expected
Line: 1
Char: 1
Code: 0
URI: http://vt1.bumitrack.com/Services/Locale.ashx/GetPhraseBook?appId=15&module=Units&jsonp=phraseBook_callback&v=3.0.0.3362



Regards,
piter197

piter197
Posts: 832
Joined: Sun Jan 09, 2011 3:32 am

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 10:01 am

This is on error log.

2012-03-21 09:48:00.2652 | Error | 8 | LoggerImpl.Write | Session not found. SessionID 0, ApplicationID 15, RequestAddress 112.215.11.29 |
2012-03-21 10:34:52.4058 | Error | 8 | VehicleTrackerMaster.Page_Load | Error in page load | System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at GpsGate.VehicleTracker.WebUI.VehicleTrackerMaster.LogOut()
at GpsGate.VehicleTracker.WebUI.VehicleTrackerMaster.Page_Load(Object sender, EventArgs e)
2012-03-21 10:34:52.4058 | Error | 8 | LoggerImpl.Write | Message |
2012-03-21 10:41:23.8277 | Error | 8 | ExtendedRpcDispatcher.OnError | Franson.Directory.SessionDoesNotExistException | Franson.Directory.SessionDoesNotExistException: Session not found. SessionID 0, ApplicationID 19, RequestAddress 202.155.113.73
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetNewGateEvents(Int32 iApplicationID, DateTime dtServerTimeStamp, String strStateName, String[] arrChannels, Int32 iViewID, Int64 lngIndex, Int32 iCount, Boolean bAscending)
at GpsGate.Directory.Service.json.Directory.GetNewGateEvent(Int32 appId, DateTime sinceTimeStamp, String state, String[] channels, Int32 viewId, Int64 lngIndex, Int32 iCount, Boolean bAscending)
2012-03-21 10:41:23.8277 | Error | 8 | LoggerImpl.Write | Session not found. SessionID 0, ApplicationID 19, RequestAddress 202.155.113.73 |
2012-03-21 10:43:21.4215 | Error | 8 | LoginControl.Login |
2012-03-21 11:46:58.3121 | Error | 3 | VehicleTracker.Page_Load | Exception in PageLoad VehicleTracker.aspx | System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at GpsGate.VehicleTracker.WebUI.VehicleTrackerMaster.LogOut()
at GpsGate.VehicleTracker.WebUI.VehicleTrackerMaster.OnSessionException(Exception ex)
at Franson.Web.UI.PageBase.OnSessionException(Exception ex)
at Franson.Web.UI.PageBase.get_WebContext()
at Franson.Web.UI.PageBase.AddClientContextScript()
at GpsGate.VehicleTracker.WebUI.VehicleTracker.Page_Load(Object sender, EventArgs e)

Regards,
piter197

User avatar
Fredrik
Posts: 1158
Joined: Fri Mar 02, 2007 1:04 pm
Location: Sweden
Contact: Website

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 2:00 pm

Hi,
This might be couple of different errors. Starting with the first file not found error.
- Do you have the POI plugin installed?
- Do you get the same error if you open the default workspace?
- What effect do you get if you disable the POI plugin? (both using default workspace and the custom)


Regards,
Fredrik Blomqvist

GpsGate Support

User avatar
Fredrik
Posts: 1158
Joined: Fri Mar 02, 2007 1:04 pm
Location: Sweden
Contact: Website

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 2:11 pm

Have you manually edited the IIS setup? What OS and IIS version do you use?
Based on inspection it looks like you have some IIS setting that prevents urls with a '.' in them. I.e all links to files in http://vt1.bumitrack.com/CommonScripts/Franson.Common/ fails to load, like language.js: http://vt1.bumitrack.com/CommonScripts/Franson.Common/language.js
But this works for example: http://vt1.bumitrack.com/CommonScripts/MochiKit/base.js

Here I found a thread discussing similar problem:
http://stackoverflow.com/questions/294495/semantic-urls-with-dots-in-net

Regards,
Fredrik Blomqvist

GpsGate Support

piter197
Posts: 832
Joined: Sun Jan 09, 2011 3:32 am

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 2:16 pm

Hi,

Thank you for your response.

1.Yes I have POI plugin installed 3.0.0.3354 (have been verified on SiteAdmin\Plugin) status green.
2.Yes I always get the same error as long as the workspace have Panel POI.
3.I have disable POI plugin in all application (both use default and custom). The error disappear (because the Panel POI also disappear.

May real concern now that all my application can not be open/can not show Map View (also have try to enable/disable google map and other map plugin, not working). Other page like Event Rule or User can be view perfectly. Also all vehicle tracker's GPRS message still received perfectly.

I have tried open application from several PC/notebook and several kind of browser. Only one Notebook with IE 9 can open succesfully (some PCs with IE 9 also cannot open).

Also can not open Mobile application too.

Please help, many customer complaining.....

Thank you in advance.




Regards,
piter197

User avatar
Fredrik
Posts: 1158
Joined: Fri Mar 02, 2007 1:04 pm
Location: Sweden
Contact: Website

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 2:21 pm

See my second answer. That is the Real problem. If all files can't load nothing will work..

Regards,
Fredrik Blomqvist

GpsGate Support

piter197
Posts: 832
Joined: Sun Jan 09, 2011 3:32 am

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 2:31 pm

Hi,

I'm using Win 2008 R2 with IIS 7.5. Before this I have try to add Hidden Segments in Request Filtering like Services and Resources but I have remove them an make it back as default installation before.

Any other setting still using default setting. Can you tell/send me default config files that need to be compare/check in order to fix this problem.

Thank you.



Regards,
piter197

User avatar
Fredrik
Posts: 1158
Joined: Fri Mar 02, 2007 1:04 pm
Location: Sweden
Contact: Website

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 2:40 pm

In the Stackoverflow thread I linked to they suggest to add the line: "<httpRuntime relaxedUrlToFileSystemMapping="true" />" to the web.config file.

We have many installations on 2008R2 IIS7+ so this must be some custom setting or some other setting/security program causing this. I.e this is obviously a generic IIS setup problem, not a GpsGate Server issue you have.


Regards,
Fredrik Blomqvist

GpsGate Support

piter197
Posts: 832
Joined: Sun Jan 09, 2011 3:32 am

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 3:40 pm

Yes, I think after we try to install Symantec endpoint client.

I have try to put <httpRuntime relaxedUrlToFileSystemMapping="true" /> in system.web section in web.config file, but got configuration error. even I have deleted it and using Configuration Editor in IIS Manager. Still got Configuration error.

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'relaxedUrlToFileSystemMapping'. Note that attribute names are case-sensitive.

Source Error:
Line 39: <add type="Franson.Web.GZipHttpModule" name="GZipHttpModule" />
Line 40: </httpModules>
Line 41: <httpRuntime relaxedUrlToFileSystemMapping="true" />
Line 42: </system.web>
Line 43: <system.webServer>



Any suggestion? this really make me got headache.



Regards,
piter197

User avatar
Fredrik
Posts: 1158
Joined: Fri Mar 02, 2007 1:04 pm
Location: Sweden
Contact: Website

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 4:09 pm

We actually had a customer with similar problem couple of years ago:
http://forum.gpsgate.com/topic.asp?TOPIC_ID=11471
The solution then was:
"IIS has a setting in the urlscan.ini file called allowdotinpath. I set it to 1 and it solved the problem"

Regards,
Fredrik Blomqvist

GpsGate Support

piter197
Posts: 832
Joined: Sun Jan 09, 2011 3:32 am

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 4:29 pm

Yes.....it solve the problem.Many thanks..................

<httpRuntime relaxedUrlToFileSystemMapping="true" /> for ASP.Net 4.

change AllowDotInPath=1 in file Windows\System32\inetsrv\urlscan\UrlScan.ini

more info http://technet.microsoft.com/en-us/library/cc751376.aspx




Regards,
piter197

User avatar
Fredrik
Posts: 1158
Joined: Fri Mar 02, 2007 1:04 pm
Location: Sweden
Contact: Website

RE: Panel POI Error 404 File or Directory not Found

Wed Mar 21, 2012 5:08 pm

Nice to hear!

Regards,
Fredrik Blomqvist

GpsGate Support

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