You cannot change the value of the Link Repair property of a Web Application project in Visual Studio .NET (837227)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

SYMPTOMS

In Microsoft Visual Studio .NET , when you try to change the value of the Link Repair property of a Microsoft ASP.NET Web Application project to True, you may notice that the change is not accepted and that the value of the Link Repair property remains set to False.

WORKAROUND

To work around this behavior, you must first change the Web Access Mode option from File Share to FrontPage, close the solution, open the solution again, and then change the value of the Link Repair property.

To change the value of Link Repair property, follow these steps:
  1. In Microsoft Visual Studio .NET, create an ASP.NET Web application by using Visual C# .NET or Visual Basic .NET. Name the project MyApplication.
  2. In Solution Explorer, right-click MyApplication, and then click Properties. The MyApplication Property Pages dialog box appears.
  3. Under Common Properties in the right pane, click Web Settings.
  4. Change the Web Access Mode option to FrontPage. To do this, use one of the following methods, depending on whether you used Visual C# .NET or Visual Basic .NET to create your Web Application project:
    • Visual C# .NET
      In the Web Access Mode box, click FrontPage.
    • Visual Basic .NET
      Under Web Access Method, click FrontPage.
  5. Click OK.
  6. On the File menu, click Close Solution.
  7. On the File menu, point to Open, and then click Project. The Open Project dialog box appears.
  8. Double-click the MyApplication project folder, click MyApplication.sln, and then click Open.
  9. In Solution Explorer, right-click MyApplication, and then click Properties. The MyApplication Property Pages dialog box appears.
  10. Under Common Properties in the right pane, click Web Settings.
  11. Change the value of the Link Repair property to True. To do this, use one of the following methods, depending on whether you used Visual C# .NET or Visual Basic .NET to create your Web Application project:
    • Visual C# .NET
      In the Link Repair box, click True.
    • Visual Basic .NET
      Under Web Access Method, click to select the Link Repair check box.
  12. Click Apply. Visual Studio .NET accepts your change to the value of the Link Repair property.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to reproduce the behavior

To reproduce this behavior, follow these steps:
  1. In Microsoft Visual Studio .NET, create an ASP.NET Web application by using Visual C# .NET or Visual Basic .NET. Name the project MyApplication.
  2. In Solution Explorer, right-click MyApplication, and then click Properties. The MyApplication Property Pages dialog box appears.
  3. Under Common Properties in the right pane, click Web Settings.
  4. Change the Web Access Mode option to FrontPage. To do this, use one of the following methods, depending on whether you used Visual C# .NET or Visual Basic .NET to create your Web Application project:
    • Visual C# .NET
      In the Web Access Mode box, click FrontPage.
    • Visual Basic .NET
      Under Web Access Method, click FrontPage.
  5. Change the value of the Link Repair property to True. To do this, use one of the following methods, depending on whether you used Visual C# .NET or Visual Basic .NET to create your Web Application project:
    • Visual C# .NET
      In the Link Repair box, click True.
    • Visual Basic .NET
      Under Web Access Method, click to select the Link Repair check box.
  6. Click Apply. You may notice the behavior that is mentioned in the "Symptoms" section.

Modification Type:MinorLast Reviewed:2/14/2006
Keywords:kbvs2005doesnotapply kbvs2005swept kbweb kbProperties kbprb KB837227 kbAudDeveloper