I'm trying to create a remote data access component that runs under IIS
and queries a SQLServer db. on a different machine, and returns the
results to the remoting client. The IIS box is a server running Win2K
Server.
I'm impersonating the client user by passing the credentials while making
the re
Ah... My mistake... I didn't look at your code closely enough the first
time.
The load into the helper domain succeeds. But System.Reflection.Assembly is
a MarshalByRef object, so when Load returns the reference, the helper dll
must /also/ be loaded in the current AppDomain. That's what fails.
Fo
Hello, I am creating an assembly using Reflection.Emit. In the assembly I
create also a class deriving from System.Windows.Forms.Form which uses
resources. The resources live in a .resource file, which I want to embed
into the assembly using ModuleBuilder.DefineResource(...) as in the
following cod
The assembly I'm attempting to load using AppDomain.Load only references
System, System.Data, and System.XML, which are all FCL (v1.0.3705)
assemblies located in the GAC.
To narrow the problem down I used the C# Class Library wizard with the
default single .cs file, in which is a single [Serializa
That certainly looks like an error in the docs - on the page in question it
also says at the top that the delegate is executed on the thread that the
control's underlying handle was created on. Which seems to contradict the
note.
That note is appropriate to most BeginInvokes but not Control.Begin