Install or print report without Visual studio - winforms

My windows forms Pos application was made in Vs 2010, with CRforVs_13.0.exe installed to print the report.
When I have install to my client's machine, even with the same CRforVs_13.0.exe , its says we need to install Visual Studio.
How can my client print the Crystal Report without Visual Studio?

CRforVs_13.0.exe literally means "Crystal Reports for Visual Studio". You must install the Crystal Reports runtime redistributable.
Look for the appropriate MSI file on that table. Be aware if you need 32bit or 64bit.
The .exe is for Visual Studio integration while the .msi is for run time.

Related

Visual Studio 2019 say dtproj SSIS project is unsupported

I'm trying to open my dtproj SSIS project in Visual Studio 2019 and it says its unsupported and incompatible. What am I missing? I installed VS with SSDT so it should work. I compared the about-info of both and found the VS that didn't work lacked the following. Is SSIS 15 a separate install? If so, where do I get it?
Snapshot Debugging Extension 1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Integration Services 15.0.2000.180
Microsoft SQL Server Integration Services Designer
Version 15.0.2000.180
Microsoft Visual Studio Tools for Applications 2019 00435-60000-00000-AA131
Microsoft Visual Studio Tools for Applications 2019
#larnu has part of the answer, that is, install the SSIS extension. After doing that it still won't work (or didn't in my case). The project still said 'unsupported' and I right clicked it in solution explorer and clicked 'reload project' and after that the project loaded correctly.

SQL Server Management Studio 17 cannot find one or more components

I have just upgraded to Visual Studio 2017 Professional and SSMS 17.
I can access my servers and databases through Visual Studio 17's SQL Server Object Explorer but when I try to execute SSMS outside of the VS IDE it tells me "Cannot find one or more components.  Please reinstall the application".  I have reinstalled SSMS 17 twice and still cannot run it.
The SSMS executable is at:
C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\Ssms.exe.
I get the same problem on another machine running VS 2017 Community.
What is causing the message "Cannot find one or more components.  Please reinstall the application" when I try to execute SSMS outside of Visual Studio? What do I need to do to execute SSMS outside of the VS IDE?
I had similar problem and in my case it was due to a corrupt Microsoft Visual Studio 2015 Shell (Isolated) which SSMS 17 requires to run outside the VS IDE.
To fix this, I had to do the following:
Uninstall Microsoft Visual C++ 2017 Redistributable (both the x64 and x86). This is to ensure that step (2) will succeed as the repair process of the prerequisites might fail in some cases if newer versions have been installed.
Repair Microsoft Visual Studio 2015 Shell (Isolated) (or reinstall using https://download.microsoft.com/download/C/9/C/C9CA8400-20AA-4488-92A3-F3F6D978AD81/vs_isoshell.exe).
Reinstall Microsoft Visual C++ 2017 Redistributable (https://go.microsoft.com/fwlink/?LinkId=746572 and https://go.microsoft.com/fwlink/?LinkId=746571) if removed earlier.
Here is a quick fix for cannot find one or more components in SQL Server
Follow these steps:
Run Add or remove programs (Type into run box)
Repair Microsoft Visual Studio 2015 Shell (Isolated) (Modify > Repair)
The installation process will report that it was unable to install some of the Visual C++ executables as they are already present; this message can be ignored, the repair still fixes the problem reported in the question.
For SSMS 2017 delete this folder from the registry:
HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\14.0_Config
It would be better to export the keys before deleting them.
Same steps as Roberto's solution above - but updated links:
1. Uninstall:
Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.xxxx
Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.xxxx
2. Repair or Download/Install:
Microsoft Visual Studio 2015 Shell (Isolated)
https://visualstudio.microsoft.com/vs/older-downloads/isolated-shell/
3. Reinstall:
Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.xxxx
https://aka.ms/vs/16/release/vc_redist.x86.exe
Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.xxxx
https://aka.ms/vs/16/release/vc_redist.x64.exe
For everyone that is coming here in 2022 and has Windows 11 (build 22622.440) installed, this is your reason> Missing components for Microsoft Visual Studio 2017 Shell (isolated)
Disable the sv2 nav pane from experimental features from windows!
Download https://github.com/thebookisclosed/ViVe
Run vive tool from elevated cmd with the option to disable the experimental feature:
vivetool /disable /name:SV2Navpane
Restart windows immeadiatly:
shutdown -r -t 0
Taken from here, thanks to #Erin Stellato: https://feedback.azure.com/d365community/idea/6b7d06dc-9bec-ec11-a81b-6045bd7ac9f9
In my case, I accidentally uninstall Microsoft Visual Studio 2015 Shell (Isolated) and I got the error "SQL Server Management Studio 17 cannot find one or more components". even though I recover or Repair Microsoft Visual Studio 2015 Shell (Isolated), the same error was there.
The only thing I did was reinstall Microsoft Visual Studio 2015 Shell (Isolated). I did not Uninstall Microsoft Visual C++ 2017 Redistributable (both the x64 and x86).
this worked for me.
I'm running SSMS 18 and every time KB5014770 installs, I get this error. If I uninstall this upgrade (KB5014770) it starts working again.
Remove every version installed of visual C++, then run the repair on the Visual Studio 2015 Shell (isolated). Once completed, open the SQL Server Management Studio and it will work.
In my case, it was corrupted because the drive that it was installed on originally was removed as part of a drive consolidation exercise. That is to say, it was installed on E:\ but E:\ no longer existed.
I managed to resolve by using VSubst (https://www.ntwind.com/software/utilities/visual-subst.html) and creating a fake drive pointing back to C:\ (run as admin) where there was a "fresh" install of 2015 after downloading the VS 2015 ISO.
I then re-ran the uninstaller, which fails, then inside the log file, on the first line is the path to the "old installer". Now if you run a {PathInLog}\vs_isoshell.exe /uninstall /force with the E:\ created it will force uninstall.
I had same issue and solved very easily. Normally SSMS will look for integrated application. This integrated is installed by default during SSMS setup installation.
I can say your error "Cannot find one or more components. Please reinstall the application" caused because some application is uninstalled or missing by anyhow. To open SSMS will look for some connected integrated application.
Please follow these steps:
search "shell" in Control Panel\Programs\Programs and Features
uninstall any "shell" application
Download from Microsoft below application.
"en_visual_studio_2015_shell_isolated_x86_dvd_XXXXXXXX"
Run the application and allow all application to install during the process.
Once everything is done. Restart your system.

SQL Server Management Studio 2016: The application cannot start

I installed SQL Server Management Studio 2016. When I tried to open it gives this error. I tried uninstall and again install. Also I uninstall all Visual Studio and SQL Server and reinstall all of them but problem still continue.
How can I solve this issue?
In my case, the issue was with broken VS2015 isolated shell installation.
I resolved it by downloading and re-installing this shell from Visual Studio Isolated Shell page https://learn.microsoft.com/en-ca/visualstudio/extensibility/visual-studio-isolated-shell (which should eventually lead you to http://go.microsoft.com/fwlink/?LinkId=615451 - after filling out the survey).
Note:
I had following warnings after the VS1205 shell install. But that
did not matter, since the existing version of these components was
higher.
I had no VS IDEs installed on my computer prior to
installing SSMS 16.5.3 (or 17.1). Both had the same issue. For now I
am using only SSMS 16.5.3, since I do not have a need for 17.1
I completely remove all microsoft application and re install sql server 2016 and the reinstall ssms and ssms worked and finally I install vs17 now its working.
Problem is about to "Microsoft Visual Studio 2015 Shell(Isolated)"
We need to install vs after ssms.
Happened to me on SSMS v17.9.1.
I've repaired Microsoft Visual Studio 2015 Shell (Isolated) and the problem went away.
According to MSDN documentaion:-
An unexpected error has prevented Visual Studio from starting. This error appears when one of the following items occurs:
The integrated development environment (IDE) was not able to load Msxml3.dll.
The IDE was not able to load Mso.dll.
The IDE was not able to load DTE.olb.
The license key for Visual Studio was not created during setup.
Script blocking is turned on and not allowing scripting code to execute.
Setup for the .NET Framework, a component required by Visual Studio, failed to generate a valid native image for mscorlib.dll.
The Klez virus is present on your computer
And the article is introduced specific procedures to correct this error.
Hope helps.

Visual Studio 2013 Build Error: Incompatible versions of SQL Server Data Tools and database runtime components are installed on this computer

I have Visual Studio 2012 and Visual Studio 2013 installed on my development machine. My SQL projects were created with VS2013 and they compile fine from Visual Studio, but they fail with the following message when I use MSBuild from the command line:
Build Error: Incompatible versions of SQL Server Data Tools and
database runtime components are installed on this computer.
Note: This same error was encountered by other developers in Visual Studio 2012. See This SO question. I have verified that my versions of SSDT are up to date. I am not dealing with the same problem.
To resolve this issue you have to make sure you are using MSBuild 12.0 which comes with Visual Studio 2013 not MSBuild 4.0 which ships with the .Net 4.0 framework.
Make sure your path does not include the .Net 4.0 framework and then add MSBuild 12.0 to your path like this:
SET PATH=%PATH%;"%ProgramFiles(x86)%\MSBuild\12.0\Bin"
Another solution is to set the VisualStudioVersion property to 12.0 like this
MSBuild.exe My.sqlproj /p:VisualStudioVersion=12.0
Note: This same error message has appeared in many different versions of SSDT. This fix is specific to Visual Studio 2013

WPF *.rdlc Report Deploy

Good morning, i have make wpf application on visual studio 2010, this have 5 rdlc file report,
when i try to start it on machine with VisualStudio (win7 and win8), no have problem, but if i try to start it in machine clean i dont see the rdlc report.
I try to install ReportView of Visual Studio 2010,
but the result is the same and i try to install ReportView of 2012,
but it not have Microsoft® SQL Server® 2012 Feature Pack.. but i not find it on microsoft downloads.
Is there a way to see the report on clear win8 machine??

Resources