Click here to Skip to main content
15,879,535 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAd Rotator in master page Pin
Hemant Thaker7-Aug-09 0:25
Hemant Thaker7-Aug-09 0:25 
QuestionAjax implementation Pin
AB77717-Aug-09 0:04
AB77717-Aug-09 0:04 
AnswerRe: Ajax implementation Pin
Abhijit Jana7-Aug-09 0:16
professionalAbhijit Jana7-Aug-09 0:16 
GeneralRe: Ajax implementation Pin
AB77717-Aug-09 1:44
AB77717-Aug-09 1:44 
AnswerRe: Ajax implementation Pin
Arindam Sinha7-Aug-09 1:37
Arindam Sinha7-Aug-09 1:37 
Question[Message Deleted] Pin
sekannak6-Aug-09 23:51
sekannak6-Aug-09 23:51 
AnswerRe: COM Component Pin
Manas Bhardwaj6-Aug-09 23:53
professionalManas Bhardwaj6-Aug-09 23:53 
QuestionUpload file permission denied Pin
Jain Vijay6-Aug-09 23:30
Jain Vijay6-Aug-09 23:30 
Hi all,
I m trying to upload file on sever through upload control. code is working fine in local environment. also i have test code in asp. But when i have deployed the same asp.net code on server, getting this error....


Access to the path 'e:\Inetpub\herddealers.com\wwwroot\admin\resources\Book1.xls' 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 'e:\Inetpub\xyz.com\wwwroot\admin\resources\Book1.xls' 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.


code in asp to upload file in same folder is working fine but not in asp.net.

can any 1 know the reason...
plz help me to resolve this issue...

Regards...

Vijay Jain Smile | :)
  



"One thing you can't recycle is wasted time."




AnswerRe: Upload file permission denied Pin
Abhijit Jana6-Aug-09 23:37
professionalAbhijit Jana6-Aug-09 23:37 
GeneralRe: Upload file permission denied Pin
Jain Vijay6-Aug-09 23:57
Jain Vijay6-Aug-09 23:57 
GeneralRe: Upload file permission denied Pin
Abhijit Jana6-Aug-09 23:59
professionalAbhijit Jana6-Aug-09 23:59 
GeneralRe: Upload file permission denied Pin
Jain Vijay7-Aug-09 0:06
Jain Vijay7-Aug-09 0:06 
GeneralRe: Upload file permission denied Pin
Abhijit Jana7-Aug-09 0:08
professionalAbhijit Jana7-Aug-09 0:08 
GeneralRe: Upload file permission denied Pin
Jain Vijay7-Aug-09 0:12
Jain Vijay7-Aug-09 0:12 
QuestionThe underlying connection was closed: An unexpected error occurred on a receive Pin
Bibhash Mishra6-Aug-09 23:28
Bibhash Mishra6-Aug-09 23:28 
AnswerRe: The underlying connection was closed: An unexpected error occurred on a receive Pin
Manas Bhardwaj6-Aug-09 23:36
professionalManas Bhardwaj6-Aug-09 23:36 
GeneralRe: The underlying connection was closed: An unexpected error occurred on a receive Pin
Bibhash Mishra9-Aug-09 20:38
Bibhash Mishra9-Aug-09 20:38 
AnswerRe: The underlying connection was closed: An unexpected error occurred on a receive Pin
Abhijit Jana6-Aug-09 23:45
professionalAbhijit Jana6-Aug-09 23:45 
QuestionGrid view showing null columns Pin
LucBite6-Aug-09 21:57
LucBite6-Aug-09 21:57 
AnswerRe: Grid view showing null columns Pin
Blue_Boy6-Aug-09 22:14
Blue_Boy6-Aug-09 22:14 
AnswerRe: Grid view showing null columns Pin
Abhijit Jana6-Aug-09 23:11
professionalAbhijit Jana6-Aug-09 23:11 
AnswerRe: Grid view showing null columns Pin
Hemant Thaker7-Aug-09 1:30
Hemant Thaker7-Aug-09 1:30 
GeneralRe: Grid view showing null columns Pin
LucBite7-Aug-09 21:18
LucBite7-Aug-09 21:18 
Questionsmart window Pin
KhandelwalA6-Aug-09 20:56
KhandelwalA6-Aug-09 20:56 
AnswerRe: smart window Pin
Abhijit Jana6-Aug-09 21:03
professionalAbhijit Jana6-Aug-09 21:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.