Crystal reports v12 doesnt show the report after hosting - asp.net

I am working on a project in ASP.net 3.5 (with VB script) and Crystal Reports 2008 (V12). It works fine when I run my solution in visual studio(2008) but after publishing it to local IIS(7) it doesnt show the report in the report viewer. I don't see any error either.
I have placed the 'aspnet_client' folder under wwwroot folder that contains crystal report related files.
I had used crystal report 10.5 previously but then I had converted it to V12 as my host doent't support old versions.
Your support in this regard would be appreciated.
Thanks in advance :)

I recently faced this issue and successfully managed to get the reports running. I am using Visual Studio 2005 but I published my project on a local server with Windows 2008 Server R2 Enterprise.
I fixed the issue by changing the Application Pool settings of IIS 7. I changed it to Classic ASP.NET for .NET 2.0 Framework. I guess you may not require this setting, but I am not sure.
Secondly, when you open your report in Visual Studio 2005, check that you are using OLE DB Provider for SQL Server and not SQL Native Client, just in case you are using SQL Server database.
Which OS you are using? I hope you are not using Windows XP. Windows XP has issues with the Integrated Security thing mentioned in your Connection String.

Related

Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine in VS2010 Only

'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. I am getting this in visual studio only after upgrading from 32bit office 2013 to 64bit office 16. I have already installed the 64bit database engine and my published project from IIS is working with the existing access database. I switched debug mode to x64 and remove the references to the old office and replaced them with the new office access. How can I get Visual Studio 2010 to recognize my access database created in access 2013?
Things I have tried:
Installing Microsoft Access Database Engine 2010 Redistributable 64bit version.
Updating the office references in the project.
Debugging in x64 mode
This is a little outside of my normal area of database application design;
it's unclear - you state 2016 Office 64 bit installed but then Access 2010 Redistributable/Runtime 64bit - - so do you have a full license of Access installed?
if you do have the full Access license - try something that is quick: create a brand new database and import that table. Then try the link to this new db.
I had that issue in the past.
install 2007 Office System Driver and restart visual studio.
I've dealt many time with this problem, the solution was ever install one of these:
AccessDatabaseEngine 2007.exe
AccessDatabaseEngine_2010.exe
AccessDatabaseEngine_2016.exe
AccessDatabaseEngine_X64_2010.exe
AccessDatabaseEngine_X64_2016.exe
Most of the time I've solved installing the 2007 one even using 2016 version.
To run 32-bit applications on IIS, you will get the same error. So, from the IIS 7, right-click on the applications' application pool and go to "advanced settings" and change "Enable 32-Bit Applications" to "TRUE".
Restart your website and it should work.

Crystal Report Viewer bboj is undefine error after windows update in IIS Windows Server 2012 R2

My Asp.Net application developed with VS 2012 was working fine but when I updated my windows server 2012 r2 yesterday. The crystal report stop working after that update and showing blank. I tried everything, reinstall IIS by using windows feature, place fresh copy of my application, changed permission setting, place aspnet_client folder in www and in application folder. Still out of luck.
I am sure that the problem appears after I install updates in my server. My office work suffers a lot due to this problem. An immediate help will be extremly appreciated.
The problem held aftermy system automatically updated .Net Framework to version 4.6.01055 which was not compatible with Crystal Report older version. I installed CRforVS_13_0_18.exe and restart the machine. It start working.

how to run aspx files on windows XP

I have windows xp service pack 3 so i cannot download some of the proggrams.
I downloaded the next proggrams:
*visual c++ 2005 express edition(by the way it's imposibble to find the visual studio express edition of 2005 on microsoft download center)
*microsoft web platformer installer
*windows installer
*microsoft .net framework 2.0 service pack 1
*microsoft sql server 2005 express edition
and i still cannot run aspx files. everytime im trying to open an aspx file it opens it as text file, and doesnt allow me to run it(the file worked on other computers).
I assume the problem is in my visual studio version, can someone give me a link to a visual studio that will work for me(p.s if I need to download new sql server proggram or net framework I'll appriciate if you tell me as well).
and remember that I have winxp so I cant download visual studio 2012(p.s there is a way you can somehow devolop without paying for the software?)
any help will be apperciate.
Tnx Dean.
You need Visual Studio Web Developer Express and not Visual C++ Express Edition. Here is the link http://go.microsoft.com/fwlink/?LinkId=51413&clcid=0x409
And here you have 2008 - should work on XP too - http://www.asp.net/downloads/essential

asp.net applications running without IIS

I have been using windows XP. I installed visual studio 2008 and sql server 2005. It has been removed suddenly due to some system corruption. I installed it again the visual studio 2008, IIS is not enabled in control panel too, but my applications is running.. whats going behind?Is it possible to run asp.net applications without enabling the IIS?
Will this cause any problems while developing the application?
Yes, Visual Studio comes Built in web server for development purposes, you may be using it.

Connecting to AdventureWorks database (SQL Server 2005 Express) through Visual Studio Professional 2008

I am following the learning ASP.NET 3.5 by O'REILLY to write some ASP.NET 3.5 code using Visual Studio 2008 SP1. I have gotten to the point to where I need to Configure a Data Source using the SqlDataSource control. I chose Microsoft SQL Server (SqlClient) even though I have SQL Server Express 2005 - This seems like the only logical choice.
I get to the Add Connection window and successfully add a Server name and I use the Select or enter a database name of AdventureWorks. When I click on Test Connection I get the Test Connection Succeeded message box.
Unfortunately, when I click OK I get an error message of the following:
Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=10.0.0.0, Culture=neutral,
PublicKey Token=89845dcd8080cc91' or one of its dependecies. The system cannot find
the file specified.
At his point I am at a loss and everywhere I look and find something similar to my issue it involves other versions of either Visual Studio or SQL Server.
I'd really appreciate any help on this!
You may investigate this recipe.
You may need to reinstall your copy of SQL 2005 Express. But sure to install all of the client-side developer packages in the installer.
I had the exact same issue.
Following the suggestions in this thread , I went to the "Microsoft SQL Server 2008 Feature Pack, August 2008 " - and downloaded (and installed) the "Microsoft SQL Server 2005 Backward Compatibility Components ". This did not help.
Then I also downloaded and installed the following components: SharedManagementObjects.msi, sqlncli.msi, SQLSysClrTypes.msi.
And now it works for me.
I'm using SQL Server 2008 Express and Visual Web Developer 2008 Express Edition.

Resources