473,248 Members | 1,557 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,248 software developers and data experts.

creating .net web applications under Sharepoint Site?

All,

I am trying to add some .net applications I wrote to a virtual directory
underneath the sharepoint services web site. I am having some problems and
wondering if a) this is possible and/or recommended and b) if there is
another way. I want to add the projects under the sharepoint site as I want
authentication but do not want my users to have to login everytime they
access a net app from within the sharepoint site. Ideally, they login to
sharepoint. Then they click on a link which takes them to the .net project.
The .net project grabs the login information of the user to display custom
content. Since the virtual directory is underneath sharepoint, I only have
to set the integrated authentication (and no anonymous) setting in Internet
Services Manager for the sharepoint site and not the virtual directories,
right? Anyways, on to the problem:

The server is a clean install of Windows Server 2003 with WSS installed.
The server is also running SQL 2000 sp3a for storing the sharepoint data. In
internet information services, the sharepoint site is the default web site.
I added a virtual directory named "netapps" in the default web site and its
data comes from e:\netapps where e is a local drive. I went into Sharepoint
Central Administration, clicked on configure virtual server settings, clicked
on default, clicked on define managed paths and added netapps as an excluded
path. On my PC (windows XP), I am able to browse http://myserver/netapps and
it does bring up a default page rather than sharepoint - so that is good.

Now, on my machine with Visual Studio 2003, I have set it to work with File
Share (in Tools, Options, Projects, Web Settings). I go to create a new
project (asp.net web application) and put in
http://myserver/netapps/allotments as the location where allotments is one of
many netapps I want to create. (and I have created a folder
e:\netapps\allotments).

The get back an error that the project folder at
http://myserver/netapps/allotments cannot be opened with the path
\\myserver\wwwroot$\netapps\allotments. So, I retry with a new path
(removing the wwwroot$) from the location. I should also note that the
netapps folder is shared and I can reach it from within windows explorer and
see all contents.

When I click OK, it tells me that the web was created successfully but an
error occurred when trying to configure the application root. When I click
ok on this error, it complains that it is unable to set permissions on the
bin folder. I end up with a project that I don't think is correct or is it?
Do I now need to do other configuration changes?

I have looked everywhere for solutions and the closest I can come is that
the frontpage extensions may not be configured properly. But, since this is
a virtual directory underneath sharepoint, you cannot configure the frontpage
extensions. They are loaded on the windows 2003 server but I only added them
recently as another way to try and get this working. From what I understand,
I should not need them since Sharepoint handles frontpage integration,
correct?

Any ideas would be greatly appreciated. Both the server and client are
running asp.net 1.1 I can take an existing .net app and literally copy the
contents over to the new server and it works. But, I really want to develop
off the new one.

On a related note, is there an easy way to make a copy of an existing .net
web app and change it without affecting the original? If you change anything
on a copy on the new server, it affects the original code on the existing
server...

Thanks,
Ken Wigle
Jul 21 '05 #1
0 2247

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dave | last post by:
if i created a web part in vs.net like http://www.devx.com/dotnet/Article/17518/0/page/2 is it possible to use the web part in both the sharepoint services environment and the sharepoint portal...
0
by: Ken Wigle | last post by:
All, I am trying to add some .net applications I wrote to a virtual directory underneath the sharepoint services web site. I am having some problems and wondering if a) this is possible and/or...
8
by: William LaMartin | last post by:
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...
0
by: William LaMartin | last post by:
It was suggested that I post this query here rather than in the Microsoft.public.dotnet.languages.vb group. I just received my Visual Studio upgrade to 2005 Pro and tried to create a new web...
0
by: Phani | last post by:
Hi All, I have 3 questions here: 1) Problem creating a SPFolder object: I am trying to create a SPFolder object for a document/picture library using the following code with SOM
0
by: JFB | last post by:
Hi All, I'm trying to do a simple app in windows form vb.net to connect to a sharepoint server. Imports Microsoft.SharePoint Overloads Sub Main(args() As String) Dim siteCollection As New...
3
by: colintanner | last post by:
I've a test web site set up as a virtual directory under default web sites in IIS. However when I browse to the main .aspx page I get an error because it is referencing a web.config that belongs to...
6
by: | last post by:
Here's the scenario. This is going to live in SharePoint, but it's an ASP/HTML issue I think. I need to be able to host an existing portlet in a sharepoint window. The trick is that I need to...
2
by: =?Utf-8?B?QWxhc3RhaXIgQmVsbA==?= | last post by:
I am having trouble creating a web site on a server running sharepoint services. I am creating an ASP.Net website using Visual Studio 2005. The server I am trying to create it on is a Windows 2003...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.