Are references pointing to wrong path? What is the fix?
Are references pointing to wrong path? What is the fix?
“'Page_RS301000' does not contain a definition for 'Context' and no accessible extension method 'Context' accepting a first argument of type 'Page_RS301000' could be found (are you missing a using directive or an assembly reference?)“
it seems to me that the main error is “The file '/MasterPages/FormView.master' does not exist. ”
i figured that if i uncheck “Build Website as part of sulution” on “UpdateTCourses” it will only be a warning and not an error, is this the sulution? i am not comfortable doing it.
Thanks
Fantastic
Thank you Gabriel. Of course that worked. I recognize the Requirements page from the training manual, and admittedly some of these are at the outer edge of my skill set. (No doubt this was evident during our call!) My primary experience has been in the Business Basic / Providex world. I have been learning .NET in my spare time, and look forward to becoming an Acumatica expert. Thanks again for your time and your patience!
A few things:
Visual Studio/ASP.NET training is outside the scope of the Acumatica developer training; I think it will be much easier for you if you go through the requirements outlined in the developer training guides:
The video is a few posts up in this thread; here is it again for your convenience:
Also I cannot see where to access the video you had made, sorry!
Hello Gabriel, thanks again for your great help the day, however even though my project will now build, I get the error below when trying to run it. Am I missing a step from what you had provided?
Many thanks Gabriel!
-Dave
Update: just had a quick Zoom call with
Link: https://us02web.zoom.us/j/5146534118
Thank you Gabriel, not sure if you saw my response to NaveenB74..
I created it through Acumatica ERP Configuration. I followed the instructions in the T190 Training Guide, pages 9 & 10, which I am attaching here. I see that the guide was revised on 11/10/20, however this portion looks the same to me (except for changed page numbers). Can you advise further?
Did you create the Visual Studio solution yourself, or did you open a .sln file that already had the customization project and the website already included?
For your reference, here’s how an Acumatica web site usually looks inside Visual Studio:
Thank you Naveen,
I did create it through Acumatica ERP Configuration. I followed the instructions in the T190 Training Guide, pages 9 & 10, which I am attaching here. I see that the guide was revised on 11/10/20, however this portion looks the same to me (except for changed page numbers). Can you advise further?
Hi
Have you created this website through Acumatica ERP Configuration? attached screenshot for your reference.
I’m assuming that you have created this website/instance in Visual Studio itself.
Thank you Naveen. I have completed the 4 steps above on UpdateTCourses. I still get the the 79 Build errors. Please see below screen shots of Web.config file. Can you advise?
Hi
In your case, please follow the below steps.
Please find the screenshots for reference. I your still getting these errors, please check the tagetPrefix=”px” is available or not in your web.config file.
Please find the screenshots for reference.
Hello Naveen, below is my screen shot when I right-click on my PhoneRepairShop_Code under Solution ‘PhoneRepairShop_code’ in my VS 2019.
It looks like your first screen shot, but I cannot find how to get to your second screen with Property Pages. When you say to right-click on the website, where do you mean exactly? I apologize for my lack of experience.
Hi
After completion of the above changes, if you still get the same 79 errors. Please verify the below highlighted targetPrefix is available or not under <Pages> section in web.config file.
hI
Great that you added above missed Visual C# templates.
I have replicated the same issues in my local Visual Studio. Please righ-click on the WebSite and select the Property Pages and then to the Build tab and select the “No Build Website” and clik on apply and verify.
Please find the screenshots for your reference
Hello Gabriel, please see build log output below:
Build started...
1>------ Build started: Project: PhoneRepairShop_Code, Configuration: Debug Any CPU ------
1> PhoneRepairShop_Code -> C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop_Code\PhoneRepairShop_Code\bin\Debug\PhoneRepairShop_Code.dll
2>------ Build started: Project: UpdateTCourses, Configuration: Debug Any CPU ------
2>Validating Web Site
2>Building directory '/T190/SourceFiles/PhoneRepairShop/Pages/RS/'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS202000.aspx(1): Build (web): The file '/MasterPages/FormView.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS202000.aspx(4): Build (web): The file '/MasterPages/FormView.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS202000.aspx(6): Build (web): Unknown server tag 'px:PXDataSource'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS202000.aspx(15): Build (web): Unknown server tag 'px:PXFormView'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS202000.aspx(19): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS202000.aspx(20): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS202000.aspx(21): Build (web): Unknown server tag 'px:PXTextEdit'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS202000.aspx(22): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS202000.aspx(23): Build (web): Unknown server tag 'px:PXCheckBox'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS202000.aspx(24): Build (web): Unknown server tag 'px:PXDropDown'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS501000.aspx(1): Build (web): The file '/MasterPages/ListView.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS501000.aspx(2): Build (web): The file '/MasterPages/ListView.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS501000.aspx(5): Build (web): Unknown server tag 'px:PXDataSource'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS501000.aspx(15): Build (web): Unknown server tag 'px:PXFormView'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS501000.aspx(17): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS501000.aspx(18): Build (web): Unknown server tag 'px:PXDropDown'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS501000.aspx(19): Build (web): Unknown server tag 'px:PXNumberEdit'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS501000.aspx(20): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS501000.aspx(21): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS501000.aspx(22): Build (web): Unknown server tag 'px:PXGrid'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS501000.aspx(39): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS201000.aspx(1): Build (web): The file '/MasterPages/ListView.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS201000.aspx(2): Build (web): The file '/MasterPages/ListView.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS201000.aspx(5): Build (web): Unknown server tag 'px:PXDataSource'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS201000.aspx(15): Build (web): Unknown server tag 'px:PXGrid'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(1): Build (web): The file '/MasterPages/FormTab.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(2): Build (web): The file '/MasterPages/FormTab.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(5): Build (web): Unknown server tag 'px:PXDataSource'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(15): Build (web): Unknown server tag 'px:PXFormView'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(17): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(18): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(19): Build (web): Unknown server tag 'px:PXDropDown'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(20): Build (web): Unknown server tag 'px:PXCheckBox'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(21): Build (web): Unknown server tag 'px:PXDateTimeEdit'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(22): Build (web): Unknown server tag 'px:PXDateTimeEdit'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(23): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(24): Build (web): Unknown server tag 'px:PXTextEdit'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(25): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(26): Build (web): Unknown server tag 'px:PXSegmentMask'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(27): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(28): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(29): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(30): Build (web): Unknown server tag 'px:PXDropDown'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(31): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(32): Build (web): Unknown server tag 'px:PXNumberEdit'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(33): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(37): Build (web): Unknown server tag 'px:PXTab'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(41): Build (web): Unknown server tag 'px:PXGrid'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(50): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(51): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(52): Build (web): Unknown server tag 'px:PXDropDown'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(53): Build (web): Unknown server tag 'px:PXSegmentMask'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(54): Build (web): Unknown server tag 'px:PXTextEdit'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(55): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(56): Build (web): Unknown server tag 'px:PXNumberEdit'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS301000.aspx(62): Build (web): Unknown server tag 'px:PXGrid'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(1): Build (web): The file '/MasterPages/FormTab.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(2): Build (web): The file '/MasterPages/FormTab.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(5): Build (web): Unknown server tag 'px:PXDataSource'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(15): Build (web): Unknown server tag 'px:PXFormView'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(17): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(18): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(19): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(20): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(21): Build (web): Unknown server tag 'px:PXNumberEdit'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(25): Build (web): Unknown server tag 'px:PXTab'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(29): Build (web): Unknown server tag 'px:PXGrid'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(40): Build (web): Unknown server tag 'px:PXSegmentMask'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(46): Build (web): Unknown server tag 'px:PXGrid'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS203000.aspx(59): Build (web): Unknown server tag 'px:PXGrid'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS101000.aspx(1): Build (web): The file '/MasterPages/FormView.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS101000.aspx(2): Build (web): The file '/MasterPages/FormView.master' does not exist.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS101000.aspx(5): Build (web): Unknown server tag 'px:PXDataSource'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS101000.aspx(15): Build (web): Unknown server tag 'px:PXFormView'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS101000.aspx(17): Build (web): Unknown server tag 'px:PXLayoutRule'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS101000.aspx(18): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS101000.aspx(19): Build (web): Unknown server tag 'px:PXSegmentMask'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS101000.aspx(20): Build (web): Unknown server tag 'px:PXSelector'.
2>C:\a\New folder\AcumaticaERP\App_Data\Projects\Customization\T190\SourceFiles\PhoneRepairShop\Pages\RS\RS101000.aspx(21): Build (web): Unknown server tag 'px:PXNumberEdit'.
2>
2>Validation Complete
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Thank you gents, I was able to copy the missing ItemTemplate folders from a VS 2017 install on my laptop, and I then downloaded the 7 Zip files above and copied them into my VS 2019 Visual C# folder, and still got the 79 Build errors. I then went to the portal link above, and installed the 2020 R2 Acumatica Framework download per instructions. Unfortunately I am still getting the 79 Build Errors. Any insight?
Thank you naveenb74 for response, however my Config Wizard looks different. I do not have same options:
This is the Acumatica ERP installation; there’s a different setup for the Acumatica Framework only, which includes the templates and deployment option you see in the documentation. This download is available in the portal, see here for the latest 2020 R2 download.
Thank you naveenb74, this does not make sense to me. I installed VS 2019 two years ago and have been developing and running other apps. I’ll continue googling this issue and looking on MSDN. If you have any more info on this I would be appreciative!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.