Re: tired of counting.... UDP socket bug

Discussion in 'ASP .Net' started by Ray Cassick \(Home\), Jan 13, 2004.

  1. 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" <, > wrote in message
    news:...
    > 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
    >
    >
    >
    >
    >
    Ray Cassick \(Home\), Jan 13, 2004
    #1
    1. Advertising

  2. Ray Cassick \(Home\)

    Bryan Martin Guest

    Thanks for your response but I refuse to pay them due to a bug in there
    crap.

    Bryan


    "Ray Cassick (Home)" <> wrote in message
    news:...
    > 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" <, > wrote in message
    > news:...
    > > 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
    > >
    > >
    > >
    > >
    > >

    >
    >
    Bryan Martin, Jan 13, 2004
    #2
    1. Advertising

  3. Ray Cassick \(Home\)

    Guest Guest

    Call MS as you have 2 free support calls with youre VSnet usually.

    May aswell use them.


    "Bryan Martin" <, > wrote in message
    news:%...
    > Thanks for your response but I refuse to pay them due to a bug in there
    > crap.
    >
    > Bryan
    >
    >
    > "Ray Cassick (Home)" <> wrote in message
    > news:...
    > > 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" <, > wrote in message
    > > news:...
    > > > 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
    > > >
    > > >
    > > >
    > > >
    > > >

    > >
    > >

    >
    >
    Guest, Jan 13, 2004
    #3
  4. Ray Cassick \(Home\)

    mikeb Guest

    Bryan Martin wrote:
    > Thanks for your response but I refuse to pay them due to a bug in there
    > crap.
    >
    > Bryan
    >


    On the other hand, it looks like you won't get your problem resolved
    here no matter how many times you repost.

    You may have some support incidents available to you if you're an MSDN
    subscriber. Otherwise, you may have to pay.

    If it's determined to be a bug, MS will refund your money or make your
    support incident available to you again. It seems they're pretty fair
    with this policy.

    >
    > "Ray Cassick (Home)" <> wrote in message
    > news:...
    >
    >>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.
    >>


    <snip>

    --
    mikeb
    mikeb, Jan 13, 2004
    #4
    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. Willy Denoyette [MVP]

    Re: tired of counting.... UDP socket bug

    Willy Denoyette [MVP], Jan 13, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    494
    Willy Denoyette [MVP]
    Jan 13, 2004
  2. Feroze [MSFT]

    Re: tired of counting.... UDP socket bug

    Feroze [MSFT], Jan 19, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    365
    Feroze [MSFT]
    Jan 19, 2004
  3. =?Utf-8?B?VGhvbWFzIEFuZGVyc3Nvbg==?=

    So tired of this bug

    =?Utf-8?B?VGhvbWFzIEFuZGVyc3Nvbg==?=, Dec 9, 2004, in forum: ASP .Net
    Replies:
    14
    Views:
    706
    =?Utf-8?B?VGhvbWFzIEFuZGVyc3Nvbg==?=
    Dec 10, 2004
  4. Ryan Saunders
    Replies:
    6
    Views:
    160
    Gunnar Hjalmarsson
    Sep 7, 2004
  5. Kishore_R

    Socket() failed for UDP socket

    Kishore_R, Oct 11, 2005, in forum: Perl Misc
    Replies:
    2
    Views:
    227
    Anno Siegel
    Oct 11, 2005
Loading...

Share This Page