Register
Tuesday, January 06, 2009
Forum
 
ApplicationPrincipal is not declared.
Last Post 28 Nov 2008 05:52 PM by WoNd3RBoY. 11 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Telarian
New Member
New Member
Posts:33


--
31 Oct 2008 09:58 PM  
And another...

I get the following error:

Error 135 Name 'ApplicationPrincipal' is not declared. C:\thepath\PLWinMainForm.vb 56 9

Based on the following generated code:

Private Sub PLWinMainForm_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
ApplicationPrincipal.Login()
End Sub


As always, any insight would be greatly appreciated.

Thanks,

Tory
Telarian
New Member
New Member
Posts:33


--
31 Oct 2008 09:58 PM  
I went looking for an appropriate object that it would be referring to but I couldn't find one.
eurowise
Basic Member
Basic Member
Posts:107


--
01 Nov 2008 05:55 PM  
It is looking for the ApplicationPricipal class, which is normally generated if you inlclude a login data source and check the Cutom option for the authentication when you generate your application.

Philip
huwlloyd
New Member
New Member
Posts:15


--
04 Nov 2008 05:43 PM  
I think there may be a bug in the beta.
I too keep getting this error but i did not include a login data source.
Telarian
New Member
New Member
Posts:33


--
04 Nov 2008 07:34 PM  
Yes. I use only Windows authentication. I've never included a login data source or used the custom option for authentication.
WoNd3RBoY
New Member
New Member
Posts:8


--
27 Nov 2008 07:19 PM  
Same problem occured here. Did not add login datasource and had windows option selected.
WoNd3RBoY
New Member
New Member
Posts:8


--
27 Nov 2008 07:47 PM  
Would anyone agree

...that you can easily overlook and select to include all datasources at the end of the solution wizard even LOGIN datasource...even though you did not want any login datasource?

I am sure this happened to me.
WoNd3RBoY
New Member
New Member
Posts:8


--
27 Nov 2008 07:50 PM  
More simple...a treeview at "Project Data Source Selection" step in solution wizard...always has a node "Login" and you can easily select the empty node.
WoNd3RBoY
New Member
New Member
Posts:8


--
27 Nov 2008 08:20 PM  
But...i got the same problem back again after re-generating all layers...even though i did not have any login datasource selected when i first created solution...so this is definetely a bug. please fix
WoNd3RBoY
New Member
New Member
Posts:8


--
27 Nov 2008 08:22 PM  
...also all the code for checking CanEdit, CanDelete...is generated...although no login-security info has been selected
eurowise
Basic Member
Basic Member
Posts:107


--
28 Nov 2008 07:28 AM  
It will be fixed. We are looking into it.

Philip
WoNd3RBoY
New Member
New Member
Posts:8


--
28 Nov 2008 05:52 PM  
Thank you. Great work CC!
You are not authorized to post a reply.

Active Forums 4.0