migrating to crystal report 11 in classic asp - asp-classic

I have a website developed in Classic ASP that uses Crystal report viewer to display reports.
It uses an older version (8.5) while I am moving it to Windows Server 2012 having crystal report 11.
Following is the report viewer used:
On execution of following line:
Set session("oApp") = Server.CreateObject("CrystalRuntime.Application")
I get following error:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/CrystalReports/HRReporting/ParameterField.asp, line 10
800401f3
I referred:
Using Crystal Reports XI with classic asp
but didn't get any solution
Kindly help me in knowing what changes I need to make in code and DLLs I need to register and in what order?

Related

How to setup Reportviewer 12 in a web form

I get error JavaScript runtime error: 'Microsoft' is undefined
when executing $create(Microsoft.Reporting.WebFormsClient.ReportViewer,
I us Visual Studio 2015 and .net 4.6.2
Set reportViewer.Visible = false
Collect input selection
Set various reportViewer properties
Now I get error messages that make sense, that I can fix.

Visual Studio 2013 Compilation Error

I get a compilation error in my web page. I've just upgraded to Visual Studio 2013 Professional (version 12.0.30110.00 Update 1) from VS2010 (I still have VS2010 installed).
One of the webpages I'm developing is not running after the upgrade. The error shown in the web browser when running locally is:
Compilation error with error code 1.
Which is translated from spanish: "Error del compilador con el código de error 1."
I found more information about the error in Windows event viewer:
Faulting application vbc.exe, version 12.0.20806.33440, stamp 52005857, faulting module kernelbase.dll, version 6.3.9600.16408, stamp 523d45f2, debug? 0, fault address 0x00011aa0
This error only happens with a single aspx page. I tried renaming it, creating a new one (with the same code), running with IIS Express, IIS Local, as administrator, in Chrome, IE11, FF... I also disabled my antivirus. But I always get the same error.
Other clases in the project are running correct, for example a lot of webservices I've deployed under the same project.
The project is a classical web project developed under .NET 4.0 with VB.NET.
Are there any solutions to this specific problem?

Asp.net Configuration Error(crystal report error)

i friend developed project and sent me the code while running the application i am getting this error.
please check the screenshot
I am using visual studio 2012.

Crystal report Error in Hosting server of Plesk

I am using vs2008[asp.net,c#] and sql sever2008 to develop a web application.
Where I created a Crystal Report but its generating error on hosting server.
Locally its executing perfectly.
Error Message:
Either the Crystal Reports registry key permissions are insufficient
or the Crystal Reports runtime is not installed correctly. Please
install the appropriate Crystal Reports redistributable
(CRRedist*.msi) containing the correct version of the Crystal Reports
runtime (x86, x64, or Itanium) required. Please go to
http://www.businessobjects.com/support for more information.
Line 45: ReportDocument cryRpt = new ReportDocument();
Exception Details:
CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An
error has occurred while attempting to load the Crystal Reports
runtime.
Please help me!
Either you did not install the same version of the runtime on the server as you used to design the report, or you are trying to deploy to a 64-bit server. The Crystal for VS2008 must run in 32-bit mode (even the 64-bit package).
If your web server is 64-bit, follow the advise in the linked article (build as x86 and run App Pool as 32-bit).
Alternately, upgrade to VS2010 or 2012.

Visual Studio "Convert to Web Application" and "Could not load type" errors

I'm currently getting a "Could not load type UI.Administration.Site.master" error message and I'm not really sure as to why.
I have an ASP.NET MVC Project with the UI namespace. Within the project's structure, I have an Admin folder. I right clicked on the Admin folder and chose "Convert to Web Application", but am getting a Could Not Load Type error for my master page.
Are there any special things that must occur in these situations for this to work?
ERROR INFO BELOW
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'UI.Administration.Site'.
Source Error:
Line 1: <%# Master Language="C#" CodeBehind="Site.master.cs" Inherits="UI.Administration.Site" %>
I had always wondered what this command did. I'm sure I've tried it and seen no result. I finally just looked it up:
"Convert to Web Application" has nothing to do with your scenario. It's for converting Visual Studio .NET and Visual Studio .NET 2003 to Visual Studio .NET 2008.
See "Walkthrough: Converting a Visual Studio 2002 or 2003 Web Project to a Visual Studio 2008 Web Application Project".
Make sure your namespaces match up with your folder structure as well as in your Inherits clause and your CodeBehind attributes. I had the same problem and it was because the namespace in the Inherits attribute didn't match up when I converted.

Resources