Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to open Web project in VS 2003

0 views
Skip to first unread message

Bang-Tai Chen

unread,
Oct 7, 2004, 12:53:03 PM10/7/04
to
My machine have VS 2002 and VS 2003
I copy DotNetNuke project from one machine to another machine with same
folder and same virtual directory name.
However, I constantly get the following error
-------------------------------------------------------------------------------------
Unable to open Web project 'DotNetNuke'. The file path
'E:\Projects\DNN\DotNetNuke' does not correspond to the URL
'http://Localhost:/DotNetNuke'. The two need to map to the same server
location. Unable to open Web project 'DotNetNuke'. The file path
'E:\Projects\DNN\DotNetNuke' does not correspond to the URL
'http://localhost/DotNetNuke'. The two need to map to the same server
location.
-------------------------------------------------------------------------------------
Note that ASPNET temp directory dotnetnuke contains global.asax.xml which
has the following line
<filedep name="E:\Projects\DNN\DotNetNuke\bin\DotNetNuke.DLL" />
and other cache files
but VSWebCache was empty.

DotNetNuke.vbproj.webinfo contains
<Web URLPath = "http://localhost/DotNetNuke/DotNetNuke.vbproj" />

The physical path for http://localhost/DotNetNuke/ is
'E:\Projects\DNN\DotNetNuke'
and can be accessed.

No problem for a simple web project but DotNetNuke web project fail to open.

Bang-Tai Chen

unread,
Oct 8, 2004, 1:07:02 PM10/8/04
to
FYI -

I reslove the problem by removing the application mapping of .htm name
extension.

During the process of creating a Web project, Visual Studio .NET 2003 tests
to confirm that the URL and the UNC path match. To do this, Visual Studio
.NET writes a file that has the .htm file name extension to the server, and
then requests this file from the server through an http request. However, my
IIS map .htm to ASP.NET.
Note that Visual Studio .NET 2003 use .tmp file name extension

http://support.microsoft.com/default.aspx?scid=kb;en-us;327283

0 new messages