Click here to Skip to main content
15,898,035 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Postback - Variables Deleted AND Listbox.SelectedItem Pin
Christian Graus18-Jun-09 11:06
protectorChristian Graus18-Jun-09 11:06 
QuestionNull reference exception in gridview binding to text data Pin
ashutosh_karna18-Jun-09 10:26
ashutosh_karna18-Jun-09 10:26 
AnswerRe: Null reference exception in gridview binding to text data Pin
Christian Graus18-Jun-09 10:48
protectorChristian Graus18-Jun-09 10:48 
AnswerRe: Null reference exception in gridview binding to text data Pin
httplover18-Jun-09 15:01
httplover18-Jun-09 15:01 
QuestionRetrieving members of nested groups from AD Pin
Norriskilla18-Jun-09 9:49
Norriskilla18-Jun-09 9:49 
AnswerRe: Retrieving members of nested groups from AD Pin
Abhijit Jana18-Jun-09 11:34
professionalAbhijit Jana18-Jun-09 11:34 
GeneralRe: Retrieving members of nested groups from AD Pin
Norriskilla18-Jun-09 11:53
Norriskilla18-Jun-09 11:53 
QuestionAuthentication Required in Application_Start but not in Application_BeginRequest Pin
mtbvfr18-Jun-09 9:03
mtbvfr18-Jun-09 9:03 
Hi All,

When attempting to write or delete a file in the Application_Start event of Global.asax I receive an "Authentication Required" message box requesting a User Id and Password.

After clicking Cancel on the Message Box I receive the following.

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 "D:\hshome\mtbvfr\casas-y-terrenos.com\MapPathTest2009-06-17T21-48-03.txt" 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 write 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.


The same code works fine in the Application_BeginRequest event.

My ISP uses the H-SPHERE control panel. The "Authentication level" is set to Anonymous. "Allow read access" and "Allow write access" are both checked.

Do I need to request my ISP to allow ASP.Net access to my directories or is there some other solution?

Thanks in advance,

Michael
Hospedaje Los Jardines & Sacred Valley Mountain Bike Tours
http://www.machawasi.com/
Cusco Database Development and Cycling Services
http://databaseservices.blogspot.com
http://serviciosdeciclismodelperu.googlepages.com
Cusco Travel Services
http://www.cusco-travel-services.com

QuestionAlign a paragraph in rich text box Pin
Member 465900118-Jun-09 7:32
Member 465900118-Jun-09 7:32 
Questionpassing Popup wondow values to parent window. Pin
avvaru.murali18-Jun-09 6:35
avvaru.murali18-Jun-09 6:35 
AnswerRe: passing Popup wondow values to parent window. Pin
koolprasad200318-Jun-09 19:56
professionalkoolprasad200318-Jun-09 19:56 
QuestionAJAX Hovermenu on Gridview button field Pin
Ridge Howison18-Jun-09 6:28
Ridge Howison18-Jun-09 6:28 
QuestionMASTER PAGE ISSUE Pin
Amit Patel198518-Jun-09 4:31
Amit Patel198518-Jun-09 4:31 
AnswerRe: MASTER PAGE ISSUE Pin
ToddHileHoffer18-Jun-09 10:03
ToddHileHoffer18-Jun-09 10:03 
Question[Message Deleted] Pin
Veerendranadh18-Jun-09 4:17
Veerendranadh18-Jun-09 4:17 
AnswerRe: Unable to disable backgroup using modalpopup extender Pin
httplover18-Jun-09 4:21
httplover18-Jun-09 4:21 
AnswerRe: Unable to disable backgroup using modalpopup extender Pin
dan!sh 18-Jun-09 4:21
professional dan!sh 18-Jun-09 4:21 
QuestionN-Layer ASP.Net Application Pin
Nutan T.18-Jun-09 3:46
Nutan T.18-Jun-09 3:46 
AnswerRe: N-Layer ASP.Net Application Pin
Vimalsoft(Pty) Ltd18-Jun-09 3:50
professionalVimalsoft(Pty) Ltd18-Jun-09 3:50 
QuestionValidation Summary Pin
Pankaj1818-Jun-09 3:00
Pankaj1818-Jun-09 3:00 
AnswerRe: Validation Summary Pin
Vimalsoft(Pty) Ltd18-Jun-09 3:34
professionalVimalsoft(Pty) Ltd18-Jun-09 3:34 
AnswerRe: Validation Summary Pin
Baran M18-Jun-09 20:44
Baran M18-Jun-09 20:44 
Questionpre class like CP Pin
Xmen Real 18-Jun-09 2:58
professional Xmen Real 18-Jun-09 2:58 
QuestionCustom Properties in partial class of Entities Framework object not displayed in ASP.NET Dynamic Data Pin
Kris Penner18-Jun-09 2:27
Kris Penner18-Jun-09 2:27 
GeneralRe: Custom Properties in partial class of Entities Framework object not displayed in ASP.NET Dynamic Data Pin
Brady Kelly26-Jun-10 3:45
Brady Kelly26-Jun-10 3:45 

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.