?
Solved

Extremely urgent ! Unable to remove "read-only" mark from inetpub area.

Posted on 2006-03-23
10
Medium Priority
?
678 Views
Last Modified: 2008-02-01
Hi there..

Suddenly something happened yesterday (i have no clue what) which resulted to access-restrictions in write-permission to/within the inetpub folder.. (it's placed on the D-drive btw).

I have a ASP.NET/VB.NET application (D:\inetpub\wwwroot\persona\), and are now unable to do any work at all due to this annoying read-only problem.

PS! it's not marked "fully" read-only, which means it's read-only with a mark in it, but "grayed out" in the background of the checkbox.

I have tried running "attrib -r inetpub" but that didn't help either.. checked attrib no the inetpub folder by using "attrib inetpub" and it shows no Read-Only mark on it (through dos)..

When i remove the "read only check" and press "accept", and goes back in to check, it's still read-only marked. I have even tried to reboot the server for this to go away, but doesn't help.

Hmm.. any idea how i can check this any further, and what might be wrong here ?

Best regards
Terje.
0
Comment
Question by:Kripos56
  • 5
  • 5
10 Comments
 
LVL 7

Expert Comment

by:Giuseppe "Pino" De Francesco
ID: 16267703
Hiya,

from the IIS Manager, open your site properties, go to the Home Directory tab and mark the Write check-box. That's shoud be all.

Cheers
Pino
0
 

Author Comment

by:Kripos56
ID: 16267958
Hi there gdefancesco :)

Well.. been through that solution now.. and it seems "write" (and everything else) is marked already..

What's weird.. is that it seems like all the "folders" are read-only. The read-only is partly checked when looking at all folders under inetpub, but when looking at the files... none of them are put read-only at all..

Some information about system and developmentenvironment :

Server : Windows 2003
Webserver : IIS 6.0

Dev. language : VB.NET / ASP.NET
Dev. application : Visual Studio .NET 2003.

Solution file is in same folder as rest of the web app.

Any other ideas ?

Terje.
0
 
LVL 7

Expert Comment

by:Giuseppe "Pino" De Francesco
ID: 16268105
That's weird,

Go in the Advanced permissions (of your folder): can you post here what you read there?
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 

Author Comment

by:Kripos56
ID: 16268258
Hi there.. have checked that out.. see information both from Advanced permissions and my web.config file :

* All accessrights below have :  "Folder, Subfolders and Files" Permission.

Read & Execute :
Anonymous Logon
Users (COMPUTERNAME\Users

Full Control (except take ownership) :
Network Service
LOCAL SERVICE
ASP.NET Machine Account (MACHINENAME\ASPNET)

Full Control :
TNY010 (DOMAIN\TNY010) (which is me..)
Administrators (COMPUTERNAME\Administrators)
Creator owner
System

Owners are :
Administrator(COMPUTERNAME\Administrator
Administrators(COMPUTERNAME\Administrators)





WEBCONFIG FILE :

<?xml version="1.0"?>
<configuration>
      <system.web>
      <httpHandlers>
     <add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
    </httpHandlers>
            <identity impersonate="true"/>
            <authentication mode="Windows">
            </authentication>
            <customErrors mode="Off"/>
            <httpRuntime maxRequestLength="20000"/>
            <compilation debug="true">
                  <assemblies>
                        <add assembly="ProposionN2N, Version=2.0.0.0, Culture=neutral, PublicKeyToken=47A476656D73EED4"/>
                        <add assembly="Proposion.Licensing, Version=2.5.0.0, Culture=neutral, PublicKeyToken=47A476656D73EED4"/>
                        <add assembly="Proposion.N2N.Designers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=47A476656D73EED4"/>
                  </assemblies>
            </compilation>
      </system.web>
</configuration>
0
 

Author Comment

by:Kripos56
ID: 16268266
ah.. just a tiny correction : COMPUTERNAME is the same as MACHINENAME ofcourse :) hehe.

btw : increased the points to 500 due to the difficulty..

Terje.
0
 
LVL 7

Expert Comment

by:Giuseppe "Pino" De Francesco
ID: 16268369
Ok,
but what user is in the Directory Security tab ->Edit ->Authentication method ??
0
 

Author Comment

by:Kripos56
ID: 16268690
ah.. understand..

1) Enable Anonymous Access is UN-checked
2) Integrated Windows Authentication is checked
3) The three other checkboxes are UN-checked

On the IP-address tab, all computers are "Granted for access".

By the last testing i've done, this seems more like a "windows security" issue, rather than IIS-security.. agreed ?
Not sure yet though...

More information :
Tried to edit a file though notepad (which means.. no Visual studio .NET 2003 interferrence) both from my pc and a co-workers pc.. didn't work.. saying i have no access to write to this folder..

BUT... one of the domain-admins here, successfully modified, and saved the file..

Terje.
0
 
LVL 7

Accepted Solution

by:
Giuseppe "Pino" De Francesco earned 2000 total points
ID: 16269665
Ok, your web service needs authentications against the AD, so I think that you shoud grant to "DOMAIN\Domain Users" permission to Modify, Read, Execute, List folder content, Write, and be sure that the permission will be applied also to child object, this should solve your problem.

Cheers
Pino
0
 

Author Comment

by:Kripos56
ID: 16278768
Hi there Pino :)

It seems it was a share on InetPub which was making all the trouble, since i connected to the solution (VS2003) with this share.. Everything is sorted out now :)

Thanx for all your help!!.. made me going the right direction..

Terje.
0
 
LVL 7

Expert Comment

by:Giuseppe "Pino" De Francesco
ID: 16278801
Glad to help

Cheers
Pino
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Screencast - Getting to Know the Pipeline

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question