IIS Server Security - Cannot Create new VS Web Project

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > May 2005 > Cannot Create new VS Web Project





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Cannot Create new VS Web Project
TimC

2005-05-24, 2:52 am

I hope someone can help - I am getting desperate!

I have promised to do some work for someone developing an ASP.NET
application.

I have VS Studio 2002 installed on my pc which is running XP-Pro (and
therefore IIs 5.1) and have installed .Net framework v1.1.4322.

I canot create a new web project - I get the error

"unable to validate the file path....does not match url path..."

Having scoured the web for answers (I have spent HOURS on this!) I
believe it is something to do with VS trying to create a tmp file in
the \inetput\wwwroot folder to validate IIS is running and failing.

I have checked IIS is running ok (I can open and run ASP pages ok).

I have :

* checked my user is in the VS Developers Group
* run aspnet_regiis -i in the
\windows\microsoft.net\framework\v1.1.4322 folder
* loaded the latest vs updates
* iis has a default web site running on port 80
* I have tried disabling mcAfee person firewall - no difference
* I don't have Zone Alarm
* tried both with file share and fronpage sevrer extensions options
* checked the 'write' option in the default web site
* made sure user and the ASPNET user has permissions to wwwroot (do I
need a wwwroot$ share?)
* tried substituting '127.0.0.1' for 'localhost' in the new project
name


PLEASE HELP!!!

Landi

2005-05-24, 6:03 pm

Can you give the exact error without the ...... that's the most important
part of the error.

--
info@donotspam dowhileloop.com
http://www.dowhileloop.com web development
http://publicjoe.dowhileloop.com -- C# & VB.NET Tutorials

"TimC" <tim.crannigan@sii.org.uk> wrote in message
news:1116916657.163638.180550@g49g2000cwa.googlegroups.com...
> I hope someone can help - I am getting desperate!
>
> I have promised to do some work for someone developing an ASP.NET
> application.
>
> I have VS Studio 2002 installed on my pc which is running XP-Pro (and
> therefore IIs 5.1) and have installed .Net framework v1.1.4322.
>
> I canot create a new web project - I get the error
>
> "unable to validate the file path....does not match url path..."
>
> Having scoured the web for answers (I have spent HOURS on this!) I
> believe it is something to do with VS trying to create a tmp file in
> the \inetput\wwwroot folder to validate IIS is running and failing.
>
> I have checked IIS is running ok (I can open and run ASP pages ok).
>
> I have :
>
> * checked my user is in the VS Developers Group
> * run aspnet_regiis -i in the
> \windows\microsoft.net\framework\v1.1.4322 folder
> * loaded the latest vs updates
> * iis has a default web site running on port 80
> * I have tried disabling mcAfee person firewall - no difference
> * I don't have Zone Alarm
> * tried both with file share and fronpage sevrer extensions options
> * checked the 'write' option in the default web site
> * made sure user and the ASPNET user has permissions to wwwroot (do I
> need a wwwroot$ share?)
> * tried substituting '127.0.0.1' for 'localhost' in the new project
> name
>
>
> PLEASE HELP!!!
>



TimC

2005-05-24, 6:03 pm

Landi

Unable to create Web project 'WebApplication1'. Unable to validate that
the file path 'c:\inetpub\wwwroot\wWebApplication1' matches the URL
path 'Http://localhost/WebApplication1'. A connection with the server
could not be established

I have also now deinstalled v1.1 framework and reinstall v1.0 as I have
been told 1.1 does not work with VStudio 2002.

However, this still doesn't work.

Any ideas?

Regards

Landi

2005-05-27, 5:56 pm

well from what you wrote down it looks like something is not in synch.

> Unable to create Web project 'WebApplication1'. Unable to validate that
> the file path 'c:\inetpub\wwwroot\wWebApplication1' matches the URL

this needs to be c:\inetpub\wwwroot\WebApplication1 and not
wWebApplication1. Now I don't know if this is a misprint on your side.
> path 'Http://localhost/WebApplication1'. A connection with the server


In this case you need to go and change your project file or your solution
file and make them look in the same location.

--
info@donotspam dowhileloop.com
http://www.dowhileloop.com web development
http://publicjoe.dowhileloop.com -- C# & VB.NET Tutorials
"TimC" <tim.crannigan@sii.org.uk> wrote in message
news:1116963435.885961.220520@o13g2000cwo.googlegroups.com...
> Landi
>
> Unable to create Web project 'WebApplication1'. Unable to validate that
> the file path 'c:\inetpub\wwwroot\wWebApplication1' matches the URL
> path 'Http://localhost/WebApplication1'. A connection with the server
> could not be established
>
> I have also now deinstalled v1.1 framework and reinstall v1.0 as I have
> been told 1.1 does not work with VStudio 2002.
>
> However, this still doesn't work.
>
> Any ideas?
>
> Regards
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com