tags:

views:

33

answers:

1

I have an application which lives at on \\myserv1\D (mapped to D:). When I execute D:\app\app1.exe it needs to access \\myserv1\E(mapped to E:) E:\app\app1.xml. From what I can tell XslTransform.Load() is throwing a System.ArgumentException with a message of "Invalid site". Security is of no concern, how can I give this application access to E:\app\app1.xml?

Edit: This application is run under Administrator account.

Edit2: It seems to me that this is an issue of the application attempting to grab a style sheet from an "untrusted" location (a network drive). If there was a way that I could just disable all the security checks it might work..

A: 

Would you be willing to post the code? I suspect you may not be using double backslashes. The first backslash escapes the second so that an sing backslash is put into the path string.

Monte Wingle
I am unable to post code however I can confirm that the escapes are correct.
micheal blunning