on 11-24-2015 6:15 PM
We're migrating a .NET app from a Server 2008 environment to Server 2012. Installed the latest SP15 SAP for VS on the Dev server which runs VS 2013, and the installed the accompanying SP15 runtime MSI on the web server.
I was receiving a blank report which I fixed by moving aspnet_client folder (copied from the inetpub/wwwroot directory) at the root of my website -
Now when I open a report, it displays correctly, but I'm experiencing the following issues using the toolbar buttons in my report viewer:
General information: Popup blocker is disabled. Have tried in Chrome and I get the same behavior, so it's not IE related. When I hit F12 and run debug I often get a "MochiKit.Base.NotFound" error when using the buttons, which Google hasn't been much help on. I've attached a picture of that error to this post.
Any ideas on how to fix this or things to try?
I've got some Process Monitor output I'll add to this post soon.
Hi Albert
Make sure your code is in Page Init.
And in a web app you want to be using sessions. See the following KBA for more details:
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter
Got Enhancement ideas? Use the SAP Idea Place
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ludek,
I've attached example code of mine to this post, and this code was working perfectly in my last environment.
I've also tried changing my Page_Load section to a Page_Init and that didn't help.
I will also note that our new environment uses SSL, whereas our old one did not. Already checked that "Do not save encrypted pages to disk" and there is no check box there so that's not the problem -
Also here is some output from Process Monitor. I'm starting this has something to do with the temporary file(s) that are created when you run and print/export reports...
NAME NOT FOUND:
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\jvmmanager.dll (lots of these referencing different DLLS in that folder
C:\Windows\System32\inetsrv\w3wp.exe.Local
C:\Windows\crystal
C:\Users\myapp\AppData\Local\Temp\4040_1672_{3F73E643-B48D-4996-B460-7A86179D94CA}.rpt
(this one is weird because I thought it's supposed to save the temp file in C:\Windows\Temp...)
FILE LOCKED WITH WRITERS
C:\Users\myapp\AppData\Local\Temp\~DF0DD6602548230766.TMP (bunch of these each time I try to print with different file nameS)
(this one is weird because I thought it's supposed to save the temp file in C:\Windows\Temp...)
FILE LOCKED WITH ONLY READERS:
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\u2122000.dll
NOT REPARSE POINT
E:\domains\myapp
C:\tmp
E:\Shared
Hi Albert,
Is your AppPool running in 32 or 64 bit mode? Did you install the same MSI runtime?
See if this post has anythign to do with it -
The default temp folder now is the noted in the error message, something MS changed.
How did you deploy the CR runtime?
For the MochiKit.Base error try searching for it. Doesn't below to CR.
Your sample code is not using Session or Postback methods to keep the report in scope, something you need to do.
Does the app work in IISExpress? If it does then you need to check permissions and other properties in IIS on 2012 server. Lots of changes MS did around security...
Don
Hi Don,
AppPool is running in 64 bit mode.
For the MSI I downloaded the SP15 64bit.msi from here: http://scn.sap.com/docs/DOC-7824 and installed it on the web server.
How would I check if it works in IISExpress? I don't think this is permission based as I don't get any ACCESS DENIED messages when running Process Monitor...
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.