Sponsors



Go Back   Zune Boards > Help Forum > Game and Hack Support

New Member?



 
Register Zunecentive FAQ Members List Calendar Search Today's Posts Mark Forums Read

Game and Hack Support Come here for help with any of the XNA based Zune Games or for help with any of the Hacks or zTools.

Reply
 
LinkBack Thread Tools
Old 07-21-2008, 07:23 PM   #1 (permalink)
Zewbie
 
Join Date: Jul 2008
Posts: 4
Reputation: 10
$zB: 0
Donate
Default XNA Game Studios Can't Connect to Zune (RPC Server unavailable)

Originally, I first encountered this error deploying since I have deployed many of my applications several times. Yet I installed TortoiseSVN which I doubt caused this and installed and shortly uninstalled AnkhSVN. Upon trying to deploy a small update to one of my applications to my Zune I got an error stating the RPC server is unavailable.

Event Viewer displays event: 1000;

Faulting application xnatrans.exe, version 3.0.10426.0, stamp 4813829c, faulting module kernel32.dll, version 5.1.2600.3119, stamp 46239bd5, debug? 0, fault address 0x00009dea.

I checked the Remote Procedure Call (RPC) services and it was currently running. I also tried enabling Remote Procedure Call (RPC) Locator but that didn't change the outcome.


I have tried:
uninstalling and reinstalling XNA 3 CTP.
Used system recovery to the last date where I had a successful build.
Uninstalled XNA 3 CTP, Visual Studio C# Express, almost all of the related installed applications. (Upon reinstalling I had issues with getting the zune to be recognized until I updated windows media player to version 11).

The issue now appears when I try to the zune device with XNA Game Studio Devices app and it generates the same event in the Event Viewer.

Does anyone have any ideas what is causing my xna connection to fail?



KuroKaze78 is offline   Reply With Quote
Remove Advertisements Sponsored Links
Advertisement
 
Old 07-21-2008, 07:31 PM   #2 (permalink)
also a n00blet chef
An army of many
Jr. Staff
zB Programmer
Experienced Member
 
itsnotabigtruck's Avatar
 
Join Date: May 2008
Posts: 856
Reputation: 174
$zB: 570
Donate
Awards Showcase
Best username 
Total Awards: 1
Default

I'm guessing something's wrong with the COM registration of xnatrans.exe, which is an out-of-process COM server. Try putting the following in a .reg and importing it:

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{151E9DE0-2A7E-4e7d-9FCB-997FCB8AE022}]
@="XNA Transport Server"

[HKEY_CLASSES_ROOT\CLSID\{151E9DE0-2A7E-4e7d-9FCB-997FCB8AE022}\LocalServer32]
@="\"c:\\Program Files\\Microsoft XNA\\XNA Game Studio\\v3.0\\Bin\\XnaTrans.exe\""
"ServerExecutable"="c:\\Program Files\\Microsoft XNA\\XNA Game Studio\\v3.0\\Bin\\XnaTrans.exe"

[HKEY_CLASSES_ROOT\CLSID\{151E9DE0-2A7E-4e7d-9FCB-997FCB8AE022}\TypeLib]
@="{F6F1AA1A-54E2-4de6-A7E9-01E2F293D34C}"
Alternatively, you could try RIG, a whole new system for application deployment that should sidestep your problem.

If you're planning on developing games for the Zune, you should strongly consider adding RIG using the RIG Development Kit.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

signature by
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Last edited by itsnotabigtruck : 07-21-2008 at 07:34 PM.




itsnotabigtruck is online now   Reply With Quote
Old 07-21-2008, 08:36 PM   #3 (permalink)
Zewbie
 
Join Date: Jul 2008
Posts: 4
Reputation: 10
$zB: 0
Donate
Default

Unfortunately, that didn't fix it. While I will check out RIG, it would still be ideal to get visual studio + XNA 3 CTP correctly working for debug and testing purposes. Thanks for the info though.

Regarding COM. The initial problem displayed by by visual studio before I deleted my zune device mention an error creating a com connection or something similar and the error was caused by RPC unavailable.


I can get a device added and I would assume that I could get a build sent when I do it under a new user. However Im not sure what reg settings or application setting files I should transfer into my current user so I dont need to use a workaround.

Last edited by KuroKaze78 : 07-21-2008 at 08:54 PM. Reason: Tested new user.



KuroKaze78 is offline   Reply With Quote
Old 07-21-2008, 09:11 PM   #4 (permalink)
also a n00blet chef
An army of many
Jr. Staff
zB Programmer
Experienced Member
 
itsnotabigtruck's Avatar
 
Join Date: May 2008
Posts: 856
Reputation: 174
$zB: 570
Donate
Awards Showcase
Best username 
Total Awards: 1
Default

Did you paste that stuff in the code box into a text file with a .reg extension and run it?
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

signature by
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




itsnotabigtruck is online now   Reply With Quote
Old 07-21-2008, 09:20 PM   #5 (permalink)
Zewbie
 
Join Date: Jul 2008
Posts: 4
Reputation: 10
$zB: 0
Donate
Default

Yeah. I did exactly that. And upon going to the specified reg/systems these keys are entered, however the issue still remains. However, wouldn't the fact that it works on a new user mean that the only reg keys that would make a difference would be the user/current user reg values.



KuroKaze78 is offline   Reply With Quote
Old 07-23-2008, 07:30 PM   #6 (permalink)
Zewbie
 
Join Date: Jul 2008
Posts: 4
Reputation: 10
$zB: 0
Donate
Default

Its resurfaced on the new user that I just made 2 days ago. I deployed a build once on the zune and then it started screwing up again. This time I got the error in Visual Studio so it gives a different error message.


Error 1 Unable to cast COM object of type 'Microsoft.Xna.RemoteServices.ServiceClient' to interface type 'System.IDisposable'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{805D7A98-D4AF-3F0F-967F-E5CF45312D2C}' failed due to the following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA). 0 0



KuroKaze78 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Register and remove this ad

All times are GMT -8. The time now is 02:06 PM.

 
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC8
vB Ad Management by =RedTyger=
(C) ZuneBoards 2006-2007
Copyright © 2006 - 2008 Zune Boards | About Zune Boards | Legal | A member of the Crowdgather Forum Community