| Author |
Message |
AdamL
Joined: 24 Oct 2006 Posts: 10
|
Posted: Wed Nov 15, 2006 9:28 pm Post subject: Line is too long??? |
|
|
I have recorded about 15 Scripts the first error I recieve when running my project is that line x is too long. I find this very funny considering Ants Load was the program to generate the script. Is this something that I am really going to have to manually go though every single line that is too long and change.
There has to be a better way I cant believe that this issue was not taken into consideration during product creation ???
Please Help  |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6345 Location: Red Gate Software
|
Posted: Thu Nov 16, 2006 12:43 pm Post subject: |
|
|
Hi Adam,
This could be happening in the event that you had recorded a file upload. The scripting method for handling the multipart/form-data posts was done as a hotfix and hasn't been sufficiently tested. If you script a file upload and the file is a few MB, it is Base64 encoded and added to the script. This is not an ideal solution, as it should really add the file as a resource in the project and read it with a resource reader to prevent this. But development time allowed didn't permit us to implement this way.
What you can probably do is locate this line, hit RETURN on it, and append the next line:
| Quote: |
"abcdef016782476BDjjshajsaasdkjs\d..."
-becomes -
abcdef016782476BD" & _
"jjshajsaasdkjs\d...
|
_________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
AdamL
Joined: 24 Oct 2006 Posts: 10
|
Posted: Thu Nov 16, 2006 1:56 pm Post subject: |
|
|
Ok thank you this seems to work, I just wish that this issue was handled automatically by the program generating the scripts in this case Ants Load. But this solution seems to work fine.
Thanks Again,
AdamL |
|
| Back to top |
|
 |
AdamL
Joined: 24 Oct 2006 Posts: 10
|
Posted: Fri Nov 17, 2006 3:31 pm Post subject: |
|
|
ANSWER:
This is the correct method sorry Brian the above does not work
"asdfasdfasdfasdfasdfasf"
becomes
"asdfasdfasdf" _
+ "asdfasdfasf" |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6345 Location: Red Gate Software
|
Posted: Fri Nov 17, 2006 4:22 pm Post subject: |
|
|
Hi Adam,
It should work either way in VB .NET. But maybe the continuation _ and then the ampersand on the next line works. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group