Re: tired of counting.... UDP socket bug
discussion_at_discussion.microsoft.com
Date: 01/13/04
- Next message: Jens Weiermann: "Wanted: .NET counterpart of PermissionChecker component!"
- Previous message: Bryan Martin: "Re: tired of counting.... UDP socket bug"
- In reply to: Bryan Martin: "Re: tired of counting.... UDP socket bug"
- Next in thread: mikeb: "Re: tired of counting.... UDP socket bug"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 13 Jan 2004 14:37:33 +0100
Call MS as you have 2 free support calls with youre VSnet usually.
May aswell use them.
"Bryan Martin" <spam@ahwayside.com, uce@ftc.gov> wrote in message
news:%23ELZxjd2DHA.536@tk2msftngp13.phx.gbl...
> Thanks for your response but I refuse to pay them due to a bug in there
> crap.
>
> Bryan
>
>
> "Ray Cassick (Home)" <rcassickNOSPAM@enterprocity.com> wrote in message
> news:O5k2YAY2DHA.208@TK2MSFTNGP12.phx.gbl...
> > I don't mean to pick here but from what I can tell you have tried
> everything
> > that you can try. Maybe it is time that you called MS for some help. yes
> it
> > will cost you but they will get it working for you.
> >
> >
> > "Bryan Martin" <spam@ahwayside.com, uce@ftc.gov> wrote in message
> > news:ePT4rIT2DHA.2556@TK2MSFTNGP10.phx.gbl...
> > > Using udp sockets inside a class called by ASP.NET
> > >
> > > By impersonating you can use a TCP socket from a external class and
call
> > it
> > > from a ASP.NET page. However, changing the socket type to UDP and
> binding
> > > it to a port throws an error "An attempt was made to access a socket
in
> a
> > > way forbidden by its access permissions".
> > >
> > > I tried all the methods I knew of to get this to work such as...
> > > ASPNET added the account to the local administrators
> > > ASPNET act as part of the os inside local policy
> > > <identity impersonate="true" userName="administrator" password="*****"
> />
> > > inside the web.config file.
> > > System.Security.Principal.WindowsIdentity.GetCurrent.Impersonate
inside
> > code
> > > I have seen
> > (http://support.microsoft.com/default.aspx?scid=kb;EN-US;195445)
> > >
> > > Equipment & Software:
> > > W2K Advanced Server SP4 IIS 5
> > > VS.NET 1.0
> > >
> > > This leaves me at a loss on how to get my class to run from a ASP.NET
> > page.
> > > I have searched the web and msdn without success. If anyone knows
> > something
> > > I dont then please speak up.
> > >
> > > Bryan
> > >
> > >
> > >
> > > See the attached file for example class or view it at
> > > www.myplaceinspace.com/testclass.txt . Calling this from ASP.NET
gives
> > > the same result on win2ksp4 IIS5.
> > >
> > > "An attempt was made to access a socket in a way forbidden by its
access
> > > permissions"
> > >
> > > I have also posted this to
> > > http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=437940
without
> > > success
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
- Next message: Jens Weiermann: "Wanted: .NET counterpart of PermissionChecker component!"
- Previous message: Bryan Martin: "Re: tired of counting.... UDP socket bug"
- In reply to: Bryan Martin: "Re: tired of counting.... UDP socket bug"
- Next in thread: mikeb: "Re: tired of counting.... UDP socket bug"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|