The problem was that I did not create a .dnn file. Once I created that, there was no problem.
Side note: when I install my module on another server, I get an error when I place it on the page:
DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for 'NOM.DataProvider' threw an exception. ---> System.TypeInitializationException: The type initializer for NOM.DataProvider' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) at NOM.DataProvider.CreateProvider() at NOM.DataProvider..cctor() --- End of inner exception stack trace --- at NOM.NOMController.ListServiceProviderWorkOrders(Int32 UserId, Int32 StatusId) at NOM.NOMHome.BindServiceProviderWorkOrders(Int32 UserId, Int32 StatusCode) at NOM.NOMHome.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
This module is calling an outside database, which is set in the web.config properly for this portal. Now I notice that in the app_code folder my SqlDataProvider did not install. In fact, the folder structure is not there either. Why would that file not be copied? Does this have to be specified in the .dnn folder too? Where?