Thursday, March 29, 2012

Opening project

Hi,

I hope you guys can help me.

I've created a web-application.
It's under my inetpub\wwwroot\...

Now my colleague needs open the same project in his Visual Studio .Net but
he gets the error-message :
Unable to open webproject. The file path <path> does not correspond to the
URL http://Localhost:/... the 2 need to map to the same server-location

What can we do to make this work ?

Thanks in advance.Does your colleague have the web project on his machine as well? If not, then you need to edit the .webinfo file and change the URL from http://localhost/ to an IP address, machine name, etc. that you can both reach.

"Bart Schelkens" wrote:

> Hi,
> I hope you guys can help me.
> I've created a web-application.
> It's under my inetpub\wwwroot\...
> Now my colleague needs open the same project in his Visual Studio .Net but
> he gets the error-message :
> Unable to open webproject. The file path <path> does not correspond to the
> URL http://Localhost:/... the 2 need to map to the same server-location
> What can we do to make this work ?
> Thanks in advance.
>
>
So I replace this line :

<Web URLPath = "http://localhost/test/Polytools/Polytools.vbproj" /
with

<Web URLPath = "http://192.168.1.2/test/Polytools/Polytools.vbproj" /
<David Coe>; "MCAD" <DavidCoeMCAD@.discussions.microsoft.com> wrote in
message news:968605B1-EF56-48B7-B92B-8B001F9D78AD@.microsoft.com...
> Does your colleague have the web project on his machine as well? If not,
then you need to edit the .webinfo file and change the URL from
http://localhost/ to an IP address, machine name, etc. that you can both
reach.
> "Bart Schelkens" wrote:
> > Hi,
> > I hope you guys can help me.
> > I've created a web-application.
> > It's under my inetpub\wwwroot\...
> > Now my colleague needs open the same project in his Visual Studio .Net
but
> > he gets the error-message :
> > Unable to open webproject. The file path <path> does not correspond to
the
> > URL http://Localhost:/... the 2 need to map to the same server-location
> > What can we do to make this work ?
> > Thanks in advance.
Check your access/authentication directory security settings for the
virtual directory in Internet Services Manager. Make sure he or
anonymous can get in.

K

"Bart Schelkens" <BSchelkens@.hotmail.com> wrote in message news:<uMIKIUYbEHA.2292@.TK2MSFTNGP09.phx.gbl>...
> So I replace this line :
> <Web URLPath = "http://localhost/test/Polytools/Polytools.vbproj" />
> with
> <Web URLPath = "http://192.168.1.2/test/Polytools/Polytools.vbproj" />
> <David Coe>; "MCAD" <DavidCoeMCAD@.discussions.microsoft.com> wrote in
> message news:968605B1-EF56-48B7-B92B-8B001F9D78AD@.microsoft.com...
> > Does your colleague have the web project on his machine as well? If not,
> then you need to edit the .webinfo file and change the URL from
> http://localhost/ to an IP address, machine name, etc. that you can both
> reach.
> > "Bart Schelkens" wrote:
> > > Hi,
> > > > I hope you guys can help me.
> > > > I've created a web-application.
> > > It's under my inetpub\wwwroot\...
> > > > Now my colleague needs open the same project in his Visual Studio .Net
> but
> > > he gets the error-message :
> > > Unable to open webproject. The file path <path> does not correspond to
> the
> > > URL http://Localhost:/... the 2 need to map to the same server-location
> > > > What can we do to make this work ?
> > > > Thanks in advance.
> > > >

0 comments:

Post a Comment