An error accurred while accessing the network.

Last post 05-05-2008, 9:18 PM by Alden. 7 replies.
Sort Posts: Previous Next
  •  05-05-2008, 3:42 PM

    An error accurred while accessing the network.

    Hi, I keep getting the error above on all of the XNA Windows Live games I try (I don't have any retail Windows LIVE games).  Is the Windows LIVE server down?  My Xbox LIVE membership is up-to-date, and my XNA membership expires on the 15th.  Please feel free to delete this post if there server is just down.  Thank you.
    Glitchin
  •  05-05-2008, 4:47 PM

    Re: An error accurred while accessing the network.

    All what XNA Windows Live games? Your games or others?
    Jim Perry
    Here's what I'm up to.
  •  05-05-2008, 7:12 PM

    Re: An error accurred while accessing the network.

    Mine and others.  Like the complete Going Beyond tutorial 5, that won't work online eithor.
    Glitchin
  •  05-05-2008, 7:40 PM

    Re: An error accurred while accessing the network.

    What exactly is the message and callstack of the exception you are getting? What line of code is it being thrown by?

    --
    XNA Framework Developer
    blog - homepage
  •  05-05-2008, 7:49 PM

    Re: An error accurred while accessing the network.

    This is from Going Beyond Tutorial 5 (download from this website.)

    =======================

    Microsoft.Xna.Framework.Net.NetworkException was unhandled
      Message="An error occurred while accessing the network."
      Source="Microsoft.Xna.Framework"
      StackTrace:
           at Microsoft.Xna.Framework.GamerServices.ErrorHandler.ThrowExceptionFromResult(UInt32 result)
           at Microsoft.Xna.Framework.GamerServices.Gamer.EndGetProfile(IAsyncResult result)
           at Microsoft.Xna.Framework.GamerServices.Gamer.GetProfile()
           at GoingBeyond5.Game1.DrawLobby() in C:\Users\Alden\Downloads\XNA\GoingBeyond5_Tutorial\GoingBeyond5\Game1.cs:line 314
           at GoingBeyond5.Game1.Draw(GameTime gameTime) in C:\Users\Alden\Downloads\XNA\GoingBeyond5_Tutorial\GoingBeyond5\Game1.cs:line 137
           at Microsoft.Xna.Framework.Game.DrawFrame()
           at Microsoft.Xna.Framework.Game.Tick()
           at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
           at Microsoft.Xna.Framework.GameHost.OnIdle()
           at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
           at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
           at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
           at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
           at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
           at System.Windows.Forms.Application.Run(Form mainForm)
           at Microsoft.Xna.Framework.WindowsGameHost.Run()
           at Microsoft.Xna.Framework.Game.Run()
           at GoingBeyond5.Program.Main(String[] args) in C:\Users\Alden\Downloads\XNA\GoingBeyond5_Tutorial\GoingBeyond5\Game1.cs:line 678

    ==================================

    The code is

    GamerProfile gamerProfile = gamer.GetProfile();

    It's worked before, I just did a fresh restart on both my development computer and my network hardware.  Nothing changed.

    ==================================

    Do you need the locals?  There are tons.  Where may I get the callstack?

     

    Thanks.



    Glitchin
  •  05-05-2008, 8:34 PM

    Re: An error accurred while accessing the network.

    What profile are you trying to read the data for?

    One reason this might be failing is if it isn't a Live profile, there won't be any data available for it to read.

    --
    XNA Framework Developer
    blog - homepage
  •  05-05-2008, 8:54 PM

    Re: An error accurred while accessing the network.

    My profile, seizedkitten2, has a monthly Xbox LIVE membership and my XNA membership expires on the 15th.

    Glitchin
  •  05-05-2008, 9:18 PM

    Re: An error accurred while accessing the network.

    I used a different profile (made one), and it worked fine.  I must have a problem with one of my memberships.  I'll look into it.

    Anyway, thanks for your help.


    Glitchin
View as RSS news feed in XML
©2007 Microsoft Corporation. All rights reserved. Privacy Statement Terms of Use Code of Conduct Feedback