Professional Web Applications Themes

Error in accessing shared folder database file in ASP.net - ASP.NET Security

i have an access 2000 database in a shared folder at network. i have to pull data out of it to process. If i use Window application, it worked fine. but i need to use it in ASP.net. OleDB Connection fails and say it is not a valid path or make sure file exist. I added identity impersonate tag in web.config file plus i used "system" user in Machine.config file for processModel tag. it worked now on my local development only. If some one try to run web page from other machine, it again fails with the same message. any ...

  1. #1

    Default Error in accessing shared folder database file in ASP.net

    i have an access 2000 database in a shared folder at network. i have to pull
    data out of it to process.

    If i use Window application, it worked fine. but i need to use it in
    ASP.net. OleDB Connection fails and say
    it is not a valid path or make sure file exist. I added identity impersonate
    tag in web.config file plus i used "system" user in Machine.config file for
    processModel tag. it worked now on my local development only. If some one
    try to run web page from other machine, it again fails with the same
    message. any idea how to fix this security related error?????

    Regards,

    BizWorld


    BizWorld Guest

  2. #2

    Default Re: Error in accessing shared folder database file in ASP.net

    On Wed, 7 Dec 2005 16:53:07 -0500, "BizWorld" <com> wrote:

    i have an access 2000 database in a shared folder at network. i have to pull
    data out of it to process.

    If i use Window application, it worked fine. but i need to use it in
    ASP.net. OleDB Connection fails and say
    it is not a valid path or make sure file exist. I added identity impersonate
    tag in web.config file plus i used "system" user in Machine.config file for
    processModel tag. it worked now on my local development only. If some one
    try to run web page from other machine, it again fails with the same
    message. any idea how to fix this security related error?????

    Is the database on the same machine as the web server? What type of authentication is your web
    application using?


    Paul
    ~~~~
    Microsoft MVP (Visual Basic)
    Paul Guest

  3. #3

    Default Re: Error in accessing shared folder database file in ASP.net

    Web server is diff machine, and DB is on a diff machine at network share.
    Web server use NT AUthentication.
    anonymous is disable. Web server is not external web server. it is an
    intranet application.

    Regards,

    BizWorld

    "Paul Clement" <com> wrote in message
    news:com... 


    BizWorld Guest

  4. #4

    Default Re: Error in accessing shared folder database file in ASP.net

    On Thu, 8 Dec 2005 11:01:25 -0500, "BizWorld" <com> wrote:

    Web server is diff machine, and DB is on a diff machine at network share.
    Web server use NT AUthentication.
    anonymous is disable. Web server is not external web server. it is an
    intranet application.


    In another post you mentioned you were using a mapped path. You should be using a UNC path name
    instead. In addition, Integrated Windows Security will not enable security delegation to a remote
    machine w/o using Kerberos. The following delegation scenarios may help:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconASPNETDelegation.asp


    Paul
    ~~~~
    Microsoft MVP (Visual Basic)
    Paul Guest

Similar Threads

  1. Error accessing database
    By krazykrisi in forum Coldfusion Database Access
    Replies: 3
    Last Post: February 24th, 12:46 AM
  2. Problem accessing shared folder on remote server
    By Balance in forum Coldfusion - Advanced Techniques
    Replies: 4
    Last Post: June 3rd, 03:30 PM
  3. ADO error accessing - Access Database
    By Christopher Knapp in forum ASP Database
    Replies: 7
    Last Post: April 15th, 11:17 PM
  4. accessing a file in the user's My Doents folder from CD
    By michaelam1 webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 4
    Last Post: January 21st, 08:38 PM
  5. Replies: 0
    Last Post: August 13th, 05:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139