Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: Visual Studio - Error Creating Control

  1. #1
    DesignHub is offline Junior Member
    Join Date
    Jun 2010
    Posts
    5

    Default Visual Studio - Error Creating Control

    I have an almost 'bare bones' clean install of ASPDNSF 9 on Windows 7 64 bit, using Visual Studio 2008.

    Up until recently it was working fine. I now open the project (default.aspx) and am getting a lot of:

    'Error Creating Control' Messages.
    Could not load file or assembly 'AspDotNetStorefrontCore' or one of its dependencies. The system cannot find the file specified...

    it then refers to line 236 of the web.config file. Which is...
    <add expressionPrefix="Tokens" type="AspDotNetStorefrontCore.Tokens, AspDotNetStorefrontCore" />

    All of the files are intact and in place. When running the site on localhost, all of these controls load correctly.

    Any ideas what could be causing the display issue in VS 2008?

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Did you recompile AspDotNetStorefrontControls project recently prior to this error? Do you have the following "references" in the controls project?

    Name:  controls.jpg
Views: 184
Size:  11.9 KB

  3. #3
    DesignHub is offline Junior Member
    Join Date
    Jun 2010
    Posts
    5

    Default

    I don't seem to have a folder named AspDotNetStorefrontControls, but I have got the 'core' file in my Bin Folder. See attachment.

    I have only just started using VS 2008 and am trying to be very careful with what I do, so I haven't recompiled anything. I have only really been making tweaks to the master page and then viewing the site using the 'view site in browser' button.

    I extracted the files into a empty folder to see if I was missing the AspDotNetStorefrontControls folder that shows in your screengrab, but it's not in there.

    Am I missing something?
    Attached Images Attached Images  

  4. #4
    DesignHub is offline Junior Member
    Join Date
    Jun 2010
    Posts
    5

    Default Missing Folders?

    For some reason my folder structure looks slightly different from your screen grab.
    I have the Core DLL file in my Bin folder, as well as a PCB file with a little red dot on it. But I don't seem to have the folders that you have, even with a clean extraction.

    I have included a few attachments to show my folder structure.
    Attached Images Attached Images      

  5. #5
    DesignHub is offline Junior Member
    Join Date
    Jun 2010
    Posts
    5

    Default Missing Folders

    Hello

    Thank you for your reply. I have tried to reply to this thread a couple of times now, adding attachments. For some reason they are either not posting, or being stuck in your queue for approval.

    I seem to have a different folder structure to yourself. Even from a clean extraction I don't have an AspDotNetStorefront control folder.

    I do have the the AspDotNetStorefrontControls.dll & AspDotNetStorefrontCore.dll files in the Bin folder. They, as well as other files also have a matching filename but with the .pcb file extension. These have a little red dot on the file icon. Not sure if that is correct or not.

    It is very strange as the site works fine in a browser, it's just when viewing it through Visual Studio.

    Any help would be greatly appreciated.