Thursday, April 23, 2009

Error: A name was started with an invalid character.

Sometimes when we try to browse our newly hosted website or web service, we encounter with this error. The reason is that we forgot to configure ASP.NET version in the IIS or selected wrong version when we were hosting it.

So now its time to correct this issue, follow these steps:

1. Open IIS management console.
2. Right click on the virtual directory of your web service and choose properties from the shortcut menu.
3. Now click on the ASP.NET tab and choose appropriate ASP.NET version from the dropdown.
4. Now click on Apply button to apply new setting and then click on OK button.

Now try again to access you website/web service, you should be able to do so…

No comments: