Avatar billede henrik_40 Juniormester
23. april 2014 - 09:44 Der er 2 kommentarer og
1 løsning

Rettigheder på Windows servre

Hejsa
Min webside ligger på een server (SATUR) og her skal lægges filer ned på en anden server (CHIP).

Det skaber problemer. Se nedenstående.

Jeg har forsøgt mig med alt muligt, og jeg håber nu at nogen kan guide mig igennem...



Access to the path '\\Chip\DATA\test.xml' is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path '\\Chip\DATA\test.xml' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
Avatar billede henrik_40 Juniormester
23. april 2014 - 10:57 #1
Nu har jeg sat websiden over på samme server, men problemet er ens.
Avatar billede henrik_40 Juniormester
23. april 2014 - 11:14 #2
Mere info:
Windows 2003 server IIS 6.0
Avatar billede henrik_40 Juniormester
23. april 2014 - 14:42 #3
hmm, jeg har måtte løse problemet ved at hente filerne fra et katalog på websiden.

Så jeg lukker..
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester