Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Permission ERROR!! :(

Status
Not open for further replies.

olivia919

Programmer
May 19, 2005
24
US
I have tried everything. Nothing works! I am deploying a small ASP.NET application/MS ACCESS DB on a Win 2000 server. Everything works fine on the server. But Once I am trying to access the app. from another computer that logged on the network, It failed (unless I login as administrator). I went on IIS and enabled Anoumous access. I am really running out of ideas what to do. Anyone can help me!! so frustrating. what could be the problem. Thanks in advance!!
 
Give the ASP.Net user on the computer that you deployed to read/write access to the folder where the access db is located. It needs it to create the locking file.
 
I did give full control of to the folder. It does not help! :(
Once the user logon to the network, it stops working. I tried on my labtop which is not required for windows logon, I have no problem accessing the application. is there any other rights I need to grant the network users?
 
I assume your on a windows network.

In IIS under the websites properties turn off anonomous access. Make sure integrated security is checked

In the web.config file...

<authentication mode="Windows"/>
<identity impersonate="true"/>

With this set up everyone that accesses your site will do so under their domain user, not the anonomous user.

Check again to make sure that the ASP.Net user (the one that IIS Runs under) can write to the folder that the access db is located
 
Yes it is windows network. should be the users are members of the ASPNET?
I did exactly what you said. The only time the computers on the network would work, it is when either I logon as Admin or not logon at all. Once I logon to the network using a normal username password, it does not work. It is odd. I would think it should be if I don't log on, i can't get access to the page. :0(what else can I do..:0(
Thank you so much for your help...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top