superoy Posted July 2, 2013 Report Share Posted July 2, 2013 Goodmorning! I'm fairly new to creating servers and I just got to know Uniform Server.However when I boot 'Start_as_program.exe' I should get a window saying that I have to change my password.In my case it gives an Error straight away, this one;An error has occurred in the script page. Line: 250Char: 2Error: Input past end of fileCode: 0URL: file:///C:/UniServer/uni_con/includes/core_functions_inc.vbsDo you want to continue running scripts on this page? Yes/No. (I didn't change a thing in that core_functions_inc.vbs) I checked line 250, maybe theres something unusual here?Line 245-260Function us_port_in_use_ap(port)Dim temp_file, FS,sInputtemp_file = US_TMP & "\port_check.txt" 'Temp file for netstat resultscall ExecCMD("cmd /c netstat -anp tcp >" & temp_file,0,true) 'true=waitSet FS = CreateObject("Scripting.FileSystemObject") 'Create file objectsInput = FS.OpenTextFile(temp_file).ReadAll 'Read file content 'Is port in useIf InStr(sInput, "0.0.0.0:" & port & " ") Then us_port_in_use_ap = true 'Yes return trueElseus_port_in_use_ap = false 'No return falseEnd if Set FS = Nothing End Function System:Windows Ultimate 64 bits4 core @ 3.1ghz, 4 gb ram, Ati Radeon 5770. I think I tried everything, i searched through the forums, and couldn't find any solutions.I hope somebody can help me. Hope to hear from you soon! /Roy. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.