Error while preview the file

Discussion and feedback on Construct 2

Post » Thu May 10, 2012 12:45 pm

Hi All,

I am getting the following error while previewing the file.
Error during export: Unable to Start HTTP server on localhost port 5000 (1114)

I have already added ports 5000-5010 in firewall.

I am using the latest CS2 i.e. 84.

OS: WIN7

I have also tried 'Run as administrator' to launch CS2.

Any solution?

Thanks,
Shailesh

Screenshots,



shaileshm2012-05-10 13:07:48
B
9
S
2
G
4
Posts: 23
Reputation: 2,766

Post » Thu May 10, 2012 2:03 pm

The port should be set to 50000 (fifty thousand), not 5000 (five thousand). Did you type in the wrong port number in Preferences? The same goes for your firewall, you need to make sure the port range is from fifty thousand.

Failing that see troubleshooting Construct 2's preview server.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu May 10, 2012 2:17 pm

Yes, it was 50000, but it was not working. I tried port 5000 to check out.

Port 50000 was also added in Firewall.

I have already gone through the above blog and tried all, but didn't work.

Thanks,
Shailesh



shaileshm2012-05-10 14:27:48
B
9
S
2
G
4
Posts: 23
Reputation: 2,766

Post » Thu May 10, 2012 2:30 pm

@shaileshm, your pictures still show port 5000. This will definitely not work. It has to be 50000! Have you tried going through the troubleshooting I linked to with both the preferences and firewall set to port 50000?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu May 10, 2012 2:41 pm

Yes Ashley, I have changed the port to 5000 coz 50000 was not working.

I have re-tried the port 50000 but still getting the same error msg.

I have already gone through the troubleshooting link and tried all options but it didnt work.

What type of other security reason may cause this issue, any clue?




B
9
S
2
G
4
Posts: 23
Reputation: 2,766

Post » Thu May 10, 2012 2:52 pm

Hi
I am checking the other possibilities. I have reinstalled the older version of C2 80 and got the following error msg.

---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:

After creating request queue, handle is NULL

Condition: hRequestQueue != NULL
File: HttpFileServer.cpp
Line: 47
Function: void __cdecl HttpFileServer::Start(const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,int)
Build: release 80.2 (64-bit) checked
Component: HTML5 exporter
(Last Win32 error: 0)

You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.
---------------------------
Abort   Retry   Ignore   
---------------------------
B
9
S
2
G
4
Posts: 23
Reputation: 2,766

Post » Thu May 10, 2012 2:56 pm

Error 1114 in the initial error message is ERROR_DLL_INIT_FAILED, "A dynamic link library (DLL) initialization routine failed". This sounds like a Windows installation problem maybe... has it ever worked or did it recently break? Can you provide more details about your computer hardware, setup, OS version, etc?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu May 10, 2012 3:08 pm

WIN7 - 64 bit
Service Pack 1
8 GB Ram, i5 3.10 GHz

It was working earlier, but now it is crashing. It was never worked on latest version of C2.

Not sure, whether any new security patch/rule on my machine crashing file preview.
B
9
S
2
G
4
Posts: 23
Reputation: 2,766

Post » Thu May 10, 2012 3:09 pm

It sounds like an installation conflict. Have you installed any software recently? The preview server has not changed at all over the past few C2 releases so if it broke I doubt it is a change in C2, it must be something else on your computer...
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Tue May 22, 2012 11:14 am

We are still checking the possible cause on WIN7, for time being we have setup WIN XP machine. It is working fine on XP machine.

Will update if the solution found for WIN 7.

thanks,
Shailesh
B
9
S
2
G
4
Posts: 23
Reputation: 2,766

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 17 guests