Freak'n New Guy!
I've been generating [VS2005 (no unit tests)] on my own tables [SQL Server 2005] and incorporated a test winform project into the generated solution. To give you an idea of the exception I'm getting, I'll use the configuration text from the generation report to give other newbies a reference point. a) In SecurityContext.cs::IsAuthorized(string), the property ConnectionScope.Current.DataProvider.EnableMethodAuthorization (configuration failed to initialize). Stepping into that, in SecurityContext.cs::DataProvider, ConnectionStringKey is null. Stepping further into DataRepository.cs::NetTiersSection, the following exception is generated: "Unrecognized configuration section netTiersService". Sorry for being verbose, just trying to provide information for other newbies. It is obvious this is a configuration issue:
1) What is the purpose of the configuration text in the generated report. Its perhaps informative but doesn't work.
2) Would the App.config.2005.cst template be useful in generating an App.config? If so, please explain the Data Section (FactoryType and ProviderInvariantName) and how to incorporate it when generating from the NetTiers.cst.
3) I included the unit test (Team Suite) just to get at the entlib.config. I copied and pasted into the App.config but to no avail.
Ideally, a copy of a basic WinForm App.config file would be nice but I would prefer using the App.config.2005 template as part of the NetTiers template execution. Your thoughts would be appreciated.