473,397 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Name Started With Invalid Character?

I am working on Win2K Pro. Due to some problems in IIS5.0, I had to
uninstall & re-install IIS. After re-installing IIS, when I try to run
any ASPX page (all my ASPX pages reside in C:\Inetpub\wwwroot\ASPX
folder) by typing the following URL in IE6.0

http://myserver/ASPX/MyPage.aspx

the following error gets generated:

A name was started with an invalid character. Error processing resource
"http://myserver/ASPX/MyPage.aspx, Line 1, Pos....

<%@ Page Language="VB" Explicit="true" Strict="false" %>
-^

I guess it's pointing to the "%" character (just before "@").

What's going wrong? How do I overcome this problem?

I didn't encounter this error prior to uninstalling & re-installing IIS
5.0.

Thanks,

Arpan

Sep 11 '06 #1
4 4684
Two ideas for you.

1. Make sure your ASPX editor is saving the file in UTF-8.

You don't mention whether you're using ASP.NET 1.1 or 2.0 but...

2. Run, first, from whichever installation directory for .Net Framework version you're using

{
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
or
Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
}

aspnet_regiis -u

and then, immdiately after that, run

aspnet_regiis -i

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Arpan" <ar******@hotmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
>I am working on Win2K Pro. Due to some problems in IIS5.0, I had to
uninstall & re-install IIS. After re-installing IIS, when I try to run
any ASPX page (all my ASPX pages reside in C:\Inetpub\wwwroot\ASPX
folder) by typing the following URL in IE6.0

http://myserver/ASPX/MyPage.aspx

the following error gets generated:

A name was started with an invalid character. Error processing resource
"http://myserver/ASPX/MyPage.aspx, Line 1, Pos....

<%@ Page Language="VB" Explicit="true" Strict="false" %>
-^

I guess it's pointing to the "%" character (just before "@").

What's going wrong? How do I overcome this problem?

I didn't encounter this error prior to uninstalling & re-installing IIS
5.0.

Thanks,

Arpan

Sep 11 '06 #2
Juan....I did it in a bit different way. I opened a command prompt and
navigated to

C:\WINNT\Microsoft.NET\Framework\v2.0.50727

& then ran these commands in this order from the command prompt:

aspnet_regiis.exe -i

aspnet_regiis.exe -e

& finally restarted IIS.

Nevertheless, thanks to you for your suggestion as well.

Regards,

Arpan

Juan T. Llibre wrote:
Two ideas for you.

1. Make sure your ASPX editor is saving the file in UTF-8.

You don't mention whether you're using ASP.NET 1.1 or 2.0 but...

2. Run, first, from whichever installation directory for .Net Framework version you're using

{
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
or
Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
}

aspnet_regiis -u

and then, immdiately after that, run

aspnet_regiis -i

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Arpan" <ar******@hotmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
I am working on Win2K Pro. Due to some problems in IIS5.0, I had to
uninstall & re-install IIS. After re-installing IIS, when I try to run
any ASPX page (all my ASPX pages reside in C:\Inetpub\wwwroot\ASPX
folder) by typing the following URL in IE6.0

http://myserver/ASPX/MyPage.aspx

the following error gets generated:

A name was started with an invalid character. Error processing resource
"http://myserver/ASPX/MyPage.aspx, Line 1, Pos....

<%@ Page Language="VB" Explicit="true" Strict="false" %>
-^

I guess it's pointing to the "%" character (just before "@").

What's going wrong? How do I overcome this problem?

I didn't encounter this error prior to uninstalling & re-installing IIS
5.0.

Thanks,

Arpan
Sep 11 '06 #3
BTW, Juan, any idea what caused that error?

Arpan

Arpan wrote:
Juan....I did it in a bit different way. I opened a command prompt and
navigated to

C:\WINNT\Microsoft.NET\Framework\v2.0.50727

& then ran these commands in this order from the command prompt:

aspnet_regiis.exe -i

aspnet_regiis.exe -e

& finally restarted IIS.

Nevertheless, thanks to you for your suggestion as well.

Regards,

Arpan

Juan T. Llibre wrote:
Two ideas for you.

1. Make sure your ASPX editor is saving the file in UTF-8.

You don't mention whether you're using ASP.NET 1.1 or 2.0 but...

2. Run, first, from whichever installation directory for .Net Frameworkversion you're using

{
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
or
Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
}

aspnet_regiis -u

and then, immdiately after that, run

aspnet_regiis -i

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Arpan" <ar******@hotmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
>I am working on Win2K Pro. Due to some problems in IIS5.0, I had to
uninstall & re-install IIS. After re-installing IIS, when I try to run
any ASPX page (all my ASPX pages reside in C:\Inetpub\wwwroot\ASPX
folder) by typing the following URL in IE6.0
>
http://myserver/ASPX/MyPage.aspx
>
the following error gets generated:
>
A name was started with an invalid character. Error processing resource
"http://myserver/ASPX/MyPage.aspx, Line 1, Pos....
>
<%@ Page Language="VB" Explicit="true" Strict="false" %>
-^
>
I guess it's pointing to the "%" character (just before "@").
>
What's going wrong? How do I overcome this problem?
>
I didn't encounter this error prior to uninstalling & re-installing IIS
5.0.
>
Thanks,
>
Arpan
>
Sep 11 '06 #4
Something you, or your system, did misconfigured ASP.NET's IIS registration.
Reconfiguring it fixed it.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Arpan" <ar******@hotmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
BTW, Juan, any idea what caused that error?

Arpan

Arpan wrote:
Juan....I did it in a bit different way. I opened a command prompt and
navigated to

C:\WINNT\Microsoft.NET\Framework\v2.0.50727

& then ran these commands in this order from the command prompt:

aspnet_regiis.exe -i

aspnet_regiis.exe -e

& finally restarted IIS.

Nevertheless, thanks to you for your suggestion as well.

Regards,

Arpan

Juan T. Llibre wrote:
Two ideas for you.

1. Make sure your ASPX editor is saving the file in UTF-8.

You don't mention whether you're using ASP.NET 1.1 or 2.0 but...

2. Run, first, from whichever installation directory for .Net Framework version you're using

{
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
or
Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
}

aspnet_regiis -u

and then, immdiately after that, run

aspnet_regiis -i

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Arpan" <ar******@hotmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
>I am working on Win2K Pro. Due to some problems in IIS5.0, I had to
uninstall & re-install IIS. After re-installing IIS, when I try to run
any ASPX page (all my ASPX pages reside in C:\Inetpub\wwwroot\ASPX
folder) by typing the following URL in IE6.0
>
http://myserver/ASPX/MyPage.aspx
>
the following error gets generated:
>
A name was started with an invalid character. Error processing resource
"http://myserver/ASPX/MyPage.aspx, Line 1, Pos....
>
<%@ Page Language="VB" Explicit="true" Strict="false" %>
-^
>
I guess it's pointing to the "%" character (just before "@").
>
What's going wrong? How do I overcome this problem?
>
I didn't encounter this error prior to uninstalling & re-installing IIS
5.0.
>
Thanks,
>
Arpan
>

Sep 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: lkrubner | last post by:
I'm hoping I understand this bit correctly: >>>>>>>>>>>>>>>>>>> http://www.jibbering.com/faq/faq_notes/form_access.html When writing HTML that conforms to a DTD that allows FORM elements to...
7
by: CharlesEF | last post by:
Hi All, I have run into another problem that is eating my lunch. Should be simple but I am having one heck of a time. Please look at this SELECT statement: SELECT FROM States WHERE ] =...
4
by: kevin | last post by:
When I try to select one of the following enums, I see "A name was started with an invalid character." in the tooltip (Intellisence) and under the Summary heading (object browser). Other enums...
3
by: Anders Jansson | last post by:
Hi all. I have 2 problems when I try to open and convert an ASP.NET VS 2003 web-applikation in VS 2005. In VS 2003 I have no problems at all! First: One subfolder with will not be converted!...
3
by: Middletree | last post by:
Teaching myself ASP.NET, using Microsoft Press book called ASP.NET 2.0 by George Shepherd. Ch. 2, it says to type the following code: <%@ Page Language="C#" %> <html>
5
by: emma_middlebrook | last post by:
Hi I've found the rules that cover what is a valid attribute name here: http://www.w3.org/TR/2006/REC-xml-20060816/ 2.3 Common Syntactic Constructs Is there anything already in the dotnet...
1
mahet
by: mahet | last post by:
Anders Jansson was a guest here, and he was having problem: When I try to build the web, this error is displayed: ---> Error 5 Unable to convert input xml file content to a DataSet. Invalid...
1
by: banagani | last post by:
Hi All, I am facing an issue in the XmlTextWriter class in the dotnet 2.0. This is the sample code Actual XML is like this <Name>&#x8A73;&#x7D30;&#x4ED5;&#x69D8;&#x306B;</Name>
3
by: =?Utf-8?B?Vmlub2Q=?= | last post by:
Hi All, I am facing an issue in the XmlTextWriter class in the dotnet 2.0. This is the sample code Actual XML is like this <Name>詳細仕様ã«</Name>
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.