Running Classic reports from RTC fails

rocatis
Member Posts: 163
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?
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
Senior NAV Developer
Elbek & Vejrup
0
Comments
-
i think that this hotfix should solve your error: https://mbs2.microsoft.com/Knowledgebas ... RWWLKLOKZR (KB article 969448).0
-
That could be because your build isn't all the files from build 31510, but only the files needed for whatever problem it was meant to solve. It is only once in a while they make a full release of a build, so we can't assume to have all previous fixes just because we have a higher build no. Try checking which files are included in the two builds...
I think the only solution is to install the hotfix with build 28981 and then upgrade it again with build 31510.Regards
Peter0 -
And always make sure that all objects in the RTC, Classic, Servicefolder have matching buildnumbers.0
-
pdj wrote:we can't assume to have all previous fixes just because we have a higher build no.
For instance, all files in build 28981 are included in build 31510.
I've raised a support request with Microsoft.Brian Rocatis
Senior NAV Developer
Elbek & Vejrup0 -
rocatis wrote: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".
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.0 -
rocatis wrote:Builds are accumulative.
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.Regards
Peter0 -
What is the reason for not keeping the layout?
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,
ClausClaus Lundstrøm | MVP | Senior Product Manager | Continia.com
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 :-)0 -
clausl wrote:What is the reason for not keeping the layout?
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
Hi Claus, really simple: Sales Invoice, Order, etc. They are a bitch to create and maintain in the RDLC.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
I agree - we need an easy way to delete fields in the report designer that deletes them in the RDLC layout too.
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.David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
On top of that, there has been no real attempt on the base product to take advantage of the RDLC features (document map, links, etc) on the out-of-the-box reports. So it makes it 10x harder to learn the RDLC reports unless you spend a ton of money taking classes or spend a lot of time going over the manuals.
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.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
clausl wrote:What is the reason for not keeping the layout?
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 will discontinue support for Classic reports in the futureBrian Rocatis
Senior NAV Developer
Elbek & Vejrup0 -
BlackBird wrote:i think that this hotfix should solve your error: https://mbs2.microsoft.com/Knowledgebas ... RWWLKLOKZR (KB article 969448).
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/Brian Rocatis
Senior NAV Developer
Elbek & Vejrup0 -
Alex Chow wrote:On top of that, there has been no real attempt on the base product to take advantage of the RDLC features (document map, links, etc) on the out-of-the-box reports. So it makes it 10x harder to learn the RDLC reports unless you spend a ton of money taking classes or spend a lot of time going over the manuals.
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.
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...0 -
Belias wrote: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
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:Brian Rocatis
Senior NAV Developer
Elbek & Vejrup0 -
There surely are better ways to provide data to rdlc, and i am also afraid thatthe skills needed to make RTC reports work in NAV 2009 will be worthless when the next version arrives
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 open0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions