"Visual Web Developer does not support creating Web sites on a SharePoint Web server"

  • Thread starter Thread starter William LaMartin
  • Start date Start date
W

William LaMartin

I just received my Visual Studio upgrade to 2005 and tried to create a new
web site via File | New Web Site with location http. Unfortunately I
received the following error:

"Visual Web Developer does not support creating Web sites on a SharePoint
Web server"

If I create a new server extensions 2002 web in IIS and mark it as an
application and try to use it from Visual Studio I receive the same error.

Apparently SharePoint is causing the problem. In the installation of VS I
chose the"Install all" option and did not note what was being installed. If
I had know that SharePoint was to be installed, I don't think I would have
chosen that option. But now that it is there and causing the above problem,
how do work around it?
 
William,

I can not see in which this question is VB.Net related at all especially not
in VS 2005, maybe can you explain it to us, however probably is a newsgroup
to start with this question.

Microsoft.public.dotnet.framework.aspnet

I hope you find your solution soon

Cor
 
It is related to VB.Net in the sense that in Visual Studio 2005 I could not
create a new web site in localhost for a web based project. This is all on
an XP Pro computer running IIS.

However, I did find a workaround.

First, using Windows Explorer you create a new folder in C:\Inetpub\wwwroot,
say, TestSite. Then you open up IIS and create a virtual directory with
alias TestSite, and point it to the folder you created named TestSite.

Now in Visual Studio you can create your new website using the above created
folder, TestSite.

This indirect method is necessary, it seems, because Visual Studio 2005 will
not create a new subweb of the default web site in IIS when you have
SharePoint installed. I incorrectly thought that the Visual Studio 2005
installation installed SharePoint when, in fact, it appears that it was
installed by Microsoft FrontPage 2002.

I would have thought that someone else would have encountered this problem
but found nothing in a search of Google Groups.
 
William,
It is related to VB.Net in the sense that in Visual Studio 2005 I could
not create a new web site in localhost for a web based project. This is
all on an XP Pro computer running IIS.

You can not use VB 2005 anymore to create a website. There is a seperated
part for it now. "Website" this is a Visual Studio Part in 2005.

(Although by setting your settings to mixed operation using the startup or
by the great description of that in tools "import and export settings" you
can integrate it in one file menu).

Probably would they have told in the framework newsgroup that by changing
your path you would have got your solution, but I am not sure in that, they
probably know that in the newsgroup I showed you.

However feel free to ask it here. It was only an advice for a place for
probably better answers.

Cor
 
I am using VB from Visual Studio 2005 professional, and there is an option
under the menu item File to create a new web site. My problem was that
because SharePoint was installed an attempt to do so produced the error
message about creating web sites on a SharePoint server. My workaround
solved the problem for me, but , of course, is not ideal.

I will post the same query to the framework newsgroup and see what they say.
 
Hi William
May I know what work around u found to solve this problem, coz' I'm also
facing the same problem(i.e. Unable to create the Web
'http://localhost/WebSite'. Visual Web Developer does not support creating
Web sites on a SharePoint Web server ) and posted the problem in newsgroup
and not getting any answer so far.
Thanks
A. Basuri
 
Here's the way I fixed the problem.

Go into the MMC for IIS.
Right-Click on the Default Website
Click New/Server Extensions 2002 Web
Minimize MMC to see the web browser that opens
Use your Admin ID/Password to authenticate
A web page is now open to allow you to create the Subweb.

Once you do that, you should be able to create the new web site in VS2005.
 
Hi
I have now created a new virtual server in the IIS with a new port , coz
the SharePoint server is using the port 80. And now i'm able to create new
website with the new port but my Commerce Server problem is still therei.e.
when i'm trying to create a new Commerce C# ASP.NET Web Application in VS
2005 with that new virtual server with "HTTP" option in DropDownList ,showing
an error as "Project must exist on local machine and have a
'http://localhost/' url" so i tried with an existing web site . but the same
error came.
Thanks
A. Basuri
 
Back
Top