title: How to automate the run of stored procedure without using SQL Server Agent and SQLCMD?
body: <p>Our office does not have SQL Server agent installed and when I run SQLCMD command it gave me an error as shown below?</p>
  
  <blockquote>
    <p>Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft
    Corporation.  All rights reserved.</p>
    
    <p>C:\Users\c98035>sqlcmd  </p>
    
    <p>Sqlcmd: Error: Microsoft SQL Server Native
    Client 11.0 : Named Pipes Provider: Could not open a connection to SQL
    Server [2]</p>
    
    <p>Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Login timeout
    expired.</p>
    
    <p>Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : A
    network-related or in stance-specific error has occurred while
    establishing a connection to SQL Server. Server is not found or not
    accessible. Check if instance name is correct and if SQL Server is
    configured to allow remote connections. For more information see  SQL
    Server Books Online.</p>
  </blockquote>
  
  <p>Can someone help me to tell me another way or if you can help me fix the error above so I can use SQLCMD.</p>