Darn it … I had everything ready to roll … very familiar with web development with SF … BUT … after I converted to 4.5.2 (and I do not know if that is the problem or not) the SF control on the ASPX page does not enumerate with a list of Business Objects defined on the ApplicationBasePage. So, I typed the information by hand (knowing it wouldn’t work) and received this message:
The given key was not presentin the directory with the stack trace pointing to the binding data to the web control in question, txtFirstName
public ContactRegionsoContactRegions = new ContactRegions();
public SFSUsersBO oUsers = new SFSUsersBO();
public SFSPermissionsBOoPermissions = new SFSPermissionsBO();
public SFSRolesBO oRoles = new SFSRolesBO();
public SFSProjectsBOoSecurityProjects = new SFSProjectsBO();
public SFSPreferencesBOoPreferences = new SFSPreferencesBO();
public SFSRestrictionsBOoRestrictions = new SFSRestrictionsBO();
public SFSRestrictionItemsBOoRestrictionItems = new SFSRestrictionItemsBO();
public SFSUsersXRolesBOoUsersXRoles = new SFSUsersXRolesBO();
public SFSUsersXPermissionsBOoUsersXPermissions = new SFSUsersXPermissionsBO();
public PasswordResetoPasswordReset = new PasswordReset();
public SystemUsers oSystemUsers = new SystemUsers();
public EmailTemplatesoEmailTemplates = new EmailTemplates();
public EmailEngine oEmailEngine = new EmailEngine();
public CompanyConfigoCompanyConfig= new CompanyConfig();
public Lead oLead = new Lead();
public Addresses oAddresses = new Addresses();
As well as the proper ITypeResolver code referenced on the forum.
I know I have to be missing something stupid but is was seven years ago or more since I created a rather intricate SF Web Form application. I assume that all of the business objects defined in the ApplicationBasePage is the source of the BusinessObjectName property?
#region [ ITypeResolver Implementation ]
/// <summary>
/// Must be used by the StrataFrame Application Framework to resolve a
/// type within this ASP.NET project due to the fact that the Entry Assembly
/// cannot be evaluated in an ASP.NET application.
/// </summary>
/// <param name="TypeName"></param>
/// <returns></returns>
/// <remarks></remarks>
public System.Type ResolveType(string TypeName)
{
//-- Return the gettype for the given TypeName
return System.Type.GetType(TypeName, false, true);
}
/// <summary>
/// Required by the base class to allow the StrataFrame Application Framework
/// to access the assemblies referenced by this project.
/// </summary>
/// <returns></returns>
/// <remarks></remarks>
public CompilationSection GetCompilationSection()
{return (CompilationSection)WebConfigurationManager.GetSection("system.web/compilation");}
#endregion