Error 0x80070057 when trying to use state server

Last post 04-07-2009 10:47 PM by RahulSoni. 6 replies.

Sort Posts:

  • Error 0x80070057 when trying to use state server

    02-28-2009, 10:17 AM
    • Member
      point Member
    • amirams
    • Member since 02-28-2009, 2:40 PM
    • Posts 3

    We are running a Windows 2003 server with .Net 1.1 and 2.0 sites. One of our 1.1 sites needs to use the state server (all other sites, 1.1 and 2.0, use in-process state). Enabling state server for this site (or for any other site) results in an error message accompanied by a type-1074 application event log entry with an error code of 0x80070057. Googling for this code shows some questions but no definite answers.

    We noticed that the state service executable is from .Net 2.0 (which should be backword-compatible with 1.1 sites), but changing the executable back to the 1.1 version does not resolve the problem.

    SQL state works fine and we're using it as a temporary solution, but we don't want to use it on a permanent basis.

    Any idea what thsi 0x80070057 means and how to resolve it?

  • Re: Error 0x80070057 when trying to use state server

    04-04-2009, 1:26 AM
    • Member
      533 point Member
    • RahulSoni
    • Member since 03-20-2009, 12:41 AM
    • Bangalore
    • Posts 113

    Hi,

    It seems like only one application is failing for you. Is that a correct assumption? This reminds me of a very old error message which used to happen due to a space in the application name. Does your application have a space in the Application Name? Can you try renaming your application and re-testing this?

     

    Cheers,
    Rahul Soni

    Premier Field Engineer - Microsoft
    www.dotnetscraps.com

    Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.

  • Re: Error 0x80070057 when trying to use state server

    04-04-2009, 3:14 AM
    • Member
      point Member
    • amirams
    • Member since 02-28-2009, 2:40 PM
    • Posts 3

    Thank you for your answer.

     No, the application name does not have a space anywhere in the tree, and as I said this happens not just with that specific application but with every application when we try to enable state server.

     

    Amiram

  • Re: Error 0x80070057 when trying to use state server

    04-04-2009, 3:24 AM
    • Star
      10,748 point Star
    • sumitd
    • Member since 07-16-2008, 4:32 PM
    • Bangalore
    • Posts 1,906

    Add ASPNET to local administrators grou, it should work 

    OR

    Download TCPView tool from below link

    http://www.sysinternals.com/ntw2k/source/tcpview.shtml 

    Use the  tool to find out whether ASP.NET State Service in on the port 42424

    TCPView will have log 

    aspnet_state.exe:1340   TCP     ComputerName:42424      sha-yxzhang-new:0       LISTENING 

    Please mark it as answer if it resolves the issue.

    Check few exciting feature of bing in my blog.
    visit: http://technicalsol.blogspot.com
  • Re: Error 0x80070057 when trying to use state server

    04-04-2009, 3:40 AM
    • Member
      point Member
    • amirams
    • Member since 02-28-2009, 2:40 PM
    • Posts 3

    Thanks. I've tried both. In fact, I've tried every suggestion I could find on the Web before posting this question. Nothing seems to help.

  • Re: Error 0x80070057 when trying to use state server

    04-04-2009, 11:49 AM
    • Member
      533 point Member
    • RahulSoni
    • Member since 03-20-2009, 12:41 AM
    • Bangalore
    • Posts 113

    Strange!

    Okay, please try the following and let me know the results...

    1. Start -> Run -> Services.msc =========> Go to ASP.NET State Service and tell me what is the path to executable? Typically if you have 1.1 and 2.0 both, you should have it as C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_state.exe. Please confirm. Now right click on aspnet_state.exe and select properties. What's the version?

    2. Go to the command prompt (you should run this command prompt as Administrator). Type net start aspnet_state and share the error message if any.

     

    Cheers,
    Rahul Soni

    Premier Field Engineer - Microsoft
    www.dotnetscraps.com

    Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.

  • Re: Error 0x80070057 when trying to use state server

    04-07-2009, 10:47 PM
    • Member
      533 point Member
    • RahulSoni
    • Member since 03-20-2009, 12:41 AM
    • Bangalore
    • Posts 113

    Updates?

    Cheers,
    Rahul Soni

    Premier Field Engineer - Microsoft
    www.dotnetscraps.com

    Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.

Page 1 of 1 (7 items)