Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / June 2004

Tip: Looking for answers? Try searching our database.

soap.tcp not available to non-admin users

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Keith Patrick - 25 Jun 2004 21:08 GMT
I tried opening a channel for a non-IIS-hosted app via new SoapSender(new
Uri("soap.tcp://MyService")), but I got a security error.  Things went away
when I tried running it as an admin user.  Is there a way to connect two
services in a messaging connection without running as an admin?
BTW: I'm trying using an http URI as well, but I'm getting a bit hung up
exposing things in IIS (it'd love to have http.sys right about now :) ) as
well, since my app is not built as a web service (at least not at this
layer), but I haven't done a whole lot of playing around with getting that
part to work.
Lucien - 25 Jun 2004 22:21 GMT
Which OS? Except for w2k3 you need to set ExclusiveAddressUse to false if
you want to run as non-admin. In your app add this:

<messaging>
 <transports>
   <add scheme="soap.tcp" >
     <exclusiveAddressUse enabled="false" />
   </add>
 </transports>
</messaging>

There's no built-in HTTP messaging support but you could create your own
transport with the WSE 2 framework.

> I tried opening a channel for a non-IIS-hosted app via new SoapSender(new
> Uri("soap.tcp://MyService")), but I got a security error.  Things went away
[quoted text clipped - 5 lines]
> layer), but I haven't done a whole lot of playing around with getting that
> part to work.
Keith Patrick - 26 Jun 2004 00:19 GMT
Did the trick!  Many thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.