Weird...

Discussion in 'ASP .Net Web Services' started by John Thompson, Feb 3, 2006.

  1. 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
     
    John Thompson, Feb 3, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dorayme
    Replies:
    1
    Views:
    625
    richard
    Jan 21, 2011
  2. richard
    Replies:
    0
    Views:
    587
    richard
    Jan 21, 2011
  3. richard
    Replies:
    0
    Views:
    618
    richard
    Jan 21, 2011
  4. Beauregard T. Shagnasty

    Re: A Weird Appearance for a Weird Site

    Beauregard T. Shagnasty, Jan 21, 2011, in forum: HTML
    Replies:
    1
    Views:
    441
    Captain Paralytic
    Jan 21, 2011
  5. David Segall
    Replies:
    0
    Views:
    635
    David Segall
    Jan 22, 2011
Loading...

Share This Page