{codetrip.com}
17Feb/110

Turn off block highlighting in Visual Studio 2010

This too was driving me crazy.  I put up with it for a few months and finally decided to fix it.  The top post here says it all.

7Feb/110

Preparing the board (wma11b)…

After getting a couple of RS232 level shifters in the mail, I heated up the soldering iron and prepared the board.  Using Andrew Wild's instructions, I now have a jtag connection and a serial connection.

Testing the serial port was fairly simple.  Using a 9pin - 9pin serial cable, I connected the device to the computer, fired up a terminal window, started minicom (you could use screen, Gtkterm or  another terminal emulation program to connect to the serial port), then powered on the device.  Success.

screen /dev/ttyS0 115200

I was a little unsure about how to test the JTAG connection, but after a little searching around I came across the urJTAG project.  I grabbed the latest version 0.10 and compiled it.  Browsing the documentation, I needed to start the program, set my cable, then run issue a detect command.

jtag> cable wiggler parallel 0x378
jtag> detect

Here are links for the parts I used:

ARM-JTAG cable:

http://www.olimex.com/dev/index.html

RS232 Level Shifter kits:

Endurance-Robotics: http://www.endurance-robotics.com/product.aspx?id=190

Sparcfun: http://www.sparkfun.com/products/133

CompSys Workbench: http://www.compsys1.com/workbench/On_top_of_the_Bench/Max233_Adapter/max233_adapter.html

19Jan/110

Parameter validation failed. It is not possible to provide valid values for all parameters.

I have a reporting services report file with cascading dropdowns.  The report worked fine when testing on my local machine.  I updated the report  to accept an internal parameter so that in the first dropdown, a subset of values would be displayed based on an authorization scheme.  I set a default value for the parameter and previewed the report.  It worked as expected.

This report is integrated into an ASP.NET website using the ReportViewer control.  I removed the default value from the report and deployed it to the report server.  I modified the ASP.NET code behind to grab and pass the parameter to the remote report.  Navigating to the web page:

Error:  Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError)

After hours of searching and trying various recommendations, I found the solution.

Navigate to the remote report server management page  (http://<reportserver>/Reports/Pages/Folder.aspx).  Drill down and hover the cursor over your report, open the menu and select Manage.

On the page that opens, select Parameters and make sure the Hide box is checked for the parameter of concern.

Apply the update, and test.