Errors Compiling..help!

Last post 07-07-2008 9:00 AM by LifeByTheHorns. 3 replies.

Sort Posts:

  • Errors Compiling..help!

    07-06-2008, 9:23 PM
    • Member
      point Member
    • cinbou
    • Member since 07-07-2008, 1:14 AM
    • Posts 11

    Hi!

     I have successfully created websites using Dreamweaver and PHP for years.  However, I am VERY new to ASP.  I recently took over the maintenance of a website that was designed in Version 7.1 of Visual Studio.  I downloaded the free Visual Webdeveloper 2008 Express Edition and moved all the files from the hosting site to my hard drive for editing. 

     However, I am getting numerous error messages.  When I Build the site I get the following error: COULD NOT LOAD TYPE FrontAndCenter.index.  It directs me to line one of the code on my index page.  After reading some posts, I made sure the namespace in the index.aspx.cs file was the same.  It is.  I also made sure the .DLL file was in the appropriate bin folder.  Once I moved the DLL, I re-built the site and got another error message:  COULD NOT LOAD TYPE GLOBAL.

     Any ideas what is going on?  I really need to be able to update these pages as I am on a deadline.

    Thanks!

     

  • Re: Errors Compiling..help!

    07-07-2008, 12:06 AM
    Answer
    • Member
      480 point Member
    • LifeByTheHorns
    • Member since 03-18-2008, 3:02 PM
    • Outside of Chicago
    • Posts 87

    The first thing you need to consider is that you are accessing files that were built and designed with a different version of software than what you have.  They were more than likely compiled with the 1.1 Framework and VWD2008Express (by default) utilizes 3.5 Framework.  Change the master settings of VWD and then try it again.  That should fix your problems.

    "Tell me. I'll forget. Show me, I may remember. But involve me and I'll understand."
    Chinese Proverb

    Please remember to mark the replies as answers if they help.
  • Re: Errors Compiling..help!

    07-07-2008, 8:48 AM
    • Member
      point Member
    • cinbou
    • Member since 07-07-2008, 1:14 AM
    • Posts 11

    Thanks, but how do I go about changing the master settings of VWD?  Where is the information located?

  • Re: Errors Compiling..help!

    07-07-2008, 9:00 AM
    Answer
    • Member
      480 point Member
    • LifeByTheHorns
    • Member since 03-18-2008, 3:02 PM
    • Outside of Chicago
    • Posts 87

    With the site loaded in VWD, your solution explorer should be located on the top right side of your screen.  Right click on the root of your site and go to Property Pages.  The build option is the 2nd one on the list.

    "Tell me. I'll forget. Show me, I may remember. But involve me and I'll understand."
    Chinese Proverb

    Please remember to mark the replies as answers if they help.
Page 1 of 1 (4 items)
Microsoft Communities