PRB: Error When You Create Web Projects with Japanese Characters in the Title (316906)



The information in this article applies to:

  • Microsoft ASP.NET (included with the .NET Framework 1.1)
  • Microsoft ASP.NET (included with the .NET Framework) 1.0

This article was previously published under Q316906

SYMPTOMS

If you create a Web project in the English version of Microsoft Windows XP with Japanese characters in the project name, you may receive the following error message:
Web Access Failed
The default Web access mode for this project is set to file share, but the project folder at 'http://localhost/ProjectNameWithJPNCharacters' cannot be opened with the path 'c:\inetpub\wwwroot\ProjectNameWithJPNCharacters'. The error returned was:

Unable to create Web project 'ProjectNameWithJPNCharacters'. The path 'c:\inetpub\wwwroot\ProjectNameWithJPNCharacters' does not correspond to the URL 'http://localhost/ProjectNameWithJPNCharacters'. The two need to map to the same server location. HTTP Error 404: Object Not Found

RESOLUTION

To resolve this behavior, remove the Japanese characters from the project name.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Click Start, click Settings, point to Control Panel, and then select the Regional and Language Options applet.
  2. On the Language tab, verify that the Install files for East Asian Languages check box is selected. Reboot if you need to install the files.
  3. Click Details, click the Add button to install a new Service, and then select Japanese as the input language.
  4. Open Microsoft Visual Studio. NET, and create a New ASP. NET Web application.
  5. From the Language Bar, change the input language to Japanese.
  6. In the New Project dialog box, click the Location tab, and then type some Japanese text after http://localhost/ in the Location box.
  7. Click OK, and you will receive the error message mentioned in the "Symptoms" section.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

312073 INFO: Web Project Requirements for Visual Studio .NET Development


Modification Type:MinorLast Reviewed:7/11/2003
Keywords:kbLocalization kbprb kbWebForms KB316906 kbAudDeveloper