Problem with ReaderWmf Class in Web Service (WCF)

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);

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?


Messages In This Thread
Problem with ReaderWmf Class in Web Service (WCF) - by amurciano - 11-02-2011, 03:28 PM

Forum Jump:

Users browsing this thread:
1 Guest(s)