G
Guest
Recently, I developed a web service on my dev box (XP SP2). On another
machine, I developed a console app that uses a method in the web service that
just returns an integer. Everything works fine in the console app.
However, if I put the same code in a code behind application for Excel 2003
using VSTO 2003, I get the following error:
System.Security.SecurityException: Request for the permission of type
System.Net.WebPermission, System, bla bla bla ... failed.
Why does the code work in a console app and not in my VSTO Excel App? More
importantly, how do I get the VSTO app to work?
Thanks,
-- John
machine, I developed a console app that uses a method in the web service that
just returns an integer. Everything works fine in the console app.
However, if I put the same code in a code behind application for Excel 2003
using VSTO 2003, I get the following error:
System.Security.SecurityException: Request for the permission of type
System.Net.WebPermission, System, bla bla bla ... failed.
Why does the code work in a console app and not in my VSTO Excel App? More
importantly, how do I get the VSTO app to work?
Thanks,
-- John