Click here to Skip to main content
15,302,501 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Getting error 'An error occurred loading a configuration file: Access to the path 'sites9jukebox\wxm779ns.tmp' is denied.'

Actually i am trying to design a web application for playing music online. i have designed and deployed it on jukebox.erlsindia.co.in/ which redirects to http://jukebox.erlsindia.co.in/Login.aspx?ReturnUrl=%2fAccessRights.aspx[^] page due user validation. i am able to play and select the directory for songs on my local system but after deploying it to the server i am not able to do the selection. on server after logging i gets error

HTML
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: An error occurred loading a configuration file: Access to the path 'D:\inetpub\vhosts\erlsindia.co.in\sites9jukebox\-xrbovsb.tmp' is denied.

Source Error:
[No relevant source lines]

Source File: D:\inetpub\vhosts\erlsindia.co.in\sites9jukebox\web.config    Line: 0

Version Information: Microsoft .NET Framework Version:2.0.50727.5472; ASP.NET Version:2.0.50727.5456 


while on the other hand i am able to play the player using url http://jukebox.erlsindia.co.in/jukebox.aspx[^] which restricts me from selecting the songs directory.

any body can help me in this regards.

DS
Posted
Updated 15-Jun-21 22:59pm
v4

1 solution

   
Comments
Denno.Secqtinstien 2-Dec-13 8:21am
   
the file has been committed to the repository dedicated to the player at https://github.com/Neha-choudhary/JukeBoxAudioPlayer/blob/master/web.config due to which issue is replicated.
Denno.Secqtinstien 2-Dec-13 8:28am
   
thatraja, thanks for your immediate solution but which folder i have to give ? actually player has dependency for app_data folder, player folder, jukebox folder, utility folder and i have given all of the permissions to them. shall i have to give full permission to sites9jukebox folder/directory which is root directory for this application.
thatraja 2-Dec-13 8:36am
   
Yep, that directory under root directory. You could find more details in those links
Denno.Secqtinstien 2-Dec-13 8:33am
   
i think the error is due to the code config.Save(); used in utility code, so have to check it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900