I am working on a project for an organization which uses a web-based software program that works with sql 2005.
Excel forms were created to access data from the database/tables using visual basic. After upgrading the server from Windows 2003 to Windows 2008, the excel forms no longer work, even though they changed IP address in the module/code. Is this a matter of changing from ODBC to something else? I'm not sure this is a programming problem or a connection problem. any advice would be appreciated.
here is a sample of the code:
Execute_SQL_Command = 0
' Connect using the SQLOLEDB provider.
cn.Provider = "sqloledb"
' Specify connection string on Open method.
provStr = "Server=xx.xxx.xxx.xxx;xxxdatabase=" & SQLDatabase & ";uid=xxx;pwd=xxx
Excel forms were created to access data from the database/tables using visual basic. After upgrading the server from Windows 2003 to Windows 2008, the excel forms no longer work, even though they changed IP address in the module/code. Is this a matter of changing from ODBC to something else? I'm not sure this is a programming problem or a connection problem. any advice would be appreciated.
here is a sample of the code:
Execute_SQL_Command = 0
' Connect using the SQLOLEDB provider.
cn.Provider = "sqloledb"
' Specify connection string on Open method.
provStr = "Server=xx.xxx.xxx.xxx;xxxdatabase=" & SQLDatabase & ";uid=xxx;pwd=xxx