BV Commerce Forum
»
BV Commerce Support
»
How Do I? Questions
»
HELP!!! URGENT! I just uploaded default.aspx.vb to the wrong folder and now my site is down!
Rank: Member
Joined: 3/6/2006(UTC) Posts: 52
|
OK, so I was working on my default.aspx.vb file in the Admin>Orders folder and I guess I lost FTP connection. When I re-connected, I uploaded my default.aspx.vb file but this time it replaced the one in the main directory. DOH!
Please help!!! Can someone send me a fie to fix this??
Now I cannot access my site and I get the following error:
Compilation 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: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
Source Error:
Line 2: Imports System.Collections.ObjectModel Line 3: Line 4: Partial Class BVAdmin_Orders_Default Line 5: Inherits BaseAdminPage Line 6:
Source File: E:\www\devhosting\StealthAuto\Default.aspx.vb Line: 4
Show Detailed Compiler Output: |
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
Can you try to replace it with the default one from the package? If not, here is the contents of my default.aspx.bv in the root folder:
Imports System.Collections.Generic Imports System.IO Imports BVSoftware.Bvc5.Core
Partial Class _Default Inherits BaseStorePage
Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit SessionManager.CategoryLastId = String.Empty Me.MasterPageFile = PersonalizationServices.GetSafeMasterPage("Home.master") End Sub
End Class
Regards, Corneliu. |
|
|
|
|
Rank: Member
Joined: 3/6/2006(UTC) Posts: 52
|
Again, thank you so much for the help! That worked perfectly and I am back online. :) |
|
|
|
|
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.