473,412 Members | 2,142 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,412 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 2253

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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.