Groups | Blog | Home
all groups > asp.net security > april 2008 >

asp.net security : Problems with ASP.NET 2.0 application in subdirectory on a shared host


Ola Lie
4/22/2008 12:09:31 AM
Hi,

I have a domain at an ISP provider and try to install an ASP.NET 2.0
application in a subdirectory. It's a wiki called ScrewTurn. I have asked my
ISP to set it up according to the developers' specification, but I
constantly run into problems. The subdirectory is set as an .net application
and the public directory is given read and write access to the Network
Service account. I have tried to alter the web.config file in the
subdirectory without success. I usually end up with a
System.NullReferenceException at System.Web.UI.Page.ProcessRequestMain or a
"The attribute 'userName' has been locked in a higher level configuration".
According to the developers the wiki engine does not require any type of
authentication, but they cannot assist in the configuration of the
web.config file. Apparantly, it runs it the root directory, and some ISPs
have ScrewTurn run i subdirecories. My ISP cannot figure it out. Can anyone
help me with common problems in web.config for a .net application in a
subdirectory? I know it is merged with the ISP's root web.config file, but
does not know the content this file. I suspect security issues or file path
problems.

Best regards
Ola Lie


Ola Lie
4/24/2008 7:25:33 AM
Hi again, I am still struggling. Can anyone help me with a program that
lists the settings of all the elements and child elements that are set in
the root web.config. As I have my domain at a shared host I have no access
to this file, but it still controls my application.

Best regards
Ola Lie

Ola Lie
4/28/2008 5:43:26 PM
Problem solved. My ISP had not set the right security on the subdirectory

Best regards
Ola Lie

"Ola Lie" <ola@tip.no> skrev i melding
news:%23X06Jv$oIHA.4904@TK2MSFTNGP03.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button