Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 831684 - Last Review: December 22, 2003 - Revision: 1.3
"Cannot create the offline cache" error message when you try to create an ASP.NET Web Application project
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\UserName\VSWebCache\ServerName\ProjectName'.
Unable to create a disk-based web at "C:\Documents and
Settings\UserName\VSWebCache\ServerName\ProjectName"
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 UserName is a placeholder for your user
name,
ServerName is a placeholder for the name of
your Web server, and
ProjectName is a placeholder
for the name of your project.
Note The word "web" should be "Web" in this error message.
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.
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).
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.
- Under Project Types, click
Visual Basic Projects or click Visual C#
Projects.
- Under Templates, click ASP.NET
Web Application.
- In the Location box, type
http://ServerName/ProjectFPSE1.
Notes- ServerName is a
placeholder for the name of your Web server.
- ProjectFPSE1 is a sample ASP.NET Web Application
project.
- Click OK.
You may notice the
error message that is mentioned in the "Symptoms" section of this
article.
For additional information, click the following article number
to view the article in the Microsoft Knowledge Base:
206154Â
(http://kbalertz.com/Feedback.aspx?kbNumber=206154/
)
F000: Some FrontPage components do not work on disk-based Webs
205696Â
(http://kbalertz.com/Feedback.aspx?kbNumber=205696/
)
How to install FrontPage 2000 Server Extensions for Internet Information Server
305140Â
(http://kbalertz.com/Feedback.aspx?kbNumber=305140/
)
INFO: ASP.NET roadmap
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 (included with the .NET Framework) 1.0
| kberrmsg kbwebforms kbconfig kbprb KB831684 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
|
Anonymous User
|
Reported as Irrelevant
|
| Written:
11/30/2004 11:28 AM |
|
|
|
Cameron
|
Reported as Irrelevant
|
| Written:
2/28/2005 1:18 PM |
|
|
|
Cannot create the offline cache
- nv_thien NOSPAM-AT-NOSPAM yahoo.com
|
Reported as Irrelevant
|
| Written:
3/3/2005 11:28 PM |
|
|
|
Kim
- kim.jones NOSPAM-AT-NOSPAM syngenta.com
|
Reported as Irrelevant
|
| Written:
4/12/2005 8:41 AM |
|
|
|
First_major
|
Reported as Irrelevant
|
| Written:
6/15/2005 2:24 PM |
|
|
|
Santhosh
- santhosh0123 NOSPAM-AT-NOSPAM yahoo.com
|
Reported as Irrelevant
|
| Written:
7/5/2005 2:20 AM |
|
|
|
GD
|
Reported as Irrelevant
|
| Written:
9/22/2005 7:35 PM |
|
|
|
Stonefish
|
Reported as Irrelevant
|
| Written:
4/5/2006 9:05 AM |
|
|