Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Access Denied

Access Denied

Scheduled Pinned Locked Moved ASP.NET
helpquestiontutorialannouncement
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rmesh
    wrote on last edited by
    #1

    Hi all, When i change any file in my project i got the the message as access denied and i have checked and given the permission for those folders, still i am getting the access denied problem for particular files.But i can add,update and delete new files.I am getting the error for some of the Files only. what is the reason? and how to solve those problems? Thanks, Ramesh A.

    I S S 3 Replies Last reply
    0
    • R Rmesh

      Hi all, When i change any file in my project i got the the message as access denied and i have checked and given the permission for those folders, still i am getting the access denied problem for particular files.But i can add,update and delete new files.I am getting the error for some of the Files only. what is the reason? and how to solve those problems? Thanks, Ramesh A.

      I Offline
      I Offline
      Imran Khan Pathan
      wrote on last edited by
      #2

      Files should be Read only or in Used.Check out property of file Best Regard Pathan

      ---------------------------------------------------

      R 1 Reply Last reply
      0
      • R Rmesh

        Hi all, When i change any file in my project i got the the message as access denied and i have checked and given the permission for those folders, still i am getting the access denied problem for particular files.But i can add,update and delete new files.I am getting the error for some of the Files only. what is the reason? and how to solve those problems? Thanks, Ramesh A.

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        there can be any reasons one of it might be last time when you run your application and closed it i think the process is still runing in back end so go to task manager and stop aspnet_wp.exe and try again .

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        R 1 Reply Last reply
        0
        • R Rmesh

          Hi all, When i change any file in my project i got the the message as access denied and i have checked and given the permission for those folders, still i am getting the access denied problem for particular files.But i can add,update and delete new files.I am getting the error for some of the Files only. what is the reason? and how to solve those problems? Thanks, Ramesh A.

          S Offline
          S Offline
          Shujaat Ullah Khan
          wrote on last edited by
          #4

          If you have given ASPNET account full permissions and then also it is not working then you might have not closed the file since you updated/write or read it last time through your application. Check the modes in which you are opening file(ie ReadOnly,Write etc).

          Shujaat

          R 1 Reply Last reply
          0
          • I Imran Khan Pathan

            Files should be Read only or in Used.Check out property of file Best Regard Pathan

            ---------------------------------------------------

            R Offline
            R Offline
            Rmesh
            wrote on last edited by
            #5

            I have checked that one also,the files are not read only.But the files that was added now are working very well and we have given full access to the folder also.But the same error is coming in the online.

            1 Reply Last reply
            0
            • S Shujaat Ullah Khan

              If you have given ASPNET account full permissions and then also it is not working then you might have not closed the file since you updated/write or read it last time through your application. Check the modes in which you are opening file(ie ReadOnly,Write etc).

              Shujaat

              R Offline
              R Offline
              Rmesh
              wrote on last edited by
              #6

              I have checked and changed everything in the online. But still the same problem is coming.I have given full write permission to the folders and the individual file also.

              S 1 Reply Last reply
              0
              • S Sandeep Akhare

                there can be any reasons one of it might be last time when you run your application and closed it i think the process is still runing in back end so go to task manager and stop aspnet_wp.exe and try again .

                Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

                R Offline
                R Offline
                Rmesh
                wrote on last edited by
                #7

                I have checked and changed everything in the online. But still the same problem is coming.I have given full write permission to the folders and the individual file also.

                1 Reply Last reply
                0
                • R Rmesh

                  I have checked and changed everything in the online. But still the same problem is coming.I have given full write permission to the folders and the individual file also.

                  S Offline
                  S Offline
                  Shujaat Ullah Khan
                  wrote on last edited by
                  #8

                  Might be that some files that you are not able to acces got currupted when you last tried to write or append it. Have you closed the file after reading/writing in your application ? If you show me the code I will be in better position to tell the exact problem.

                  Shujaat

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups