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