XNA Creators Club Online
Page 1 of 1 (8 items)
Sort Posts: Previous Next

GamerServicesNotAvailableException

Last post 10-01-2008 11:59 AM by Kazzahdrane. 7 replies.
  • 01-05-2008 7:25 PM

    GamerServicesNotAvailableException

    While initializing my GamerServicesComponent I got the following exception:

    Microsoft.Xna.Framework.GamerServices.GamerServicesNotAvailableException was unhandled
      Message="Error initializing Games for Windows - LIVE. Another program is already using this functionality."
      Source="Microsoft.Xna.Framework"
      StackTrace:
           at Microsoft.Xna.Framework.GamerServices.KernelMethods.ProxyProcess.WaitForRemoteProcessToInitialize()
           at Microsoft.Xna.Framework.GamerServices.KernelMethods.ProxyProcess..ctor(UserPacketBuffer packetBuffer)
           at Microsoft.Xna.Framework.GamerServices.KernelMethods.Initialize(UserPacketBuffer packetBuffer)
           at Microsoft.Xna.Framework.GamerServices.GamerServicesDispatcher.Initialize(IServiceProvider serviceProvider)
           at Microsoft.Xna.Framework.GamerServices.GamerServicesComponent.Initialize()
           at Microsoft.Xna.Framework.Game.Initialize()...

    Does anyone know how to fix this?  Thanks.

  • 01-06-2008 11:54 AM In reply to

    Re: GamerServicesNotAvailableException

    Are you trying to run a client app and a server app on the same machine? Sean posted a comment on the Client/Server Sample stating that you need two machines:

    http://creators.xna.com/Headlines/developmentaspx/archive/2007/01/01/Network-Architectures_3A00_--Client_2F00_Server.aspx

  • 01-06-2008 2:16 PM In reply to

    Re: GamerServicesNotAvailableException

    Actually, it just started working for no reason whatsoever.  All I did was the Components.Add(new GamerServices(this)) Components.Add(new GamerServicesComponent(this)) to get that exception...
  • 01-07-2008 2:21 PM In reply to

    Re: GamerServicesNotAvailableException

    Try this instead:

     

    Components.Add(new GamerServicesComponent(this));
    


    Jim Perry - Microsoft XNA MVP
    Here's what I'm up to.
    If people spent a minute searching the forums before posting I'd be out of a job.
  • 01-08-2008 4:39 PM In reply to

    Re: GamerServicesNotAvailableException

    That's what I meant.  It was a typo.  Shoot me.  I told you already:  IT WORKS NOW.
  • 01-08-2008 4:45 PM In reply to

    Re: GamerServicesNotAvailableException

    Pigyman:
    That's what I meant.  It was a typo.  Shoot me.  I told you already:  IT WORKS NOW.

    Calm down. He was just trying to help. Also it's important to try and correct typos so that others with the same problem will not see your typo, expect it to work, and then freak out when it doesn't.

  • 09-27-2008 1:30 AM In reply to

    Re: GamerServicesNotAvailableException

    I have the same error when I try to run the app. I followed the instructions at http://creators.xna.com/en-us/starterkit/roleplayinggame. I do have Components.Add(new GamerServicesComponent(this)); in the constructor. But it still throws the same error. I  have installed it on just one PC. Are there any instructions on setting it up on two PC's and is it necessary?

     

    Thanks

  • 10-01-2008 11:59 AM In reply to

    Re: GamerServicesNotAvailableException

    I'm getting the same error if I run my application again immediately after closing it. I'm guessing this is because the process is still running in memory briefly and so the GamerService hasn't "ended" right away. I was just wondering if there was a way I could avoid this by removing the GamerService Component manually when I exit the application?

    I've Google'd and searched the forums here and haven't found an answer, but I'm sure that's because it's very simple and I'm just getting ahead of myself and trying to try things out that I don't really need yet.
Page 1 of 1 (8 items) Previous Next