Reputation: 41
I created a web application Asp.net MVC3 with crystal reports. But when i deployed to windows Azure website. it showing an error message
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception" CrystalDecisions.CrystalReports.Engine.LoadSaveReportException:An error has occured while attempting to load the crystal report runtime.
As it is Azure websites, can't create web roles or anything. Please suggest an idea to view crystal report in windows azure web.
Upvotes: 0
Views: 881
Reputation: 4974
Try this:
- Open 'Internet Information Services (IIS) Manager.
- Expand the server and click on 'Application Pools' to display available applicaiton pools.
- Right-click on your 'AppPool' and select 'Advanced Settings'.
- Change the value of 'Enable 32-bit Applications' to False. Click OK.
- In the Actions panel on the right side, click "Set applicaton pool defaults" and repeat step 4.
- Restart IIS service by highlighting IIS server name in left panel and clicking Restart under Actions panel.
Upvotes: 0