Thursday, September 22, 2011

DSC - Common Issues - Fakepath Error

For “C:/Fakepath” error eg. C:/Fakepath/filename.txt when trying to upload the IT Return.

SOLUTION is as follows:
The error is usually faced by people using Internet Explorer 8 (IE8).
You can resolve this through any one of the following 3 ways:

1. In IE8, Change Security Settings:
Internet Explorer>Tools>Internet Option>Security>Custom
Find and Enable the "Include local directory path when uploading files to a server"
(it is quite a ways down)

2. In IE8, Add the site to your Trusted Sites:
Tools>Internet Options>Security>Trusted Sites>Sites

3. Create a folder named "Fakepath" in C: & copy your xml file, in that folder.

According to the HTML5 specifications, a file upload control should not reveal the real local path to the file you have selected, unless it is a trusted site.

This is already implemented in IE 8 and since the site is not added to your "trusted sites", it gives the error.

Note : Option 3 is working fine when tested.

No comments:

Post a Comment