book
                        
Article ID: KB0073611
                        
                    
                    
                        calendar_today
                        
Updated On: 
                    
                 
                
                        
                            
Description
                        
                        
                              User encountered error "Directory is not writable" when running simple workspaces with R node in WebStatistica, e.g, the Statistica example workspace RNode.sdm.  
----------------  
Directory is not writable.  
Error Source: line 208  
Runtime Error at "LaunchMonitor.svx" (97)  
-----------------    
    Checking the Windows Event Viewer logs for Statsoft, it gave below entries:  
--------------  
COM Error: Access is denied.  
Directory is not writable.  
--------------    
    The user is under WebStatistica user group SWS_USER, but not SWS_Admin.     
If scheduling the workspace as a batch job in WebStatistica, it gave messages like:  
------------------  
Scheduling the workspace: The workspace does not create any batch job results or creates any error message.  
------------------  
                        
 
                     
                    
                    
                        
                            
                                
Resolution
                            
                            
                                  This is due to the reason that the user under WebStatistica user group SWS_USER does not have access to the WebStatistica RepositoryRoot folder.   
The solution is to add SWS_USER group or Everyone to the list of Usernames and give the group full control access to the WebStatistica Repository root folder:  ":\WebSTATISTICAPub\RepositoryRoot\"    
Please follow instructions in this article to resolve the RepositoryRoot folder access permissions:     
https://support.tibco.com/s/article/User-belonging-to-SWS-USER-group-is-unable-to-publish-reports-due-to-an-Access-is-denied-error  
                             
                         
                        
                    
                        
                            
                                
Issue/Introduction
                            
                            
                                "Directory is not writable" error when running workspaces in WebStatistica