A name was started with an invalid character

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

Sort Posts:

  • A name was started with an invalid character

    05-23-2005, 11:28 AM
    • Member
      5 point Member
    • guitu
    • Member since 05-23-2005, 3:26 PM
    • Posts 1

    in: http://localhost/IssueTracker/Default.aspx

    The XML page cannot be displayed

    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


    A name was started with an invalid character. Error processing resource 'http://localhost/IssueTracker/Default.aspx'. Line...

    <%@ Page Language="vb" AutoEventWireup="false" Inherits="ASPNET.StarterKit.IssueTracker._Default" CodeFile="Default.aspx....
    Thanks!
  • Re: A name was started with an invalid character

    05-25-2005, 6:08 AM
    • Member
      10 point Member
    • PegasuZ
    • Member since 05-25-2005, 8:24 AM
    • Posts 2
    C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis  -i

    this will make it work ;)

    Greetz,

    P
  • Re: A name was started with an invalid character

    04-07-2006, 9:25 PM
  • Re: A name was started with an invalid character

    09-09-2006, 9:58 PM
    • Star
      8,834 point Star
    • MorningZ
    • Member since 07-22-2002, 2:39 PM
    • Fort Lauderdale, FL
    • Posts 1,815

    ** edit **

    Sorry, i didn't notice this was the issue tracker forum (came right to this topic from a google hit)... i posted it in the general forum instead

    "If you make it idiot proof, they'll build a better idiot"
  • Re: A name was started with an invalid character

    01-17-2007, 3:31 PM
    • Member
      2 point Member
    • tgardner
    • Member since 01-17-2007, 8:27 PM
    • Posts 1

     I encountered the same problem - one of these two responses may fix the problem.  Check to see if the problem persists on another machine.  I found that it only existed on my development machine.

    Case sensitivity

    http://professionalaspnet.com/blogs/aspnet_blog/archive/2006/04/07/A-name-was-started-with-an-invalid-character-Error-processing-resource.aspx

    Development Machine vs regular user

    http://support.microsoft.com/kb/892951

  • Re: A name was started with an invalid character

    01-26-2007, 10:26 AM
    • Member
      7 point Member
    • sharris
    • Member since 05-09-2006, 4:56 PM
    • Posts 2

    This happened to me using VS Web Dev Express.

    I was able to fix it by going into IIS, then the properties of the site, ASP.NET TAB.

    The ASP.NET Version was blank in the drop down for some reason. Once I selected I was able to resolve it.

  • Re: A name was started with an invalid character

    07-18-2007, 3:56 AM
    • Member
      4 point Member
    • shahrinn
    • Member since 07-18-2007, 7:54 AM
    • Posts 2
    thanks sharris it's work for me
  • Re: A name was started with an invalid character

    10-04-2007, 5:53 PM
    • Member
      2 point Member
    • sonaliagrawal
    • Member since 10-04-2007, 9:52 PM
    • Posts 1

     I have tried everything that you have mentioned here.. It does not work for me. Please help!

  • Re: A name was started with an invalid character

    02-15-2008, 8:34 AM
    • Member
      2 point Member
    • MarcRosoe
    • Member since 08-20-2007, 6:21 PM
    • Posts 1

    I also have the same issue. I have tryed to reinstall IIS and ASP.NET 2.0 also did the aspnet_regiis -i and -e to not avail.

    I am running server 2003 with IIS 6.0.

    I am trying to open the website VIA local path  \\HOST\inetput\wwwroot\default.aspx

    Any other suggestions?

  • Re: A name was started with an invalid character

    04-09-2008, 2:20 AM

    Actually when i run my project on localhost , it is running but if i give the Machine ip address  in stead of localhostit is giving error like" name was started with an invalid character" please guide me regarding this...

     

     

    Thanks if any help is found

  • Re: A name was started with an invalid character

    04-23-2008, 3:09 AM
    • Member
      4 point Member
    • damole
    • Member since 04-23-2008, 7:07 AM
    • Posts 2

    I tried this and it worked, thanks!

     

    It is helpful to shut down all the browsers trying to access that script and stop and restart IIS. Maybe not necessary but helped me.

     Good luck

  • Re: A name was started with an invalid character

    08-27-2008, 4:26 PM

    I remember an issue when I first started using WCF services on my XP box.  I had to go into iis and map the .svc extension appropriately so iis knew what to do with it.

    I recently had to do this again after installing the VS2008 SP1.

    Its worth the effort to see if your file mappings in IIS are correct.

     

    Hope this helps

    Darrell

  • Re: A name was started with an invalid character

    09-01-2008, 5:48 PM
    • Member
      2 point Member
    • Lukmaan
    • Member since 09-01-2008, 9:45 PM
    • Posts 1

    Hi PigasuZ,  

    C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis  -i 

    I did that. Now it is showing "Unrecognized configuration section 'connectionStrings' ".I am using IIS 5.1 and I have both Frame work 1.1 and 2.0. Awaiting your reply

  • Re: A name was started with an invalid character

    01-29-2009, 6:25 PM
    • Member
      4 point Member
    • skamin
    • Member since 01-29-2009, 11:24 PM
    • Posts 3

    Works for me ... thanks Peg

  • Re: A name was started with an invalid character

    04-01-2009, 11:47 AM

    hi,

     Try this solution hope this will work for u.

     http://an-it-solution.blogspot.com/2008/12/name-was-started-with-invalid-character.html

    Thanks,

    Narender

    Warm Regards,
    Narender Singh

    http://an-it-solution.blogspot.com
    Filed under: ,
Page 1 of 2 (17 items) 1 2 Next >