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

No members online now.

Forum statistics

Threads
474,348
Messages
2,571,451
Members
48,795
Latest member
Lonell Lee

Latest Threads

Top