• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Kman
#1 Posted : Thursday, September 14, 2006 11:38:13 AM(UTC)
Kman

Rank: Member

Joined: 11/25/2003(UTC)
Posts: 370

Has anyone been about to publish a precompiled version of your bv5 site?

I am getting these errors

Code:
Error    1    K:\WebsitesRSW2003\TooCoolWebsBV5\WWWRoot\BVAdmin\Controls\FilePicker.ascx.vb(224):
error BC30002: Type 'ASP.bvadmin_controls_messagebox_ascx' is not defined.
K:\WebsitesRSW2003\TooCoolWebsBV5\WWWRoot\BVAdmin\Catalog\Categories_AutomaticSelection.aspx    1    
Error    2    K:\WebsitesRSW2003\TooCoolWebsBV5\WWWRoot\BVModules\Controls\CrossSellDisplay.ascx.vb(230):
error BC30002: Type 'ASP.bvmodules_controls_singleproductdisplay_ascx' is not defined.
K:\WebsitesRSW2003\TooCoolWebsBV5\WWWRoot\BVAdmin\Catalog\Products_Edit.aspx    1    
Error    3    Type 'ASP.bvadmin_controls_messagebox_ascx' is not defined.
K:\WebsitesRSW2003\TooCoolWebsBV5\WWWRoot\BVAdmin\Controls\FilePicker.ascx.vb    224    
Error    4    Type 'ASP.bvmodules_controls_singleproductdisplay_ascx' is not defined.
K:\WebsitesRSW2003\TooCoolWebsBV5\WWWRoot\BVModules\Controls\CrossSellDisplay.ascx.vb    230    
Error    5    Type 'ASP.bvmodules_controls_singleproductdisplay_ascx' is not defined.
K:\WebsitesRSW2003\TooCoolWebsBV5\WWWRoot\BVModules\Controls\CrossSellDisplay.ascx.vb    256    
Error    6    Type 'ASP.bvmodules_controls_singleproductdisplay_ascx' is not defined.
K:\WebsitesRSW2003\TooCoolWebsBV5\WWWRoot\BVModules\Controls\CrossSellDisplay.ascx.vb    274    
Error    7    Type 'ASP.bvmodules_controls_singleproductdisplay_ascx' is not defined.
K:\WebsitesRSW2003\TooCoolWebsBV5\WWWRoot\BVModules\Controls\CrossSellDisplay.ascx.vb    275    
Error    8    Type 'ASP.bvmodules_controls_singleproductdisplay_ascx' is not defined.
K:\WebsitesRSW2003\TooCoolWebsBV5\WWWRoot\BVModules\Controls\UpSellDisplay.ascx.vb    191    
Error    9    Type 'ASP.bvmodules_controls_singleproductdisplay_ascx' is not defined.
K:\WebsitesRSW2003\TooCoolWebsBV5\WWWRoot\BVModules\Controls\UpSellDisplay.ascx.vb    212    


Also anyone attemped conversion to web application project?
Regards,
Kim(Kman) Rossey
www.toocoolwebs.com
BVSoftware - MerchantTribe Programming/Design, Database Programming and Business Applications
[email protected]
Marcus
#2 Posted : Thursday, September 14, 2006 2:16:28 PM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

Justin has been working with the aspnet_precompile program. He may have some insight.
CorneliuTusnea
#3 Posted : Friday, September 15, 2006 3:30:13 AM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

Kim,
I tried to convert the project to a web application. However there are lots of bugs to fix before getting it running. Maybe the most anoying part is the fact that there are duplicate class names. Basically classes that were copy&pasted and small stuff changed in them.
This works ok in a web site but not in a web application where they all get compiled in an assemby so name conflicts generate errors.
Some examples:
1.
BVModules_ContentBlocks_Product_Rotator_editor (and _view)
- ContentBlocks\Featured Product\editor.ascx
- ContentBlocks\Product Rotator\editor.ascx

2.
The Flash Image Rotator also had a name conflict but I don't remember the conflicting class as I fixed that last night ;)

3.
BVAdmin: BVModules_Controls_CategoryBreadCrumbTrail
BVModules: BVModules_Controls_CategoryBreadCrumbTrail

4.
Last Products View
BVModules_ContentBlocks_Product_Grid_editor
And so on.

Another even more anoying problem I find is accessing HTML elements from code.
I noticed in several places declarations like <a runat="server" id="lnkChoose">.
I think this is wrong. It should be <asp:HyperLink runtat="server" ...>
Also the WebApplication project did not like it and I had to fix this in several locations. Same for <img runat="server"

I worked about 12h already and I still have more than 100 errors. I think I'll give up and HOPE that Marcus and his team will get all these things fixed.

Corneliu
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

Kman
#4 Posted : Friday, September 15, 2006 6:15:02 AM(UTC)
Kman

Rank: Member

Joined: 11/25/2003(UTC)
Posts: 370

Thanks Corneliu for your information. Yes, I am betting both our post will be used to correct a future iteration.
Regards,
Kim(Kman) Rossey
www.toocoolwebs.com
BVSoftware - MerchantTribe Programming/Design, Database Programming and Business Applications
[email protected]
jetheredge
#5 Posted : Friday, September 15, 2006 9:23:27 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

The errors that you are seeing is because asp.net precompilation and user controls do not play nicely. Basically when you load a user control with LoadControl it pulls the file that you point it at, and in a pre-compiled website these files are only the placeholder files and has no real content. So you get errors In order to make it work, you have to run the asp.net precompiler with the updateable option turned on, so that the placeholder files actually get their content populated in them. This way the asp.net runtime can actually load the user control.
Justin Etheredge
Senior Software Engineer
BVSoftware
Marcus
#6 Posted : Friday, September 15, 2006 1:06:48 PM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

Corneliu,

The Web Project is unsupported code from Microsoft just like Vista RC1. We can not guarantee compatibility with any beta or unsupported products from other vendors.

While some of your reported issues may indeed be bugs in the software we can not effectively track them down unless you use non-beta software. It is in your best interest to use only official and supported versions of Microsoft products so that we can track down and resolve bugs quickly.
Kman
#7 Posted : Friday, September 22, 2006 7:25:43 AM(UTC)
Kman

Rank: Member

Joined: 11/25/2003(UTC)
Posts: 370

Justin, thanks for the heads up. I see what is going on now.
Couple good reads
http://west-wind.com/weblog/posts/3016.aspx
http://west-wind.com/weblog/posts/2128.aspx
Regards,
Kim(Kman) Rossey
www.toocoolwebs.com
BVSoftware - MerchantTribe Programming/Design, Database Programming and Business Applications
[email protected]
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012