I'm using an older version of the designer, 4.2 (Final). It seems to be a designer issue that I'm having.
I copied my work files from my desktop to my laptop in order to work on the road for awhile. This includes my SQL Server (2012) database files, Visual Studio (2012) project files, Gen Pro project files, etc. I have had zero problems with my SQL Server setup, VS setup, etc. I've been working for a week, testing, connecting with the DB, etc.
Today I had to create a new view. Ran my script in SQL Server, went to the Gen Pro designer to refresh the relational model and added the typed view to my project list of typed views (not based on a SP result set, this doesn't seem to have anything to do with my problem, it's just when I ran into the problem I'm having). The post-refresh dialog has errors (as noted below) for about 10 of my SP result sets.
The problem is that the designer doesn't recognize a number of results sets from stored procedures in my DB. Not all of them have this issue, but the ones that do seem to be some of the latest that I have added over the last 6-7 months or so. The errors are due to typed views and fields mapped on to result sets that are not found after the refresh.
Typical error generated during the refresh:
"Typed view 'ForeignTariffSuggestionsResult' is no longer mapped to a target as target storedprocedureresultset 'dbo.GetForeignTariffSuggestions.Resultset1' was not found in the catalog"
That's what shows up in the post-refresh dialog. Then obviously I have that one and one for every field that was in the result set in the validation errors for the project if I got to generate the code files. On the right of the designer, int he schema, the stored procedures are shown, but with (0) results sets.
I thought this might have something to do with execute permissions or something on the procedures and the designer was unable to execute to get the result sets or something. I've examined the effective permissions of the objects in question for my Windows 10 user and they seem fine. I'm using Windows Authentication in both MS SQL Server Management Studio (where I run my scripts generally) and in Gen Pro, and in my web pages the connection string is set to use integrated security. All access to tables, views and stored procedures work correctly with my Windows 10 login credentials in Management Studio and the code using Gen Pro to access the database objects in my C# projects
I even tried dropping and re-creating a couple of the stored procedures. No change whatsoever in those SP result sets in teh designer after I refresh the relational model.
The only thing that may be a little "off" is that I didn't install Gen Pro, but rather copied the Solutions Design folder and all sub-folders and files (including my license file) from my desktop to my laptop. I couldn't find the 4.2 install (it's been a few years since I installed it, obviously) and I couldn't find a means to download it from your site. I remember I used to do that with the older 2.6 version and when I copied it over and everything seemed to work at the time of setting up my laptop, I assumed I was going to be fine.
I can't think of anything else to do and I'm in a bit of a pickle with my work at this point. Any ideas what stupid thing I may have done and how to resolve it?