Having trouble Deploying my project that includes Crystal Reports XI Release 2 - vb.net

I'm using VS2005 and a standalone Crystal Reports XI Release 2 and I'm having trouble deploying the windows forms app. Everything works perfectly when it's running on VS but on deployment it doesn't. It connects to SQL Server 2005 on a server
I already tried adding Crystal Reports as a prerequisite in the setup deployment but to no avail. I think it did recognize Crystal Reports however when I open the report a login screen appears where the username, password and datasource is loaded in its corresponding textbox the database name itself is not in its textbox

Related

Crystal report error - System.AccessViolationException: Attempted to read or write protected memory.

I keep getting this Crystal report error while trying to view the report from an application hosted in IIS.
The code -
ceEnterpriseService = ceSession.GetService("", "InfoStore")
ReportApplicationFactory = ceSession.GetService("RASReportFactory").Interface
ceInfoStore = New InfoStore(ceEnterpriseService)
The web server throws an unhandled win exception as soon as it passes "New InfoStore(ceEnterpriseService)" line.
I have Crystal enterprise 10 installed and am using VS 2012/.NET 4.5. I have to use Crystal enterprise 10 since that is being used by the client. I also had a different version installed and un installed some time back which broke some of the reports while I checked in.
Resolved that by asking the clients to load their set of dlls.
Could this error also be an outcome of incorrect versions? How do I check what version is required.
I'm kind of lost in this. Any help would be appreciated.
Thanks.
Ok. This is fixed, in case someone faces this issue.
There was some issue with the crystal report designer on my development machine. Fixed that and the reports worked fine.

Internet Explorer 11 SSRS Reports Integrated with SharePoint - Print Option missing

We have a problem with our SharePoint 2010 site that has SSRS 2008 R2 Integrated reports. When viewing the Actions menu, the Print option is missing.
This may seem like an easy answer... Put it in Compatibility Mode. This would work, HOWEVER, we have a custom .NET app that does NOT work with Compatibility mode turned on. I have no control over it, I just have to work around it...
So, I was able to resolve other IE 11 compatibility issues like InfoPath forms crashing out by adjusting the master page and making the compatibility mode set to 9 in a meta tag. I added the same meta tag to the RSViewerPage.aspx page with no luck.
Is there anyone out there that may have an idea on how to get around this issue? Many of our outside users have upgraded to Windows 8.1 and cannot go back to an earlier version of IE.
The issue is SQL Server R2 without SP2. I had to upgrade to Sql Server 2008 R2 SERVICE PACK 2.
The version of RsClientPrint you get with R2/SP2 is 10.50.4000, while
the version I had was 10.50.1600.
ReportViewer's Print Button Incompatible with IE 10?
I had some issues with our Sharepoint site and IE - even using Compatibility not always helping.
What I found out is something related to User Authentication not picking up.
To work around this - I was clicking on the Site logo to redo the process of authentication and that was always doing the trick.
Is this happening with all the site users?

RDLC reports are not published to after deployed to IIS?

I have a web application written in VB.NET. In my application I have a few RDLC reports that will be generated dynamically. Everything works fine during the development. But those reports are not working after I deployed my web application to IIS. Here are my problems.
(1) All the reports under my RDLC folder are not deployed, I think this is the reason why I got the error “error occurred during local report processing”
My question is why this folder was not published, and what should I set to publish this folder?
(2) If I manually copy those RDLC reports to the destination folder, I got another error “failure: unknown user name or bad password”
My authentication mode is set to Windows. Is there anything else I need to set in my web.config?
I am using IIS 5.1 and my web app has been upgraded from VS2005 to VS2010.
Your RDLC files are probably marked as "Embedded resource".
Right click on rdlc file and change it to "Content" and re-publish.
It will work this time.

Deploy SQL Server Reports Locally

i am very new to SQL server Reporting Services.I have developed reports in SQL Server Reporting.now Where do i deploy them in order to use them into my asp.net web application?
To include the report in your ASP.NET application, here you will need to use a custom control however, Microsoft does not provide a custom control like crystal report viewer custom control, in fact you will find it deployed in the samples directory of Reporting service. The custom control is located at
C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\Samples\Applications\ReportViewer
You can just go and open that project and compile it and use the ReportViewer DLL in your ASP.NET application. This can be done by opening your toolbox, then click Add/remove and click browse and select the ReportViewer.DLL I included the source and the DLL in the source in case you cannot find it or you didn't install the sample applications of reporting service. Anyway after selecting the DLL you have to select the custom control from the list.
You will find the name of the Custom Control ReportViewer "Microsoft Sample Report Viewer Application"
When you are done, just include the custom control in your ASP.NET page and change the following properties.
First you have to select the report path and this should be something
like :- My Reports/Report1 - exactly the sample folder you deployed
your reports in.
Second you have to edit the ServerURL and here you enter your
reporting service location http://localhost/reportserver/ this is the
reporting server location, while /reports is the report server web management so take care not to get mixed up.
Once both are done, you can start viewing your report by accessing your ASP.NET web page.
Now enter the location of your web application and choose the asp.net page that contains the custom control

VisualStudio LightSwitch - Unable to load data in web version of application

I am creating application with LightSwitch where I have following the data stores:
- SharePoint 2010 list (main database) - windows authentication
- SQL database (supportive database) - static credentials
When I publish application as local app, all data from above 2 databases are shown properly and application works as it should be.
BUT when I publish application on IIS, SharePoint list connection stops working - it simply shows red cross on the related lists. SQL database works without any issue.
I tried to remove windows authentication and inserted static credentials in application. It works properly again.
Does it mean lightswitch does not cooperate with SharePoint and does not delegate authentications? Any idea what could happen here? Statis user does not work for me - I need windows authentication.