Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Asp.net app on a LAN, data and app separated?
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00858340
Message ID:
00861992
Views:
24
Thank you Cathi.

I will try that after the holidays when I return to the office. How do I handle the user asp.net user stuff?

Enjoy your holidays. Thank you for a great productive development year.

Regards,
Dr. G. (Neil)

>Hi Neil,
>
>You need to use a UNC path and not a mapped path to access the data on another machine.
>
>>I have 2 computers set up in a simple network. Computer 1 is the web server, which is running IS 5.0 and 1.1 .net framework.
>>
>>I found a "How To" article on creating a custom account to run asp.net. I followed the instructions and changed the user to my new CustomASPNET user. ASP.NET runs just fine under the new user. All of the COM and DataBase reads and writes work fine.
>>I then created a CustomASPNET user on the 2nd computer and gave it the same password. I still cannot access the data on the 2nd computer.
>>
>>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/secnetht01.asp
>>
>>I am connecting to foxpro free tables using vfpoledb. Please give an example of how to impersonate. The users are local to the given computer. I am not using domains.
>>
>>In my web.config, the connection string is:
>>
>><databases>
>>    <add key="Patient\Connection" value="Provider=vfpoledb.1;Data Source=c:\gmg\main\"/>
>>    <add key="Patient\DataAccessClass" value="DataAccessOLEDB" />
>></databases>
>>
>> Changing Source=c:\gmg\main\ to h:\gmg\main, where h: is on the second computer, results in a runtime error: access denied.
>>
>>Regards and thanx,
>>Neil
>>
>>
>>
>>
>>>Your post is somewhat unclear.
>>>
>>>1. What kind of data?
>>>2. How did you change the user from ASPNET?
>>>
>>>The short answer is to impersonate the aspnet user in the web.config to a windows user that you create on both machines, with rights to the proper areas.
>>>
>>>db
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform