SSIS: Getting a red X on OLE DB destination step - ssis

I'm trying to debug an SSIS job on my local desktop and am running into a problem with the last step, which is writing information to a database:
There are no errors in the output window:
I have no idea where else to look to find out what the problem is. Is there another place I should look to figure out what's up?

Check the output window for errors.
you can see a example output window here..

Related

How to display all failures and error messages in Jmeter html reports- Jmeter

I have a question about jmeter reports.
I run my test plan in non ui mode and get csv, and html dashboard in Jmeter.
The problem is in html dashboard that is not informative enough, when I finished the Jmeter run, I enter the csv, and I can see all the steps and all the thread groups and for each step to see if is pass or No, and the error message.
The html dashboard reports not informative, I can see the top 5 errors, but not in which thread group they happened, moreover I want to see all the error and to see exactly where it is failed. Is their a way to display the whole csv as html? since all the reports are for performance and not give data about functional. after the run still need to enter csv and filter success row to failure, and check for error and assertions.
Is their any solution to see in reports the full picture of errors?
** my purpose is that when entering the html report the manual QA can see exactly the errors and in which step and in which thread group, exactly like in the csv. and all of them, without grouping, just the full row data
Provided pic of csv and html dashboard
[][CSV each step get a line with results]
[][dashboard not understand which error occurred in which test and not get full error results]
This "Top 5 errors" is hard-coded so it isn't something you can easily configure. There is report-template folder under "bin" folder of your JMeter installation where default report template lives, you can amend FreeMarker configuration starting from here
An easier solution would be switching to JMeter Ant Task which contains very simplified test report in HTML format with verbose error information on each and every failure, it should be a good substitution for you as manual QAs normally don't need performance-related metrics and charts. See Five Ways To Launch a JMeter Test without Using the JMeter GUI article for more detailed explanation and example configuration.

MS Access - return code to DOS batch

5893.1
Hi all,
I have searched and got answers for my questions many times from this forum. However, I now have a question that I don't think anyone has asked before.
We use Windows DOS batch to compact MS Access 2010 DB files everyday. It seems Access does not pass any return code to DOS. So my question is: Is there a way to tell whether the compacting is successful or not from within the batch?
We use Win XP/7 machines for development, and Windows Server 2008 for production. We are running MS Access 2010.
The DOS batch has a line like "D:\Microsoft Office\Office14\msaccess.exe" %DBLoc%%BkupFile% /compact %DBLoc%%DBFile%
Any help is much appreciated.
Doesn't appear that there is a return code.
However, one time-tested technique is to pipe the output from the command to a text file and then test the contents of the text file. That way, if there's an error message printed at least you'll be able to catch that.
eg. add ' > test.txt' to the end of the command line.
You'd have to check on the available command shell tools to read the text.
You may also have to specifically redirect the error output separately from the command output. see here for redirection info : http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true
Edit: to head off the next question, some links on detecting the failure message in the text file
http://ss64.com/nt/findstr.html
How to set variable with the result of findstr

MS-Access compile options

Is there a compiler option in ms-access (2003) that requires all vba code to compile before allowing any code to run? I'd like to be able to turn it off. I've tried the unchecking the 'Require Variable Declaration' and 'Auto Syntax Check' options, but no result.
Background information
I've just been given an ms-access database that runs fine on their machine but will not run on my machine. I get this error message on startup:
"The expression On Open you entered as the event property setting produced the following error: Method or data member not found"
This is caused by vba compilation errors in what looks like redundant code. Interestingly the code doesn't compile on either machine, but on their machine it database is usable on my machine it isn't! I assume its something simple like a compiler option, except I can't find it!
(Before anyone mentions it I know that the real solution to the problem is to fix/remove the bad code)
Code will run in MS Access without all code compiling, however, On Open is a form property that runs code when the form is opened, so the code in that event will be compiled and run when the form opens. I have encountered this error before when a version of Access is run on a PC that has two versions installed (specifically, <2007 and >=2007). For me, the solution was to choose Repair from the Help menu.
Access has a /decompile command line switch. See the accepted answer to this StackOverflow question.

SSIS 2005 Saving Problem - SQL Task Editor

I have a relatively big SSIS package which I'm trying to edit. I basically need to update a query on an Execute SQL Task. Problem is the solution is not saving the query when I do the change. I open the SQL Task, change the query and close the task. I verify the change before saving and it's there but as soon as I click on the save button the change on the query disappears.
I verified for opened instances of the package but there are no other sessions on the machine. It does seems to be saving correctly on other packages included in the solution, but for some reason is not saving on my main package.
Make sure you have a backup copy of your package before you try this:
close the package (but keep the solution open)
right click the package and view code
search for your query and replace the query text with your new query text
save it
now double click the package to open it up like you normally do and view the query

"fatal error encountered during command execution" when trying to add a view from MySQL DB

I'm trying to add some tables and views from a MySQL database to a project in VS2005. After a lot of looking around I ended using the ADO.NET connector, which works pretty fine, except when trying to add a View with the Data source configuration wizard, where I get the "fatal error encountered during command execution" error message, and when I try adding one with the query builder, where it doesn't show me the name of the columns at the diagram pane.
If I add all the SELECT commands by hand, it works like a charm. Any ideas on what might be causing this and how to fix it?
Looks like View uses variables
To fix this add 'allow user
variables=true' to your connection
string. In this mode it will not
complain when it sees #data but
doesn't find a parameter of that name.
http://bugs.mysql.com/bug.php?id=40765