Skip to main content

Build errors on training project. (Re-submitted with enlarged screen shot)


Did this topic help you find an answer to your question?
Show first post

41 replies

Forum|alt.badge.img
  • Author
  • Freshman I
  • 33 replies
  • November 16, 2020

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?

 


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3393 replies
  • November 16, 2020

Hi @dherr70,

 

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. 

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 33 replies
  • November 16, 2020

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?

 

 


Gabriel Michaud
Captain II
Forum|alt.badge.img+11

@dherr70 the website that I see in your screenshot (Solutions Explorer) section doesn’t look like the usual Acumatica Web Site structure. The web.config file is also not the standard Acumatica web.config. This will definitely not build or run.

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:

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 33 replies
  • November 16, 2020

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?


Gabriel Michaud
Captain II
Forum|alt.badge.img+11

@dherr70 if you’re free right now, please jump on a Zoom meeting for me, I think I can get this solved for you relatively quickly :) 

Link: https://us02web.zoom.us/j/5146534118


Gabriel Michaud
Captain II
Forum|alt.badge.img+11

Update: just had a quick Zoom call with @dherr70, everything is working now. I recorded part of our call in case it can be useful to others (unfortunately I forgot to start recording earlier)

https://youtu.be/Ytw-DcSO71Q

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 33 replies
  • November 16, 2020

Many thanks Gabriel!

-Dave

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 33 replies
  • November 18, 2020

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?

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 33 replies
  • November 19, 2020

Also I cannot see where to access the video you had made, sorry!

 


Gabriel Michaud
Captain II
Forum|alt.badge.img+11

A few things:

  • You need to be running Visual Studio in Administrator mode; the AcumaticaERP website is showing as unloaded in your screenshot because Visual Studio is not able to access it. Right click Visual Studio and select Run As Administrator when you want to build and debug web sites hosted in IIS
  • The startup project in your solution is the class library PhoneRepairShop_Code. A class library is not an executable and can’t be started. Right click the AcumaticaERP web site and set it at startup, or simply attach to w3wp.exe to debug the running instance (I always use the second option -- this is what we did in the video)

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:

https://www.youtube.com/watch?v=Ytw-DcSO71Q

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 33 replies
  • November 20, 2020

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!

 


Gabriel Michaud
Captain II
Forum|alt.badge.img+11

Fantastic @dherr70 -- you do seem to have a lot of perseverance, and that’s a great skill. The Acumatica framework is extremely powerful, but the learning curve can be steep at times. Good luck and I look forward to hearing about your progress in the near future 😊.


@Gabriel Michaud  Hi, i have similar issues.

 

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


Gabriel Michaud
Captain II
Forum|alt.badge.img+11

@lbrailofsky29 that sounds like a different issue. You definitely need to keep “Build Website as part of solution” unchecked... 


@Gabriel Michaud when “Build Website as part of solution” is unchecked i still get 6 errors and the 97 warnings, example of error below.

“'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?)“


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings