Another Roadblock in my Silverligh Prototype based on Rolodex

Another Roadblock in my Silverligh Prototype based on Rolodex

Old forum URL: forums.lhotka.net/forums/t/6228.aspx


CyclingFoodmanPA posted on Wednesday, January 21, 2009

Ever feel like you are in the Indianapolis 500 and got up to max speed and then hit a wall?  Got around the wall, got back up to max speed again and hit another wall?  And you keep doing it?

Anyway, I am debugging the Rolodex application successfully thanks to input from Rocky, Sergey and Paul.  I was missing the Debug/Attach to process steps and am now able to debug and see what is going on.

The problem is in my prototype application.  I am modeling it just like the Rolodex application and in fact, where ever there is the string Rolodex, that is replaced with BAS (for Bel Air System).  My Wcf port is 4063 and when I set a break point on line:
GetCslaIdentity<BASIdentity>(completed, new CredentialsCriteria(username, password));
on the method:

public static void GetIdentity(string username, string password, EventHandler<DataPortalResult<BASIdentity>> completed)

and on
line:
command.CommandType = System.Data.CommandType.StoredProcedure;
on the method:
private
void DataPortal_Fetch(CredentialsCriteria criteria)

the debugger stops on the GetCslaIdentity line but does not stop in the DataPortal_Fetch so I know that code is not getting executed to log in and verify the user and password, but not sure where things are going?  It is coming back with an Invalid login though.

Again, any help and advice would be appreciated and all support and help so far has been awesome from you guys.  This Silverlight stuff is kicking my butt, but I am having fun digging into it.  Unfortunately, where I work, I am the sole developer so I don't have anyone to bounce ideas off of and I just dig in and figure it out one way or the other.

Thank you in advance for your help,

Keith

 

CyclingFoodmanPA replied on Wednesday, January 21, 2009

Ok, I answered my own question/problem.  I found out what happens when you DON'T make the xxx.Client and xxx.Server libraries be the same namespace!  You get what happened to me above.  Does this happen to you also?  You beat your head against the wall, post something and then realize what you did wrong within an hour after you post your problem?  I hope I am not the only one that does this!

Happy coding folks.

Keith

Copyright (c) Marimer LLC