M
MF
In visual basic 6 I can write an application and toss it
up on a shared network drive for the company to access.
Works like a champ.
In .NET my C# application runs fine on anyones machine,
but due to the integrated security model of .NET, bombs
out with Security Exceptions when someone tries to run it
off the network drive.
Sure, I can go to the users PC, and via the control panel,
add the assembly and set the trust. Which is acceptable.
What is NOT acceptable is the fact that would have to do
this with 5,000 users across the country who have access
to the shared drive and application.
Can someone please describe some way my C# application can
behave like my VB6 application from a network drive
without having to go to 5,000 PC's and configuring them
for that application ?
I have gone over the .NET security model many times and am
ready to rewrite the app in VB6 because quite honestly the
lack of information on this in the Microsoft KB (which I
have unsuccessfully scoured) is depressing.
Searching with Google I see people have "solved" the
problem by just copying the file off the network share and
running it on thier local PC - which in my case - is not
an option. I hope i'm missing something painfully easy and
obvious here.
Thanks in advance for any advice you could give me. I'd
hate to have to go back to VB6 to end these Security
Exception nightmares.
Thanks !
up on a shared network drive for the company to access.
Works like a champ.
In .NET my C# application runs fine on anyones machine,
but due to the integrated security model of .NET, bombs
out with Security Exceptions when someone tries to run it
off the network drive.
Sure, I can go to the users PC, and via the control panel,
add the assembly and set the trust. Which is acceptable.
What is NOT acceptable is the fact that would have to do
this with 5,000 users across the country who have access
to the shared drive and application.
Can someone please describe some way my C# application can
behave like my VB6 application from a network drive
without having to go to 5,000 PC's and configuring them
for that application ?
I have gone over the .NET security model many times and am
ready to rewrite the app in VB6 because quite honestly the
lack of information on this in the Microsoft KB (which I
have unsuccessfully scoured) is depressing.
Searching with Google I see people have "solved" the
problem by just copying the file off the network share and
running it on thier local PC - which in my case - is not
an option. I hope i'm missing something painfully easy and
obvious here.
Thanks in advance for any advice you could give me. I'd
hate to have to go back to VB6 to end these Security
Exception nightmares.
Thanks !