Cannot Acces File System

Add-in Express™ Support Service
That's what is more important than anything else

Cannot Acces File System
 
Samuel Nettey




Posts: 2
Joined: 2014-08-27
Is there anythig I should take into account when written an IE plug-Extesion that accesses the File File System.

The following code runs perfectly in debug mode. however it dose not write to the file system when executed.

var serializer = new XmlSerializer(wsDTO.GetType());
using (TextWriter writer = new StreamWriter(_pathBuilder.XmlFileLocation))
{

serializer.Serialize(writer, wsDTO);

}
in the execution mode no error is thrown. But yet still no file is created at the designated located. Can anyone heklp me with this
Posted 27 Aug, 2014 02:10:48 Top
Andrei Smolin


Add-in Express team


Posts: 18827
Joined: 2006-05-11
Hello Samuel,

This is caused by Protection Mode. You can use a broker application to bypass this, see section Protected Mode in the PDF file in the folder {Add-in Express}\Docs on your development PC.


Andrei Smolin
Add-in Express Team Leader
Posted 27 Aug, 2014 03:04:23 Top
Samuel Nettey




Posts: 2
Joined: 2014-08-27
Hello Andrei,

Thank you very much for your Response.

Samuel
Posted 27 Aug, 2014 15:10:26 Top
Andrei Smolin


Add-in Express team


Posts: 18827
Joined: 2006-05-11
You are welcome!


Andrei Smolin
Add-in Express Team Leader
Posted 28 Aug, 2014 01:07:56 Top