M
Mark
Objective: create a simple windows application .exe file that I can load up
on our secure web site, direct a user to the url, and have them download the
..exe and it runs beautifully on their desktop without an install program.
It would be distributed to only a handful of users that have access to our
secure site. The application does some simple data reads and writes. The
program complies to a single .EXE and does not create any additional .dll
files.
What I tried: Created a simple windows application. Compiled and tested
it. It works. Threw the .EXE on our web server, and then directed my
browser to the .exe at http://mysite.com/myapp.exe.
The program appears to download and display. I press the button on the form
that loads the data ... it bombs. The error message is at the bottom of this
email. What is the "better" way to do what I'm trying to do assuming it
just needs to work and won't be a polished application???
Thanks in advance!
Mark
ERROR MESSAGE:
Request for the permission of type
System.Data.SqlClient.SqlClientPermission, System.Data,
Version=1.0.5000.0,Culture=neutral, PublicKeyToken=blahblahblah failed.
on our secure web site, direct a user to the url, and have them download the
..exe and it runs beautifully on their desktop without an install program.
It would be distributed to only a handful of users that have access to our
secure site. The application does some simple data reads and writes. The
program complies to a single .EXE and does not create any additional .dll
files.
What I tried: Created a simple windows application. Compiled and tested
it. It works. Threw the .EXE on our web server, and then directed my
browser to the .exe at http://mysite.com/myapp.exe.
The program appears to download and display. I press the button on the form
that loads the data ... it bombs. The error message is at the bottom of this
email. What is the "better" way to do what I'm trying to do assuming it
just needs to work and won't be a polished application???
Thanks in advance!
Mark
ERROR MESSAGE:
Request for the permission of type
System.Data.SqlClient.SqlClientPermission, System.Data,
Version=1.0.5000.0,Culture=neutral, PublicKeyToken=blahblahblah failed.