Microsoft KB Archive/831684

= &quot;Cannot create the offline cache&quot; error message when you try to create an ASP.NET Web Application project =

Article ID: 831684

Article Last Modified on 12/22/2003

-

APPLIES TO


 * Microsoft ASP.NET 1.1
 * Microsoft ASP.NET 1.0
 * Microsoft FrontPage 2002 Server Extensions
 * Microsoft FrontPage 2000 Server Extensions
 * Microsoft Web Services Enhancements for Microsoft .NET 1.1
 * Microsoft Web Services Enhancements for Microsoft .NET 2.0

-





SYMPTOMS
When you try to create a Microsoft ASP.NET Web Application project or an ASP.NET Web Service project, you may receive the following error message:

Cannot create the offline cache in 'C:\Documents and Settings\ \VSWebCache\ \ '. Unable to create a disk-based web at &quot;C:\Documents and Settings\ \VSWebCache\ \ &quot; because its parent web would not be a disk-based web. Create the disk-based web elsewhere, outside of your web server's document hierarchy.

Note  is a placeholder for your user name,   is a placeholder for the name of your Web server, and   is a placeholder for the name of your project.

Note The word &quot;web&quot; should be &quot;Web&quot; in this error message.



CAUSE
If the root folder of your hard disk drive (such as drive C) that contains the Microsoft Windows folder contains Microsoft FrontPage Server Extensions (FPSE) folders (such as _vti_pvt and _private), FPSE assumes that the whole hard disk drive is a server-based Web. Therefore, you cannot create any disk-based Webs in the hard disk drive with FPSE.



RESOLUTION
To resolve this problem, delete all FPSE folders (such as _vti_pvt and _private) from the root folder of your hard disk drive (such as drive C).



STATUS
This behavior is by design.



Steps to reproduce the behavior
 Verify that the root folder of your hard disk drive (such as drive C) that contains the Windows folder contains FPSE folders (such as _vti_pvt and _private). If the root folder of your hard disk drive does not contain FPSE folders, copy the _vpi_pvt folder and the _private folder from the C:\Intepub\wwwroot\ folder to the root folder of your hard disk drive. Try to create an ASP.NET Web Application project. To do this, follow these steps:  Start Microsoft Visual Studio .NET. On the File menu, point to New, and then click Project.</li> Under Project Types, click Visual Basic Projects or click Visual C# Projects.</li> Under Templates, click ASP.NET Web Application.</li> In the Location box, type http:// /ProjectFPSE1.

Notes <ul>  is a placeholder for the name of your Web server.</li> ProjectFPSE1 is a sample ASP.NET Web Application project.</li></ul> </li> Click OK.

You may notice the error message that is mentioned in the &quot;Symptoms&quot; section of this article.</li></ol> </li></ol>

<div class="references_section">