BOs have value of Nothing on Page Load


Author
Message
Andrew Harper
Andrew Harper
StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)
Group: StrataFrame Users
Posts: 91, Visits: 3.4K
Hi,

Suspect I have missed something obvious here but have not been able to find the cause.

I created a SF Web Application project in VS2010 and have created a SF webform based on a master page.

I added the business object definitions to the application base page.

I set the page I created to the "Start Page" for the app. When I run the app and look in the debugger the BOs have a value of "Nothing" in the page load event.  I looked at the sample web application but could locate where the BOs are being instantiated when the application starts.    

If I set the Start Page to Default.Aspx I get an error when I try to run the application:



What am I missing?

TIA,

Andy
Attachments
parse_error.png (204 views, 7.00 KB)
Reply
Andrew Harper
Andrew Harper
StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)
Group: StrataFrame Users
Posts: 91, Visits: 3.4K
Hi Trent,

Thanks for the sample, I will load, test and reply. In all my tests so far  have been using the VB.Net SF Web Application Project template.

Subsequent to my original post I repeated the process in a W7 virtual machine that only had VS2010 and Strataframe freshly installed. My main XP development machine has vs2003, vs2005, vs2008 and vs2010 installed. In the W7 VM the Default.aspx file still had the same issue with the inherits statement but once I had fixed this the solutuon built without error and the BO's were instantiating correctly. I did however have problem with this setup where the microfour assemblies were not visible  in the 'Add Reference' dialogue. I found another post in these forums that solved this issue.

At this stage I will stick to VS2008 as there are no compelling reasons for me to use VS2010.

I appreciate your help,

Best regards,

Andy 
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Andrew Harper - 14 Years Ago
Andrew Harper - 14 Years Ago
Trent L. Taylor - 14 Years Ago
Andrew Harper - 14 Years Ago
Trent L. Taylor - 14 Years Ago
                         You are trying to run an Express version are you? Also, as an aside, I...
Trent L. Taylor - 14 Years Ago
                             [quote][b]Trent L. Taylor (1/20/2011)[/b][hr]You are trying to run an...
Andrew Harper - 14 Years Ago
                                 Before you do...let me give you a beta SF build just to make sure that...
Trent L. Taylor - 14 Years Ago
                                     Still working on that build...sorry for the delay :blush:
Trent L. Taylor - 14 Years Ago
                                         Sent you a PM with a link.
Trent L. Taylor - 14 Years Ago
Andrew Harper - 14 Years Ago
Andrew Harper - 14 Years Ago
Trent L. Taylor - 14 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search