Login.LoginFormType =
error here-->e.ShowMainForm = Login.ShowLoginAndAuthUser(
System.Reflection.TargetInvocationException was unhandled by user code Message="Exception has been thrown by the target of an invocation." Source="mscorlib" StackTrace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at MicroFour.StrataFrame.Security.Login.ShowLoginAndAuthUser(Boolean AllowCancel) at Payroll.AppMain.ShowLoginAndInitMainForm(ShowLoginAndInitFormEventArgs e) in C:\Action Labor Payroll 2006\Payroll\Payroll\AppMain.vb:line 118 at MicroFour.StrataFrame.Application.StrataFrameApplication.Raise_ShowLoginAndInitializeForm(ShowLoginAndInitFormEventArgs e) at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()
If you remove the line of code specifying the custom logon form, does the default logon form come up?
I used the login template to create the login form. I deleted and re added the custom form and still recieve the same error.
Is the custom login form in the same assembly as the Appmain.vb file? It doesn't have to be, but I am just curious.
They are both in the same assembly. I used the Template to create the form and have not changed any thing in the template, This application has been in devlopment for awhile so I had to update the appmain following the directions in the Role based help. Is it possible that there is something that the login template form references that my app is missing?
P
{"Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Payroll.FrmLogin.resources" was correctly embedded or linked into assembly "Payroll" at compile time, or that all the satellite assemblies required are loadable and fully signed."}
I am getting the same problem on a vanilla application with security project.Here is the sample project.