![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
ERRORS and CODE DTSRUN OUTPUT C:\Documents and Settings\jwildes>dtsrun /S USGLE98APPFX100 /U stmt /P |
|
CODE Imports DTS Module DataFunctions Public Function refreshStatementData(ByVal progressbar As System.Windows.Forms.ProgressBar, ByVal label As System.Windows.Forms.Label) Dim pkg As New DTS.Package Dim steps As String Dim bStatus As Boolean Dim errSource As String Dim errDescription As String Dim i As Integer Dim oStep As [Step] Dim sMessage As String 'load DTS package from server pkg.LoadFromSQLServer("USGLE98APPFX100", "stmt", "generator", , , , , "Refresh TAM Data", ) pkg.Execute() For Each oStep In pkg.Steps sMessage = oStep.Description If oStep.ExecutionResult = DTSStepExecResult.DTSStepExecResult_Failure Then sMessage = sMessage & " failed." bStatus = False label.Text = sMessage oStep.GetExecutionErrorInfo(i) MsgBox("Refresh Statement Data step " & sMessage & " with error code " & i, MsgBoxStyle.Information, "Refresh Statement |
|
Else sMessage = sMessage & " succeeded." label.Text = sMessage progressbar.PerformStep() bStatus = True MsgBox("Refresh Statment Data step " & sMessage, MsgBoxStyle.Information, "Refresh Statement Generator Data") End If Next End Function 'refreshStatementData End Module |
|
Hello I posted a couple of days ago about this issue that I am having. See post titled "DTS Package error out when called from VB.NET" . I am still having the same problem and have invested many hours into troubleshooting and recreating this package only to be at square one. I have referenced two Microsoft support documents 269074, and 242391. I believe I have narrowed down the problem to the fact that in my DTS package I have two connections an ODBC FoxPro connection to a UNC path, and an OLEDB FoxPro Connection to a UNC path. I have included authentication information into the properties of each of these connections. Does anyone have any knowledge of creating or executing DTS packages from DTSRUN or VB.NET when the DTS package contains a connection to a datasource that does not reside on the physical server where the DTS package is being executed? I feel I have given most of the relevant information if there are any questions please post back I will try to answer them. I am really at my wits end here, I KNOW someone has done this before. I appreciate any help. Thanks john |
![]() |
| Thread Tools | |
| Display Modes | |
| |