473,761 Members | 4,407 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\allo tments).

The get back an error that the project folder at
http://myserver/netapps/allotments cannot be opened with the path
\\myserver\wwwr oot$\netapps\al lotments. 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 1366

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

Similar topics

4
2032
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 environment without modification new to these products and not sure where to look for resource th dave
0
2281
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 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...
5
1316
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 over with NullReference exceptions. These exceptions appear to be related to core objects such as base or HttpContext.
8
16288
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 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.
0
1612
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 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"
0
2326
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
1338
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 SPSite("http://Server_Name") Dim sites As SPWebCollection = siteCollection.AllWebs Dim site As SPWeb
3
7136
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 sharepoint web sites. How can I force the test web site to reference the correct web.config file? The test web site contains the following in IIS: Default Web Site Test - contains aspx and web.config
6
8609
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 include some custom http headers in each request to the portlet app. So, the initial request is easy... Just add the headers and make the request. But as the response comes back in, I need to look through it and see if any of the links are requests...
2
4335
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 server. From what I understand I need to exclude in sharepoint services the folder where the application will be deployed. I have done this in the Define Managed Paths section of the Sharepoint management site, but it has no effect. Even after...
0
9345
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10115
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9775
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5229
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3881
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3456
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.