Running Windows Forms app from server

  • Thread starter Thread starter Karin
  • Start date Start date
K

Karin

Hi,

The old version of my program was written in VB and it was stored on a
server but run on several different clients which all had the necessary
dll:s installed.

Now I would like to use the same approach with my C# program but I can't get
it to work. I have created an rwc for the old dll.



(We use this approach because the .exe-file is updated frequently and the
users are not trusted to do the updating themselves.)



Thankful for any help or suggestions!

/K
 
Hi Karin,

Did you installed the framework on all the machines?

If so the error may be coming fomr the rwc, can you post the error you are
getting?

Cheers,
 
Karin,
Have you set the .Net security permissions on the workstations to allow
code to be run from the server? From your description of the problem I
wasn't sure if the program starts or if it just doesn't interact with the
old dll.

Ron Allen
 
Hi,
The framework is installed on all clients but not on the server.

The error message is:
"An unhandled exception of type
'System.Reflection.ReflectionTypeLoadException' occured in mscorlib.dll
Additional information: One or more of the types in the assembly unable to
load."

Thanks! /K
 
Hi Ron,
I thought I had the permissions sorted but maybe I should double check...

The program doesn't start.
Error message:
"An unhandled exception of type
'System.Reflection.ReflectionTypeLoadException' occured in mscorlib.dll
Additional information: One or more of the types in the assembly unable to
load."

Thanks!
/K
 
Back
Top