When trying to Upload a report to the Jet Web Portal, an error such as the following is displayed:
Complete text of error message is:
An unexpected error has occurred:
The given path's format is not supported
at System.Security.Permissions.FiIeIOPermission.EmuIateFiIeIOPermissionChecks(String fullPath)
at Systerm.IO.FileStream.Init(String path. FileMode mode. FileAccess access. Int32 rights. Boolean
useRights, FileShare share, Int32 bufferSize. FileOptiorrs options, SECURITY ATTRIBUTES secAttrs,
String msgPath, Boolean bFromProxy. Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path. FileMode mode. FileAccess access, FileShare share)
at Jet Framework.ViewModeIs.PubIishViewModeIPubIish()
An upload error has occurred. Your OneDrive or OneDrive for Business is not configured to synchronize the file being uploaded. This issue can be avoided by configuring your OneDrive to synchronize all files.
This error message is caused when a report is saved in OneDrive or OneDrive for Business, and OneDrive is not configured to synchronize the file being used. This issue can be avoided by configuring OneDrive to synchronize all files.
Using Windows Explorer, navigate to your OneDrive folder.
Right-click within the OneDrive folder (but not on any specific file or folder) and select Settings.
Select the Account tab, click Choose Folders...
and then ensure that the setting for syncing all files/folders is checked: