Re: FileIOPermission Erro using referenced dll on shared hosting
- From: brian@xxxxxxxxxx
- Date: 31 May 2006 09:55:27 -0700
Ok stupid as the solution is here is what was happing
The code was for an open source wiki called perspective, which I guess
no one has ever used on shared hosting.
In one of the project function libraries the author was for some reason
creating directories using FileSystemObject using the
WindowsScriptingComponent via interop?
So I replaced this with the .net Directory.CreateDiretory and it all
worked.
I guess you cannot use WindowsScriptingComponent , or at least to write
directories, using medium trust.
Thanks for all your suggestions anyway
Brian
.
- Follow-Ups:
- Re: FileIOPermission Erro using referenced dll on shared hosting
- From: Nicole Calinoiu
- Re: FileIOPermission Erro using referenced dll on shared hosting
- References:
- FileIOPermission Erro using referenced dll on shared hosting
- From: brian
- Re: FileIOPermission Erro using referenced dll on shared hosting
- From: Nicole Calinoiu
- FileIOPermission Erro using referenced dll on shared hosting
- Prev by Date: Re: asp.net and sql server
- Next by Date: Use a label in a FooterTemplate control? Surely, there must be a way...
- Previous by thread: Re: FileIOPermission Erro using referenced dll on shared hosting
- Next by thread: Re: FileIOPermission Erro using referenced dll on shared hosting
- Index(es):