Re: FileIOPermission Erro using referenced dll on shared hosting

Tech-Archive recommends: Fix windows errors by optimizing your registry



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

.