A name was started with an invalid character

Last post 10-18-2009 10:44 PM by Stormy22. 16 replies.

Sort Posts:

  • Re: A name was started with an invalid character

    04-17-2009, 4:52 PM
    • Member
      2 point Member
    • DuffyN
    • Member since 02-26-2009, 5:10 AM
    • Posts 6

    Sharris solution worked for me.  No version of ASP.NET was selected in the properties tab on the virtual directory for the website on the server.  I am very thankful for these forums and need to contribute.  This would take 4096 years w/o these forums!

  • Re: A name was started with an invalid character

    10-18-2009, 10:44 PM
    • Member
      4 point Member
    • Stormy22
    • Member since 10-18-2009, 10:39 PM
    • Posts 2

    Its very easy to fix this problem.

    Go into your web site properties and see what version of ASP.NET you are using. If its 1.1, you need to change the <%@ Page %>

    directive to use Codebehind="...". If its ASP.NET 2.0 or later, you need to use Codefile="..." and remove the Inherits="" phrase. Thats it! Most people are switching framework versions on different servers and are not make this change at the top of their ASPX pages. - www.stormdetector.com

Page 2 of 2 (17 items) < Previous 1 2