Crystal Reports not prompting for parameters - asp.net

I have a program to churn through some data that uses 3 reports.. recently our network admin upgrade a server to Win 2012 R2. That server is a slightly newer version of crystal reports. My program uses Version=13.0.2000.0.
Since the upgrade to the new server, my 3rd report, which relies on user entered parameter values no longer prompts the user for the values and shows a blank crystal report viewer. The report works fine locally on my machine.
Curious if anyone has run into this problem? Hopefully. Any ideas / Solutions?
Thanks.

Well after 2 days of searching a co-worker pointed me to this blog post -->
https://adilmca.wordpress.com/2013/04/08/visual-studio-2012-crystal-report-not-working-on-windows-server-2012-0x800a1391-javascript-runtime-error-bobj-is-undefined/
Add the report viewer folder to the project and copy in that bit to the webconfig to point to the new folder. I would like to know why this occured, and I will continue digging to figure it out - but for now the problem is solved. Hope this helps someone else.
Thanks.

Related

First ASP.NET webpage launches without debugging, doesn't launch with debugging

Did anyone encounter an error with ASP.NET debugging? I've made a really simple, empty MVC page, I've tried returning /Home/Index.cshtml and a string, and each time I get a windows jingle and the browser can't find the server. It doesn't happen when I run it without debugging though, then the website runs just fine.
I've also tried the default MVC template, with Bootstrap etc, and it's the same - runs without debugging, doesn't run with debugging.
It's probably important: I'm running Visual Studio 2017 on up-to-date Windows 10. I've reinstalled the system several weeks ago, really wouldn't want to do that again :/
Generally we could debug an app with the normal user, but sometimes we need to use the admin, for example, as far as I know, if we want to use the attach to process tool for remote debugging, we often run the VS as the admin or others.
This document share us the tasks we need administrator permissions to completeļ¼š
https://msdn.microsoft.com/en-us/library/jj662724.aspx?f=255&MSPPError=-2147217396
If possible, you could refer to it especially "Debugging" area in above link.
Hope it could help you:)

Entry point of ASP.NET MVC app is not being reached. IIS issue?

I got a new laptop at work and, ever since then, I have not been able to run either of the MVC projects I'm assigned to. They build, I've deleted them completely and got the latest version from source control several times. I'm running Visual Studio Premium 2013. I had installed 2012 first but, once I ran out of ideas, I uninstalled both and reinstalled. I did make the following changes to the IIS applicationhost.config file (which are required for our apps because we use certificates, etc):
<iisClientCertificateMappingAuthentication enabled="true">
and
<access sslFlags="SslNegotiateCert" />
The other two developers working on these apps have been through the same procedures with their new laptops and they're not having problems. Here's what I get when I run my app in Chrome (won't let me post a screenshot cause I haven't earned any rep yet):
This webpage is not available
ERR_CONNECTION_RESET
The connection to localhost was interrupted.
It basically goes instantly to this page. I have put a debugging stop in the Global.asax file at:
protected void Application_Start()
and it is never reached.
I've tried everything I can think of. A major problem is that I can't figure out what to even search for for a solution to this. I've Googled everything I can think of but the error is so vague and I'm not getting any exceptions. Please, please help. It's been going on more than a week. Thank you so much.
I just uninstalled and reinstalled IIS Express 8.0 and everything worked. Don't know why I didn't try that before.

crystal reports error when hosting on server

I have a web application which I developed which uses crystal reports for VS 2010. The reports work fine on my machine, but when I publish the web application, I get the following error when loading the report:
Error
This group section cannot be printed because its condition field is nonexistent or invalid. Format the section to choose another condition field. Error in File temp_9b46c401-8cdb-45a6-bade-4d3e37dda1fb {572D2B99-425A-4EC5-A758-6497001368A3}.rpt: Invalid group condition.
I've searched for this and from what I can understand it's a connection issue. But I've checked and the database connection string is fine. Other parts of web application work fine with it. Is there anything else I should be checking for?
I've resolved the issue. It was very frustrating and so I thought I should put this here in case anyone runs into this:
Make sure you have the same version of Crystal Reports Runtime installed on your server as on your development machine. I had 13.0.3 on my development machine and 13.0.1. on my server. Of course crystal reports gave an obscure error which makes it very difficult to know where to look.
After I did this, I kept getting a blank page. This linked help me resolve this issue: http://www.codeproject.com/Questions/287543/Crystal-Reports-not-rendering-when-webpage-is-serv. Apparently visual studio doesn't copy all the necessary files for it to render the reports.
Thanks.
I'm not so sure that the error is because of a database connection issue. If I were you I would look into a few things first:
Make sure that the database fields haven't changed. Is the application accessing the same database when deployed as it does in the development environment?
What about Null values? Have you checked the "Convert Database Null Values" in the Report Options?
What about the groups? Are there any formulas in them or are any of them based on groups? Browse the data to see if you get any errors.
Just because it runs on your development machine doesn't mean the problem isn't in the datasource. Maybe one of your report's formulas is expecting a field to be non-null, and there is a single null entry. Or a date somehow got entered as #01/01/9999# and a formula in the report is expecting a realistic date.
That should get you started and maybe even solve your issue. Give us some more info about the report and the datasource if you can.

Report using .rdlc in asp.net

I am developing a web application of accounting system. I need to develop reports through .rdlc files but when I am going to start with report wizard. Then the error arising. I have attached a print screen of error. Please check it and give answer.
Please download AjaxControlTookkit from http://ajaxcontroltoolkit.codeplex.com/releases/view/90063 and install. This should solve your problem.

Does nopCommerce have a log file? If so, in what location is it stored?

I have been waiting for nopCommerce to install for about half an hour now (onto a free tier AWS server) and I would love to see if the install is still going on or if it has crashed at some point.
Does nopCommerce output a log file that I could view with a tool like baretail?
First of all, NopCommerce's installation is a pain in the neck. It takes really long and no one knows if it is doing something. However, in my experience with NopCommerce, I have installed it more than 10 times and it has never failed. So, it is just a matter of waiting.
To reply your answer about the log, there is a SQL table "Log" that stores all errors, and also an option from the admin to view a report of this table. It is really good.
However, because NopCommerce is being installed and this table may not yet exist, you can also check the Windows Event log using the event viewer.

Resources