![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi Jason, Thank you for your posting. If I understand properly, you created a SSIS package which downloads a file from a FTP site and then inserts data into a SQL table. If you use a variable you receive the error message saying that "Failed to lock variable". You have set the variable in the script task and set the experssion property to @[User::sRemotePath]. To create and use package variables, you can refer to the "Creating and Using Package Variables" section of SQL Server 2005 Books Online: http://msdn2.microsoft.com/en-us/library/ms136082.aspx If this problem continues, please help us collect some information so that we can perform further research on this issue: 1. How did you set the variable in the script task? Please describe it in detail. 2. Please perform the following steps to take a screen shot of the error message dialog box: - When the error message appears, press Alt + Pr Scrn to capture a screen shot. The Pr Scrn is a key on the keyboard. It normally locates above the Insert key. - From Start, go to Run, enter MSPAINT in the Open box, and then click OK. - Use Ctrl + V to paste the screen shot to the canvas. - From the File menu, go to Save and save as a JPG or BMP file. Please send it to me at your earliest convenience. If you have any updates, please feel free to let us know. We are glad to be of assistance. Have a nice day! Best regards, Laura Zhang Microsoft Online Partner Support When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== === Business-Critical Phone Support (BCPS) provides you with technical phone support at no charge during critical LAN outages or "business down" situations. This benefit is available 24 hours a day, 7 days a week to all Microsoft technology partners in the United States and Canada. This and other support options are available here: BCPS: https://partner.microsoft.com/US/tec...rview/40010469 Others: https://partner.microsoft.com/US/tec...pportoverview/ If you are outside the United States, please visit our International Support page: http://support.microsoft.com/common/international.aspx. ================================================== === This posting is provided "AS IS" with no warranties, and confers no rights. |
#4
| |||
| |||
|
|
Hi Jason, Thank you for your posting. If I understand properly, you created a SSIS package which downloads a file from a FTP site and then inserts data into a SQL table. If you use a variable you receive the error message saying that "Failed to lock variable". You have set the variable in the script task and set the experssion property to @[User::sRemotePath]. To create and use package variables, you can refer to the "Creating and Using Package Variables" section of SQL Server 2005 Books Online: http://msdn2.microsoft.com/en-us/library/ms136082.aspx If this problem continues, please help us collect some information so that we can perform further research on this issue: 1. How did you set the variable in the script task? Please describe it in detail. 2. Please perform the following steps to take a screen shot of the error message dialog box: - When the error message appears, press Alt + Pr Scrn to capture a screen shot. The Pr Scrn is a key on the keyboard. It normally locates above the Insert key. - From Start, go to Run, enter MSPAINT in the Open box, and then click OK. - Use Ctrl + V to paste the screen shot to the canvas. - From the File menu, go to Save and save as a JPG or BMP file. Please send it to me at your earliest convenience. If you have any updates, please feel free to let us know. We are glad to be of assistance. Have a nice day! Best regards, Laura Zhang Microsoft Online Partner Support When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== === Business-Critical Phone Support (BCPS) provides you with technical phone support at no charge during critical LAN outages or "business down" situations. This benefit is available 24 hours a day, 7 days a week to all Microsoft technology partners in the United States and Canada. This and other support options are available here: BCPS: https://partner.microsoft.com/US/tec...rview/40010469 Others: https://partner.microsoft.com/US/tec...pportoverview/ If you are outside the United States, please visit our International Support page: http://support.microsoft.com/common/international.aspx. ================================================== === This posting is provided "AS IS" with no warranties, and confers no rights. |
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Hi Jason, Would you please generate a small sample project with which I could reproduce it on my side? I understand the information may be sensitive to you, my direct email address is v-mingqc (AT) ONLINEmicrosoft (DOT) com (make sure you have REMOVE ONLINE before you click SEND), you may send the file to me directly and I will keep secure. You may compress the project in a zipped file Thank you for your patience and cooperation. If you have any questions or concerns, don't hesitate to let me know. We are always here to be of assistance! Sincerely yours, Michael Cheng Microsoft Online Partner Support When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== === This posting is provided "AS IS" with no warranties, and confers no rights. |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Hi Jason, Yes, I received your email and looking into the project. It seems your remote variable was used in a wrong way. Sincerely yours, Michael Cheng Microsoft Online Partner Support When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== === This posting is provided "AS IS" with no warranties, and confers no rights. |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |