Hello all, I have an ISAPI extension running on IIS/5.1 Win XP Pro. The first line in the GetExtensionVersion logs to a file. Though the method is being executed, nothing is getting logged to the file. Logging the WSAGetLastError seems pointless as that would again require a file to be opened. I would appreciate any help in debugging this. The task manager is showing no username against inetinfo.exe. The properties for the log file is not showing any specific tab for permissions in explorer. So I am not even sure if it is due to lack of security privileges. Thanks, Raj
http://blogs.msdn.com/david.wang/archive/2005/05/26/IIS_User_Identity_to_Run_Code.aspx -- //David IIS http://blogs.msdn.com/David.Wang This posting is provided "AS IS" with no warranties, and confers no rights. // wrote in message news:1142452445.660268.155120@e56g2000cwe.googlegroups.com... > Hello all, > > I have an ISAPI extension running on IIS/5.1 Win XP Pro. The first line > in the GetExtensionVersion logs to a file. Though the method is being > executed, nothing is getting logged to the file. Logging the > WSAGetLastError seems pointless as that would again require a file to > be opened. I would appreciate any help in debugging this. > > The task manager is showing no username against inetinfo.exe. The > properties for the log file is not showing any specific tab for > permissions in explorer. So I am not even sure if it is due to lack of > security privileges. > > Thanks, > Raj >
Thanks David, giving IUSR_MACHINE-NAME the appropriate permission resolved the issue. Also, I was not seeing the security tab in the File->Properties as Tools->FolderOptions->View->UseSimpleFileSharing was enabled. Regards, Raj > http://blogs.msdn.com/david.wang/archive/2005/05/26/IIS_User_Identity... > > -- > //David > IIS > http://blogs.msdn.com/David.Wang > This posting is provided "AS IS" with no warranties, and confers no rights. > // >> >> Hello all, >> >> I have an ISAPI extension running on IIS/5.1 Win XP Pro. The first line >> in the GetExtensionVersion logs to a file. Though the method is being >> executed, nothing is getting logged to the file. Logging the >> WSAGetLastError seems pointless as that would again require a file to >> be opened. I would appreciate any help in debugging this. >> >> >> The task manager is showing no username against inetinfo.exe. The >> properties for the log file is not showing any specific tab for >> permissions in explorer. So I am not even sure if it is due to lack of >> security privileges. >> >> >> Thanks, >> Raj