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

Notification

Icon
Error

Pymenta
#1 Posted : Wednesday, May 16, 2007 1:54:19 PM(UTC)
Pymenta

Rank: Member

Joined: 8/13/2004(UTC)
Posts: 73

Guys, we've installed the sp2 under a new site.
We've imported the products by the import/export tool... and when we choose any product in the store we have this problem:





<H2>[color=#ffffcc>

<TR>
<TD>[1]

Version Information:[/1] Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210







[3]Any help? thanks.[/3]&lt;!--
[HttpCompileException]: C:\Inetpub\wwwroot\BV Commerce 5\CPADUSAsp2\BVModules\ProductTemplates\cpad\Product.aspx.vb(85): error BC30456: 'ImageUrl' is not a member of 'ASP.bvmodules_controls_productmainimage_ascx'.
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--&gt;&lt;!--
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.--&gt;
Nick Alberti
#2 Posted : Wednesday, May 16, 2007 1:54:55 PM(UTC)
Nick Alberti

Rank: Member

Joined: 9/27/2004(UTC)
Posts: 1,099

You can safely remove or comment out this line. That should fix the issue.
Pymenta
#3 Posted : Wednesday, May 16, 2007 3:14:36 PM(UTC)
Pymenta

Rank: Member

Joined: 8/13/2004(UTC)
Posts: 73

Now I get another error...

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30456: 'CurrentPrice' is not a member of 'BVSoftware.Bvc5.Core.Catalog.Product'.

Source Error:

Line 93: 'add on selected modifier prices
Line 94: Dim priceAdjustment As Decimal = VariantsDisplay.GetPriceAdjustment()
Line 95: Me.LocalProduct.CurrentPrice += priceAdjustment
Line 96:
Line 97: ' Prices
Nick Alberti
#4 Posted : Wednesday, May 16, 2007 3:22:11 PM(UTC)
Nick Alberti

Rank: Member

Joined: 9/27/2004(UTC)
Posts: 1,099

In SP2, CurrentPrice got changed from a property on the product to a method named “GetCurrentPrice”.

I believe it requires the user BVIN. You can get this by calling SessionManager.GetCurrentUserId()
Pymenta
#5 Posted : Wednesday, May 16, 2007 3:32:11 PM(UTC)
Pymenta

Rank: Member

Joined: 8/13/2004(UTC)
Posts: 73

Ok, this time I didn't understood what should I do...

Do I have to replace the "Me.LocalProduct.CurrentPrice += priceAdjustment" just for the "GetCurrentPrice"?

And where should I put the "SessionManager.GetCurrentUserId()"

(And I dont understand how are the UserId and the Price related...)

Sorry, this time I got lost... and thanks again.
Auchi
#6 Posted : Friday, June 15, 2007 3:03:01 PM(UTC)
Auchi

Rank: Member

Joined: 1/8/2007(UTC)
Posts: 79

I didn't answered this before, because I've really forgot this post.
My mistake was stupid and easy to solve.

This store was started under SP1, then we made the upgrade to SP2 but by mistake, I've uploaded this module's SP1 file.
Thanks anyway for the help.
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.

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