Weird...

J

John Thompson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,709
Latest member
AustinMudi

Latest Threads

Top