Web Sample error


Author
Message
Angela G Lee
Angela G Lee
StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)
Group: StrataFrame Users
Posts: 1, Visits: 2
Yeah!They need registered in the GAC.In order to maintain your idiosyncratic identity on the  web browser and provide prompt allocation.


swim caps that keep hair dry
Ross L. Rooker, Sr.
Ross L. Rooker, Sr.
StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)
Group: Forum Members
Posts: 153, Visits: 462
On  my GoDaddy on my server (Virtual Dedicated) do any of the Microfour DLL's need to be registered in the GAC?
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Funny story...I clicked "Post Reply" on the last post and then the page scrolled back to the top.  It was basically on the message you posted with the error you are getting....but when I saw it, I thought it was an error on the page and thought...sheesh...how did that happen?  I quickly came to my senses...but I thought you may want to laugh at my expense. Smile
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Thanks for your kind words, Ross.  It really does encourage us!
Ross L. Rooker, Sr.
Ross L. Rooker, Sr.
StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)
Group: Forum Members
Posts: 153, Visits: 462
Thanks Trent. You have been a great help. I am still amazed at the simplicity of the web sample.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Have to tried to recreate the error in an isolated area of your code.  Just create a test page that tries to create your BO through the Activator.CreateInstance (that is what we do in the SF code).  Place your test page on the same level as the page not working.  Then if you need to trap the error and get the inner exceptions, you can create a message or something to give you a heads up.

Another option is to setup a remote debugger.

But from experience, this type of issue is generally always a setup issue.  There is something missing.  Have you thought about pre-compiling your site before upload?  That can improve performance and at times will resolve remote issues like this.

I generally try and precompile the ASP.NET apps before they are published.
Ross L. Rooker, Sr.
Ross L. Rooker, Sr.
StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)
Group: Forum Members
Posts: 153, Visits: 462
I checked that. What is strange is if I do not click on Search Customers tab and go right to clicking on Edit Customers, the data shows up for the top 100 rows. I can EDIT, SAVE and navigate. No matter when I click the Search Customers the code in the ListPopulating event of the ListView causes the error.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Ross:

First, look to make sure that you have YOUR bo assemblies in the Bin folder of your deployed website.  This error doesn't have anything to do with trust I don't think.  I think this error is coming from an issue with your deployed assemblies.  So in this example, the assembly that houses "visualOfficeNetBO.tblIndividual" doesn't seem to be loaded into the AppDomain of the site.  Start there.

Ross L. Rooker, Sr.
Ross L. Rooker, Sr.
StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)
Group: Forum Members
Posts: 153, Visits: 462
I knew that but why would it be only on the listview and why would it only happen on the deployed code. Both the one run from localhost and the deployed run against the exact same database.

The tblIndividual is the same as you Customers BO in the websample.

Also, the error occurs exactly when I click on Search Customers. Yet works on the EDIT CUSTOMERS and GRID VIEW tabs.

Full Trust is on the deployed server. Targeting framework 3.5. I did comment out the USING statment on the samples for LINQ. Not sure if this matters. But again, it works from localhost.
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Apparently it is saying it cannot instanciate your BO:

Could not create and fill the business object of type 'visualOfficeNetBO.tblIndividual'

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