Running a command line executable from Web application problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bradwest1217
    New Member
    • Oct 2007
    • 2

    Running a command line executable from Web application problem

    I am having a problem running a server command line executable from my web application. What is happening is I cannot make a database connection using the command line application (written in VB.net). Here is the error I get when doing it.

    ERROR ERROR [08001] [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
    ERROR [01000] [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).
    ERROR [01S00] [Microsoft][ODBC SQL Server Driver]Invalid connection string attribute at System.Data.Odb c.OdbcConnectio n.Open()
    at Insuraware.Util ities.IWDatabas e.Connect()
    at Insuraware.Util ities.IWDatabas e..ctor()
    at ConduitEDI.modM ain.Main()

    This command line application works correctly if ran on the server manualy, but it causes a db connection problem when ran as a process through the web application.

    Brad West
  • bradwest1217
    New Member
    • Oct 2007
    • 2

    #2
    As a side thought I know that the command line application will be running in the internet zone. Do I have to make any specific settings to IIS or .Net configuration on the server so the command line application has permission to create a db connection.

    Comment

    Working...