Hi And TIA. Running VS2005 and IIS7.0. I have a procedure that copies a
file to a folder in my web application. When I run the project from VS it
runs fine . I'm usin IE as default viewer. But when I type it directly into
IE (http://localhost/Menu.aspx) it bombs when I try to open the connection
cause the file doesn't get copied to the folder. Any thoughts/advice is
appreciated.
Dim xConnStr As String = "Provider=Micro soft.Jet.OLEDB. 4.0;" _
& "Data Source=" & Server.MapPath( "WSMDDT_Old\MDB _Temp\" & strFile)
& ";" & _
"Extended Properties=""Ex cel 8.0;HDR=TRUE;IM EX=1"""
' create your excel connection object using the connection string
Dim objXConn As New OleDbConnection (xConnStr)
objXConn.Open()
--
Reggie
file to a folder in my web application. When I run the project from VS it
runs fine . I'm usin IE as default viewer. But when I type it directly into
IE (http://localhost/Menu.aspx) it bombs when I try to open the connection
cause the file doesn't get copied to the folder. Any thoughts/advice is
appreciated.
Dim xConnStr As String = "Provider=Micro soft.Jet.OLEDB. 4.0;" _
& "Data Source=" & Server.MapPath( "WSMDDT_Old\MDB _Temp\" & strFile)
& ";" & _
"Extended Properties=""Ex cel 8.0;HDR=TRUE;IM EX=1"""
' create your excel connection object using the connection string
Dim objXConn As New OleDbConnection (xConnStr)
objXConn.Open()
--
Reggie
Comment