| Author | 
		Message | 
	
	
		
			jambai 
			 
			
  
			
			
				Joined: 14 Feb 2013 Posts: 22 Country: United States | 
			 
			  
		 | 
		
			
				  Script Fail to run | 
				     | 
			 
			
				Hi,
 
 
I just installed the 24x7 version 5.1 Build 395 to my PC and try to run the below VBscript.  However, I got the following errors from the Job log and Output. 
 
 
	  | 
	
 
	  | 
	Sub Main()
 
   MsgBox "Hello World"
 
End Sub | 
	 
 
 
 
Job Log: 
 
 
This is a 30-day trial product. It may not be used for production purposes. (30 days left)
 
Copyright (c) 2004-2013 SoftTree Technologies, Inc.
 
Detached job started.
 
 
Press Ctrl+C to abort
 
 
2013-02-19 15:21:15,353 [VBScript] ERROR com.softtreetech.jscheduler.business.runner.vbscript.VBScriptRunner - com.develop.jawin.COMException: 8000ffff: passed end of stream in the marshalling layer
 
2013-02-19 15:21:15,390 [Job #10 - TestJob] ERROR com.softtreetech.jscheduler.business.runner.JobExecutorImpl - Job errors: An error occurred while executing automation script: Error #0: Unknown error
 
ERROR: An error occurred while executing automation script: Error #0: Unknown error
 
2013-02-19 15:21:15,392 [Job #10 - TestJob] ERROR com.softtreetech.jscheduler.JSchedulerStarter - Job execution failed. See job log file for details.
  | 
			 
		  | 
	
	
		| Tue Feb 19, 2013 8:07 pm | 
		          | 
	
	
		  | 
	
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Is this a fresh install on a system where 24x7 any version has never been installed? 
 
If not, which version have you had there before?
  | 
			 
		  | 
	
	
		| Tue Feb 19, 2013 11:35 pm | 
		          | 
	
	
		  | 
	
	
		
			jambai 
			 
			
  
			
			
				Joined: 14 Feb 2013 Posts: 22 Country: United States | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Yes this is a fresh Install on a system which is running on OS Windows 2008 R2 
 
 
Thanks
  | 
			 
		  | 
	
	
		| Wed Feb 20, 2013 12:31 pm | 
		          | 
	
	
		  | 
	
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Some dependency is missing, but I'm not yet sure what it is.
  | 
			 
		  | 
	
	
		| Wed Feb 20, 2013 5:25 pm | 
		          | 
	
	
		  | 
	
	
		
			jambai 
			 
			
  
			
			
				Joined: 14 Feb 2013 Posts: 22 Country: United States | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Is there a way to find the required dependencies ?
 
 
Got the same error with Windows 7 (64) system also.
 
 
[img]
 
 
 
[/img]
 
 
Thanks
  | 
			 
		  | 
	
	
		| Wed Feb 20, 2013 5:31 pm | 
		          | 
	
	
		  | 
	
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Can you please search your hard disk for copies of MSVBVM60.DLL If you find them, please check their versions and let us know in which folders you have found them
  | 
			 
		  | 
	
	
		| Wed Feb 20, 2013 11:40 pm | 
		          | 
	
	
		  | 
	
	
		
			jambai 
			 
			
  
			
			
				Joined: 14 Feb 2013 Posts: 22 Country: United States | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Found the said DLL in C:\24x7. I tried installing the VB Runtime also, but no luck
 
 
Below is the DLL version detail.
 
 
[img]
 
 
 
 
Thanks[/img]
  | 
			 
		  | 
	
	
		| Thu Feb 21, 2013 1:10 pm | 
		          | 
	
	
		  | 
	
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Please try moving that DLL into windows system folder.
  | 
			 
		  | 
	
	
		| Thu Feb 21, 2013 1:36 pm | 
		          | 
	
	
		  | 
	
	
		
			jambai 
			 
			
  
			
			
				Joined: 14 Feb 2013 Posts: 22 Country: United States | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Still the same.
 
 
When I search it again after adding my c into search index, I found the DLL in the below locations.
 
 
C:\Windows\winsxs\x86_microsoft-windows-msvbvm60_31bf3856ad364e35_6.1.7600.16385_none_c25a1af6b30d72ee
 
C:\Windows\SysWOW64
 
C:\Windows\System32 (I moved it here from C:\24x7)
 
 
Thanks
  | 
			 
		  | 
	
	
		| Thu Feb 21, 2013 2:10 pm | 
		          | 
	
	
		  | 
	
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Perhaps you can use Syinternals' free 
 
Process Monitor to find out which files 
 
the 24x7 process cannot load when
 
 starting VBScript job.
  | 
			 
		  | 
	
	
		| Thu Feb 21, 2013 4:57 pm | 
		          | 
	
	
		  | 
	
	
		
			jambai 
			 
			
  
			
			
				Joined: 14 Feb 2013 Posts: 22 Country: United States | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				I installed Sysinternals monitor.
 
 
But its hard to identify the files which can not load by 24x7.
 
 
Thanks
  | 
			 
		  | 
	
	
		| Thu Feb 28, 2013 1:49 pm | 
		          | 
	
	
		  | 
	
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				In the monitor please set filter for file access events and only for these that fail
  | 
			 
		  | 
	
	
		| Thu Feb 28, 2013 3:38 pm | 
		          | 
	
	
		  | 
	
	
		
			jambai 
			 
			
  
			
			
				Joined: 14 Feb 2013 Posts: 22 Country: United States | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Sorry, Do not find any event with result fail.
 
 
Thanks
  | 
			 
		  | 
	
	
		| Thu Feb 28, 2013 3:59 pm | 
		          | 
	
	
		  | 
	
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Please contact support-AT-softtreetech.com to  schedule a remote support session so that we can check what 24x7 cannot find or otherwise can finds but it's still not working together.
  | 
			 
		  | 
	
	
		| Thu Feb 28, 2013 11:01 pm | 
		          | 
	
	
		  | 
	
	
		
			jambai 
			 
			
  
			
			
				Joined: 14 Feb 2013 Posts: 22 Country: United States | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Thank you support@softtreetech.com
 
 
The issue has been fixed.
 
 
Run the command prompt as an Administrator and register the vb24x7.dll (C:\24x7>regsvr32 vb24X7.dll)
 
 
Thanks
  | 
			 
		  | 
	
	
		| Thu Mar 07, 2013 1:18 pm | 
		          | 
	
	
		  | 
	
	
		 |