Errors in the Sample Console (1.6)


Author
Message
James Moore
James Moore
StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)
Group: Forum Members
Posts: 4, Visits: 741
Hi all,

I've been working with Trent on this but could not come up with a resolution before he had to jet out on a family emergency.  I know this isn't a priority, but I was showing a programming friend of mine the Sample Console after upgrading to 1.6 and errors occur on almost all of the links in the StrataFrame UI Controls (There is a lot more to the message, but basically it is a SQLException: Invalid object name 'customers').  When I click on the Advanced ListView Population under Grids and Lists, the customers load (parent records), but when I click on a customer that has child records, WHAMO!  This time I get SQLException: Invalid object name 'products'.  Here are the things Trent and I have gone through thus far:

1.  Deleted the appkeys.dat and connections.dat under C:\Documents and Settings\All Users\Application Data\MicroFour\ConnectionData.  Reconnected under VS and when running the Samples and problem still exists.

2.  Removed StrataFrame and StrataFrameSample databases from SQL Server 2005 Express SP2 and downloaded the latest StrataFrame installation then ran the installation.  Both databases were created successfully, still the same problem.

3.  Completely uninstalled StrataFrame, removed all left over folders in Common Files, Program Files, Profile folders, etc.  Removed both databases from my SQL Server.  Searched for StrataFrame and MicroFour in the registry and removed all entries.  Ran a registry cleaner to clean up anything I may have missed.  Restarted my computer and checked for a new StrataFrame installation (which there was), downloaded and installed StrataFrame.  Ran the Samples and still have the problem. 

That is pretty much where we left it.  Trent thought it may be some type of connection with the database issue (like connecting to an older version or something), but I only have one instance of SQL Server and the setup recreates the databases each time without any issues.  Plus, I can connect to both to them (StrataFrame database in VS2005 and StrataFrameSample when I try to run the first Sample after installation).

Anybody have any ideas?  I was a little embarrassed trying to show off the Samples.  However, I was able to run the CRM Sample application without any problems at all and that really impressed him.  I told him it was a brand new version and the other Samples were probably something to do with my setup.  Smile

TIA,

James Moore

 
James Moore
Software Developer
Ministry Tracking Software, Inc.
http://www.youthtrack.com
 
 

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
James Moore (02/23/2007)
3.  Completely uninstalled StrataFrame, removed all left over folders in Common Files, Program Files, Profile folders, etc.  Removed both databases from my SQL Server.  Searched for StrataFrame and MicroFour in the registry and removed all entries.  Ran a registry cleaner to clean up anything I may have missed.  Restarted my computer and checked for a new StrataFrame installation (which there was), downloaded and installed StrataFrame.  Ran the Samples and still have the problem. 

Hi James.

I see you haven't formated your hard drive yet... Hehe ... just kidding.

It won't be of much help, but all samples run fine over here. As you've been through this with Trent, I guess nothing much has been left to say. You wouldn't have 2 instances of SQL Express installed in your machine, would you? Nor this would be a security issue, do you think? Would you consider uninstalling SQL Express and installing it again?

Cheers.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I see you haven't formated your hard drive yet... Hehe ... just kidding.




Ah...those crazy brazilians! Tongue

StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Hehe, but a format fixes anything Smile

James, all of the samples should have the source code include... can you build one of the offending samples in debug and put a break point where the exception is being thrown?  Then, while it's at the breakpoint, in the Watch window, check the value of the MicroFour.StrataFrame.Data.DataBasics.DataSources("").ConnectionString. 

If you post the connection string out here, don't forget to remove any passwords if necessary (to protect the innocent).

James Moore
James Moore
StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)StrataFrame Beginner (12 reputation)
Group: Forum Members
Posts: 4, Visits: 741
Hey, I see we have a comedian on this forum.  Right, Ivan?  hehe

I see you haven't formated your hard drive yet... just kidding.

Maybe that will be my next step if Ben's suggestion doesn't show anything.  Smile

I appreciate your response.  Ben, I'll give that a try and see what I find out.  Something is whacked out somewhere on my system if nobody else is seeing these same problems.  Still makes me wonder why the Sample CRM application works perfectly but not the individual control samples. Unsure

I'll let you know what I find out.

Have a great weekend everyone!

James

 
James Moore
Software Developer
Ministry Tracking Software, Inc.
http://www.youthtrack.com
 
 

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
James Moore (02/23/2007)
Hey, I see we have a comedian on this forum.  Right, Ivan?  hehe

Yeah, and I bet Greg thinks he is funny too... you're talking about him, right? Smooooth

Ricardo Quartier
Ricardo Quartier
StrataFrame Novice (103 reputation)StrataFrame Novice (103 reputation)StrataFrame Novice (103 reputation)StrataFrame Novice (103 reputation)StrataFrame Novice (103 reputation)StrataFrame Novice (103 reputation)StrataFrame Novice (103 reputation)StrataFrame Novice (103 reputation)StrataFrame Novice (103 reputation)
Group: Forum Members
Posts: 87, Visits: 779
We crazy? w00t

Just Ivan is crazy !!

haha

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Yeah, and I bet Greg thinks he is funny too... you're talking about him, right?




Who me? I was just making an oberservation Wink , which accoring to Ricardo was a bit too general Pinch
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search