Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

VS 2003 & SharePoint

  Asked By: Devika    Date: Apr 20    Category: Sharepoint    Views: 638

I am trying to create a Web App in VS2003 in a VPC image with Server
2003 & Portal installed. In the past, when SharePoint was installed
into the default web, I would create my web apps at
http://localhost/_layouts/AppName with no problem.

This time, I am using someone else's image and they installed
SharePoint into a different web, SPSDEV.Net. The IIS settings show
the Host Header correctly setup and SharePoint works fine. When I try
to create a web app using the _layouts directory
(http://localhost/_layouts/AppName) I get "Web Access Failed" message
and the details mention that _layouts/AppName does not correspond to
the URL http://localhost/_layouts/AppName. I do have an entry in my
Hosts file for spsdev.net.

I also verified that _layouts is a virtual directory and has an
application name in IIS. So I know this has something to do with
Virtual Directories, Web Sites, Extensions and so forth but I cannot
get this to work. Any suggestions?



4 Answers Found

Answer #1    Answered By: Jaime Weaver     Answered On: Apr 20

I put web  Apps on our SharePoint portal  using VS.Net 2003  all of the time.
Make sure that you create  the virtual application through IIS MMC first;
If you want webApp1 to be http://localhost/_layouts/webApp1/ then you have
to open IIS MMC and drill down to webApp1 in the default  web site and make
sure you create the application. Then you can open a new project in vs.Net
at http://localhost/_layouts/webApp1/

Answer #2    Answered By: Anibal Baird     Answered On: Apr 20

However, my issue is not with creating a
web app  when SP is installed  in the Default web  Site. It is when a
new web site is created and SP is installed there that the _layouts
aproach does not work.

Answer #3    Answered By: Karla Morrison     Answered On: Apr 20

In my case I have to because I am not developing the application on the SP

Answer #4    Answered By: Patricia Richardson     Answered On: Apr 20

Yes, I understand that now, thanks for the clarification. In my scenario,
inside a VPC image, I am doing development on the same server as SP, along
with SQL Server. It makes development easier in some cases

Didn't find what you were looking for? Find more on VS 2003 & SharePoint Or get search suggestion and latest updates.