Re: CompileAssemblyFromDom problem
From: Marina (someone_at_nospam.com)
Date: 02/22/05
- Next message: Chris Dunaway: "Re: SortedDictionary<K, V> in VS2005"
- Previous message: Cor Ligthert: "Re: probably a simple question (I hope)"
- In reply to: Marina: "CompileAssemblyFromDom problem"
- Next in thread: Chris Dunaway: "Re: CompileAssemblyFromDom problem"
- Reply: Chris Dunaway: "Re: CompileAssemblyFromDom problem"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 22 Feb 2005 09:46:00 -0500
Turns out this was related to the account not having sufficient permissions
to access the VB compiler.
This sounds like something worthy of an exception? Not just failing silently
without producing the expected result.
"Marina" <someone@nospam.com> wrote in message
news:eORSzXOGFHA.3596@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I am hoping someone has a clue on this. I have code that uses
> CompileAssemblyFromDom to compile a DLL on the fly. Works fine here.
>
> On a client machine however, no DLL is produced, using identical input.
> There are no exceptions, no compile time errors coming back. And no file.
> The code checks for the file's existance immediately afterwards, and it is
> not there. Setting GenerateInMemory to false on the params object and
> setting the OutputAssembly correctly.
>
> Tried giving all sorts of permissions on the folder. Though usually this
> problem would result in an exception - not fail silently.
>
> Anyone have any ideas on why the method would execute with no errors or
> exceptions, but yet not produce a file on this one machine? It's a 2003
> server, if that matters. But like I said, works fine on other 2003 server
> machines as well as my XP development machine.
>
- Next message: Chris Dunaway: "Re: SortedDictionary<K, V> in VS2005"
- Previous message: Cor Ligthert: "Re: probably a simple question (I hope)"
- In reply to: Marina: "CompileAssemblyFromDom problem"
- Next in thread: Chris Dunaway: "Re: CompileAssemblyFromDom problem"
- Reply: Chris Dunaway: "Re: CompileAssemblyFromDom problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|