locked
internal service error - iisnode -file not found RRS feed

  • Question

  • 

    working on a Xamarin Forms tutorial from Udemy. Created an Azure account with a database and a web app. On the local machine, created a mobile web app following the tutorial directions. The app attempts to write one row in a Users table with nothing but an email address and a password. When running the code through the emulator on the development system, the emulator reports "Operation could not be completed (Internal Server error). Turned on failed request tracing and see the following in the log.

    MODULE_SET_RESPONSE_ERROR_STATUS

    Warning ModuleName="iisnode", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="500", HttpReason="Internal Server Error", HttpSubStatus="1002", ErrorCode="The system cannot find the file specified. (0x2)", ConfigExceptionInfo=""

    What is the cure for this? Is this message saying that iisnode can't be found or that iisnode is executing and that it can't find a file? What file? If iisnode can't be found, how is it created through the portal?

    The app service was generated entirely through the portal and simply references an existing repository. The code in the repository provides CRUD database access functions coded in .js and .json files. I am assuming that the Mobile app is using the correct request to interface with the web app generated in the portal.

    The mobile app is running through the Android emulator on this machine. It is a Lenovo IdeaPad S340 running Windows 10 and Visual Studio 2019 with the Xamarin forms extensions. It uses Microsoft.Azure.Mobile.Client.

            = new MobileServiceClient("https://trappjwd.azurewebsites.net");

    and is attempting to execute this code to insert the the Users table record // We can register the user Users user = new Users { Email = EmailEntry.Text, Password = PasswwordEntry.Text };

                    await App.client.GetTable<Users>().InsertAsync(user);

    FURTHER DETAILS ARE AVAILABLE IF NECESSARY


    Jim Durbin

    Tuesday, April 7, 2020 5:39 AM

Answers

  • I'd try asking for help over here.

    https://forums.xamarin.com/

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Richard MuellerMVP Wednesday, April 8, 2020 11:32 AM
    • Marked as answer by Richard MuellerMVP Tuesday, April 14, 2020 1:52 PM
    • Unmarked as answer by durbinjw Tuesday, April 14, 2020 3:46 PM
    • Marked as answer by pituachMVP Saturday, April 18, 2020 9:13 PM
    Tuesday, April 7, 2020 4:09 PM