473,473 Members | 2,303 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem with web.config, asp.net 2.0, IIS 6.0 and Sharepoint

Hello!

I have a server, that contains Sharepoint Portal Server, IIS 6.0 with
..NET Framework 2.0 installed.
I created new web application and I set it's compatibility to .NET 2.0.
When I'm trying to access page from this webapplication folder, i get
error "An error occurred loading a configuration file: Access to the
path 'd:\inetpub\wwwroot\web.config' is denied". But my application is
in folder named "Test", so it should be
d:\inetpub\wwwroot\test\web.config.

How can I resolve this problem?

Nov 22 '06 #1
2 6032
"Leszek Gruszka" wrote:
When I'm trying to access page from this webapplication folder, i get
error "An error occurred loading a configuration file: Access to the
path 'd:\inetpub\wwwroot\web.config' is denied". But my application is
in folder named "Test", so it should be
d:\inetpub\wwwroot\test\web.config.
Sounds like the folder is not configured as an application. Using the
Internet Services Manager snap in, drill down to the Test folder, right-click
and select properties. On the directory tab, click the create button under
application settings.
Nov 22 '06 #2
You can't run Sharepoint applications and "regular"
ASP.NET 2.0 apps as part of the same application.

Sharepoint demands exclusive use of the root application.
Have you tried to create a new application for your "test" app ?

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espanol : http://asp.net.do/foros/
===================================
"Leszek Gruszka" <le******@gmail.comwrote in message
news:11**********************@m7g2000cwm.googlegro ups.com...
Hello!

I have a server, that contains Sharepoint Portal Server, IIS 6.0 with
.NET Framework 2.0 installed.
I created new web application and I set it's compatibility to .NET 2.0.
When I'm trying to access page from this webapplication folder, i get
error "An error occurred loading a configuration file: Access to the
path 'd:\inetpub\wwwroot\web.config' is denied". But my application is
in folder named "Test", so it should be
d:\inetpub\wwwroot\test\web.config.

How can I resolve this problem?

Nov 22 '06 #3

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

Similar topics

1
by: Robert | last post by:
I am having a problem selecting nodes using the XMLnodelist Selectnodes using XPATH when I use XML SPY is successfully queries but when is use VB.net it comes up with nothing. Here is my code ...
1
by: Didier Jeanson | last post by:
Hi, The session does not work in ASP.NET under Windows 2003 and IIS6. The page is very simple. - When I try to access the Session object in .NET I receive the following error: Session...
5
by: arjun | last post by:
Hi All, I am developing a A webpage to be seen in a page viewer webpart(Sharepoint 2003). The page is supposed to check for the current user name and then check the user membership in some local...
4
by: nottheface | last post by:
I have a chunk of code I'm writing in a C# code behind. Not sure if this is the right place to post, but I'm hoping someone has come across this before... I have on a page a pair of drop down...
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...
2
by: marek zegarek | last post by:
Hello! On my server I have Sharepoint portal server as default web site I create there a web application folder with form.aspx file. When I'm trying to run aspx, i get an error. Page is trying...
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...
1
by: getobject | last post by:
I am building an ASP.Net site and wish to use a SharePoint to hold the information. I am trying to add an entry to a list using Sharepoint webservices and keep getting a SOAP exception. I have know...
0
by: klarry79 | last post by:
hi there I am using Windows Sharepoint Services 2.0. and SQL Server 2005. I have a web part that pulls its content from the SQL Server. I get the following error when i try to load the web part...
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
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,...
1
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...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.