I've deleted the RDL layout from report 111. Trying to run the report from RTC I get an error. It's in Danish despite English being selected for both the RTC and the Classic Client.
The Danish error message is "Microsoft Dynamics NAV Classic-klienten blev åbnet fra en komponent, som der ikke er tillid til", which roughly translates into "The Microsoft Dynamics NAV Classic Client was opened from a component which is not trusted".
Any suggestions?
Brian Rocatis
Senior NAV Developer
Elbek & Vejrup
0
Comments
Senior NAV Developer
Elbek & Vejrup
I think the only solution is to install the hotfix with build 28981 and then upgrade it again with build 31510.
Peter
For instance, all files in build 28981 are included in build 31510.
I've raised a support request with Microsoft.
Senior NAV Developer
Elbek & Vejrup
I have experienced that error message as well.
After making sure I used the same build no. for NST, RTC and CC it worked.
Edit:
If you are using NAV 2009 SP1 be sure to use at least build no. 31587.
It's a hotfix I got from MS where they have fixed some issues when running CC reports from RTC.
Like one hotfix included changes to the NAS, but the next hotfix didn't. Then the NAS files were simply not included in the second hotfix.
Peter
We will discontinue support for Classic reports in the future, so if there are issues blocking you for using RDLC reports I'm very much interested.
This is really the time to come with this feedback.
Regards,
Claus
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Hi Claus, really simple: Sales Invoice, Order, etc. They are a bitch to create and maintain in the RDLC.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Also, it used to be easy to clone a report by changing table names - e.g. take a posted invoice report, change it to the unposted tables - can't do that without deleting the layout.
http://mibuso.com/blogs/davidmachanick/
It seems like the developers for the report at MSFT did just enough to replicate what was the vanilla report instead of making a nice report that can be put into production right away.
Standard NAV reporting can get away with crappy standard layout because it was so easy and quick to make the formatting changes, add new fields, etc. You cannot make the same case for RDLC reports.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
However, it can make perfectly good sense to not do layouts for non-standard reports. I think you'll agree that the process is not exactly streamlined, and in any case you end up with two reports to maintain. If we define the task of creating or modifying a Classic report to 1, we're estimating 5 to 10 for the same report to run on both Classic and RTC. A lot of customers are not willing to pay that if they can still run the "old" report.
On top of that, having to maintain two (functionally) identical reports is frankly mindbogglingly boring and a constant source of error (the same report showing different results, depending on where you run it).
We are well aware of that - we're just hoping for a less cumbersome way of developing and maintaining RDLC reports before that future arrives [-o<
Senior NAV Developer
Elbek & Vejrup
The article indeed mentions exactly my problem (the correct error message was "Microsoft Dynamics NAV Classic client is opened from an untrustworthy component" which explains why all my searches for "not trusted" failed). Unfortunately it lists the resolve as installing a earlier build than the one I was already using.
Turns out the problem originated in the registry, specifically HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\. This key pointed to a v6.0 installation on my pc instead of my v6.01 installation.
Props to Zeeshan Mehdi from MS \:D/
Senior NAV Developer
Elbek & Vejrup
After a lot of struggling and a pair of bad developed reports, which i hope to not modify anymore, i started to think about "dataset-oriented" reports: i figured out that if you use only RTC version of the report, the NAV layout is USELESS, or better dangerous.
i started to think about what is the deepest detail possible, and make my way through related tables in order to obtain the necessary values for grouping, sorting, summing etc.
After that, i create a single body section with all my data, and i let the aggregate functions of the reporting services do the magic. I found them very powerful and flexible, and the grouping works great!!you can also manage these situations (which is difficult in classic client).
Group aggregate on item no. A
group aggregate on item no. B
group aggregate on item no. C
detail item no. a
detail item no. a
detail item no. b
detail item no. a
detail item no. c
detail item no. b
Moreover, you can order the data as you prefer, without the need of a nav key. My conclusion is that we should push our development in the rdlc, and reduce the nav report to give us a properly flattened data detail.
but of course, this is my personal experience, which is not much in the world of rdlc...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Conceptually I think it's a good idea to have the Classic report act as a data feeder to VS but when the transformation from theory to practice yields the result that we're now struggling with, it kinda stops making sense. We would probably have been better off creating and maintaining RTC reports completely disassociated from the Classic Client, not least because that is going to be the reality in the next version. In other words, the skills needed to make RTC reports work in NAV 2009 will be worthless when the next version arrives. And because those skills are associated with a rather steep learning curve I believe we'd be better off training for general VS skills than for making RTC report.
All this to explain why I wanted to run Classic reports from RTC in the first place :shock:
Senior NAV Developer
Elbek & Vejrup
i am currently doing my third report, and i've learnt a lot. The effort i put in my three reports was much (7-10 working days) but this third report (which is harder than the first 2) will take a much time less. The learning curve is steep, but with some practice you can make some reports that should be really hard or nearly technically impossible than classic client. Moreover, reporting are faster than classic reports (i don't know why, but trust me ).
you're right when you say that we should learn more generally visual studio, but up to now, i think that a good rdlc skill "makes the difference".
P.S.: you probably already know it, but running classic from rtc sucks up one license per user (which is running a classic report) as long as the preview is open
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog