473,320 Members | 2,041 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,320 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
Nov 22 '05 #1
0 1350

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...
5
by: dave.stubbs | last post by:
Hi, We have a large web application, using ASP.NET/C# that runs quite happily on a Windows 2003 server under IIS, but when we install it on a server with sharepoint installed it keeps falling...
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
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
1
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.