Forum Feedback Firewall - Test Server

Problem with the website? Confused about something? Or maybe you just have something you'd like to suggest. This is the place to do it.

Firewall - Test Server

Postby p.eastman » June 29th, 2010, 7:04 pm

I am trying to get started using player.io, I am not new to flash but I am new to using C#...

I installed the express 2010 Visual C#, version as it is suggested in the tutorial and followed the instructions under getting started with the flash combo package but I am having a problem connecting to the server which I believe is my firewall, although the directory where Fridge Magnets is installed shows that vshosts.exe has access to network services (after I got a popup from my firewall I unblocked that application)

However Is there something else - a port that I need to open? because I am stlll getting the
Internet Connectivity required
popup, I am running XP Pro..

I have apache installed for local development of PHP scripts could that also be an issue?

Any help much appreciated!
p.eastman
 
Posts: 6
Joined: June 29th, 2010, 6:42 pm

Re: Firewall - Test Server

Postby nirza » June 30th, 2010, 11:12 am

I don't think 2010 is supported because it uses .net 4.0, I don't know if it's the problem but maybe try to change the settings to use 3.5.
nirza
 
Posts: 39
Joined: April 10th, 2010, 11:50 am

Re: Firewall - Test Server

Postby p.eastman » June 30th, 2010, 8:09 pm

Nirza

Thanks for your reply.

Do you happen to know how to change settings so that the compiler uses the .NET 3.5 framework instead? I don't see
that sort of option anywhere - I am used to being able to change a config or ini text file for this sort of job.

Is removing the framework from my whole computer an option? I have a beta of Office 2010 which uses the newer framework but no other software - I don't really care if Office 2010 works or not :)

Best
Peter
p.eastman
 
Posts: 6
Joined: June 29th, 2010, 6:42 pm

Re: Firewall - Test Server

Postby nirza » June 30th, 2010, 9:02 pm

see this topic
post942#p942
nirza
 
Posts: 39
Joined: April 10th, 2010, 11:50 am

Re: Firewall - Test Server

Postby p.eastman » June 30th, 2010, 9:36 pm

Thanks,

I did that and no doubt that would have caused me the same problem others had later but I don't think it solved my connection issue..

I have to confess that I am not a regular online gamer so I am wondering if it could be a port that most other folks
would have open to do gaming, that I just don't have open? Maybe I need a better firewall that will allow me more options?

Best
Peter
p.eastman
 
Posts: 6
Joined: June 29th, 2010, 6:42 pm

System.InvalidOperationException was unhandled

Postby p.eastman » July 1st, 2010, 9:18 pm

Thanks to Nirza again for pointing out the Fridge magnets post.

First I tried to get it working with the .NET 3.5 target (following BigSmurfs suggestion) and It didn't make any difference then I decided that I would install VCS 2008 and try that - this time I got an error I hadn't received before - that is when
you know you are making progress :)

Code: Select all
System.InvalidOperationException was unhandled


Anyone else getting this error?

I did not change any of the vcs code BTW...

I am still getting the
Internet Connectivity required
popup too. And BTW I tried running Test Server
without Firewall - no difference.

Best
Peter
p.eastman
 
Posts: 6
Joined: June 29th, 2010, 6:42 pm

Re: Firewall - Test Server

Postby Oliver » July 2nd, 2010, 1:15 pm

Hi,

Two questions;

a) When/How are you getting the InvalidOperationException?

b) The internet connectivity dialog popups if the dev server cannot download this url http://api.playerio.com/developmentserver/versioncheck -- can you check that you can open that url in a web browser?

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Re: Firewall - Test Server

Postby p.eastman » July 2nd, 2010, 8:21 pm

To answer part 2 first I can open http://api.playerio.com/developmentserver/versioncheck
in my browser

Here is how I get exception:

Open Serverside Game Code.sln (VCS 2008 Express) in FridgeMagnets directory

Build
Start Debugging
Internet Connectivity Required
popup comes up after about 5 secs - I click Quit
I try an launch FridgeMagnets.html anyway ...( I have previously opened FridgeMagnets.fla and FridgeMagnets.as and edited the as file to take the generate game_id from my player.io control panel)

Connecting message and then blank screen
Internet Connectivity Required
popup I click Quit
Unable to Connect
Stop Debugging and Start again
I try and reload FridgeMagnets.html
Internet Connectivity Required
popup comes up after about 2 secs - I click Quit
A console windown in VCS flashes up and closes right away
Browser window changes message from Connecting to Unable to Connect
I try and reload FridgeMagnets.html
Exception is thrown:

Code: Select all
System.InvalidOperationException was unhandled
  Message="Invoke or BeginInvoke cannot be called on a control until the window handle has been created."
  Source="System.Windows.Forms"
  StackTrace:
       at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
       at System.Windows.Forms.Control.BeginInvoke(Delegate method)
       at bc.a(Object A_0)
       at System.Threading._TimerCallback.TimerCallback_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading._TimerCallback.PerformTimerCallback(Object state)
  InnerException:
p.eastman
 
Posts: 6
Joined: June 29th, 2010, 6:42 pm

Re: Firewall - Test Server

Postby p.eastman » July 2nd, 2010, 8:23 pm

And BTW

thanks for the help!
p.eastman
 
Posts: 6
Joined: June 29th, 2010, 6:42 pm


Return to Feedback