Skip to main content

Hello Folks,

 

I am using Drag and Drop Control  and it works fine except in below scenario. 

 

When the filename contains # in between, K2 is showing Fatal Exception and as a result Windows Reporting Service is getting stopped . If i try more times, the server itself crashes and i need to reset the IIS to bring it back.

 

Meanwhile, I am able to uploadd all other files which don't have # in it. 

 

I see that the file name is getting picked up correctly where as the file path is getting truncated as explained below. Consider the fully qualified file path is "C:DesktopABC#CDE.docx", then i see that 

 

filepath: "C:DesktopABC"
filename: ABC#CDE.docx

 

I tried overwriting path value by doing a substring and attaching the filename so that it gets fully qualified path and it worked!! but when i tried to remove(unbind) the file from the control, error is displayed  as 

 

Exception on 20*personal details removed*T12:55:48.4841801Z
Addtional: FileUtility.PurgeIsolatedStore: = <fake path>ABC.temp
Exception:
System.IO.IsolatedStorage.IsolatedStorageException: Unable to delete file.

 

Can anyone help me out.

 

Thanks in Advance,

Yeshwanth

Be the first to reply!

Reply