11-02-2011, 03:28 PM
Hello.
I had a problem with emf/wmf to Silverlight xaml conversion.
I have a Web Service WCF in IIS, and I want do a conversion on the server side.
The following code is a code example :
ReaderWmf wmfReader = new ReaderWmf();
MemoryStream stream = new MemoryStream(_buffer);
wmfReader.Read(stream);
When I use the Read(stream) method of ReaderWmf class :
public Viewbox Read(Stream stream)
I get the following exception (UnauthorizedAccessException):
Access to the path 'c:\windows\system32\inetsrv\be156149-e1c8-4327-a8c5-ef809e05fbad.emf' is denied.
I tried to give the user permissions IIUSR_USERS in this folder, but is not allowed.
As I can do?
Regards.
I had a problem with emf/wmf to Silverlight xaml conversion.
I have a Web Service WCF in IIS, and I want do a conversion on the server side.
The following code is a code example :
ReaderWmf wmfReader = new ReaderWmf();
MemoryStream stream = new MemoryStream(_buffer);
wmfReader.Read(stream);
When I use the Read(stream) method of ReaderWmf class :
public Viewbox Read(Stream stream)
I get the following exception (UnauthorizedAccessException):
Access to the path 'c:\windows\system32\inetsrv\be156149-e1c8-4327-a8c5-ef809e05fbad.emf' is denied.
I tried to give the user permissions IIUSR_USERS in this folder, but is not allowed.
As I can do?
Regards.