Last post Mar 13, 2019 05:16 PM by uid829402
Mar 05, 2019 02:28 PM|uid829402|LINK
I got a new dev windows 10 machine and I'm fetching projects out of TFS and all but one project will build. I'm getting the following error message:
The command "xcopy c:\windows\assembly\gac_msil\microsoft.reportviewer.processingObjectModel\10.0.0.0__b03f5f7f11d50a3a ..\ExtraFilesToPublish /i /h /s /r /y" exited with code 4
I installed the NuGet package:
and I'm still getting the error, I do not see the reportviewer folder under the GAC_MSIL folder either. Is there something else I need to install to get this web app built and running 100%?
Mar 06, 2019 02:08 AM|Wei Zhang|LINK
According to your description, Xcopy exit code 4 means "Initialization error occurred. There is not enough memory or disk space, or you entered an invalid drive name or invalid syntax on the command line."
It looks like Visual Studio is supplying invalid arguments to xcopy. Check your post-build event command via Project Properties > Right Click > Build Events > Post Build Event.
You should modify your command code that if macro terms have spaces in the resulting paths when expanded, then they will need to be wrapped in double quotes.
Else you could try touse the /C option for xcopy. That will stop your work from failing.
Here is the link , I hope it could help you.
Mar 08, 2019 01:34 PM|uid829402|LINK
We checked the path and this same project builds on other pc's with no issues, as for disk space, I have 1TB drive, so space is not an issue. This project also built fine on a Windows 7 machine, is there something different I should be looking for
on a Windows 10 pc? Also, when I go to the C:\Windows\assembly\GAC_MSIL directory, I don't see a reportviewer folder like I do for other assemblies. Is there a package, update, etc. I need to install for reportviewer?
Mar 11, 2019 07:48 AM|Wei Zhang|LINK
I think you haven't installed the rdlc report in your computer. Rdlc file is the source of report view control. I suggest you to follow the steps to install report and download Microsoft RDLC Report.
1.Installing from "Extensions and Updates" in Visual Studio 2017. Go to Visual Studio’s Tools Menu > Extensions and Update > Select Microsoft RDLC Report Designer and Reporting Services Project for the Visual Studio.
2.Downloading and installing from Visual Studio MarketPlace. (Search for Microsoft RDLC Report in the search bar and you will easily find the link).Once the installation completes, you have to close/ restart all the instances of the Visual
3.Create/Open a project in Visual Studio. You will see that Report and Report Wizard is now available in the Visual Studio 2017.
Mar 11, 2019 02:02 PM|uid829402|LINK
I reinstalled those Friday afternoon and still get the error while trying to build the web app
Mar 12, 2019 03:29 AM|Wei Zhang|LINK
Firstly, Could you please tell me how did you reinstalled the reportview?There are two ways to install this , you could use nuget or just download install from Visual Studio MarketPlace.
Else,I suggest you to check the path xcopy c:\windows\assembly\gac_msil\ whether it has type message of reportview. I think the problem may be caused by the exception of different type about rdlc and reportview.
Mar 12, 2019 11:16 AM|uid829402|LINK
Through tools --> extensions and updates.
The folder it's looing for still doesn't exist on the laptop we're trying to build this one. As I mentioned, the project builds on windows 7 machine with no problem, it hasn't been able to build since updating to window 10
Mar 13, 2019 01:53 AM|Wei Zhang|LINK
According to your description , I think you could you post this question to forums for report view. They have more experience to solve problems about report view .
Here is the link, I hope it could help you.
Mar 13, 2019 05:16 PM|uid829402|LINK
after the NuGet said it was successful, it really wasn't, it didn't fully install everything needed. I had to download and install the package needed manually.