VB Component debugging as anonymous access
- From: "Carlos Vítor Barros" <vbarros@xxxxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 15:15:34 -0300
Hello,
I'd like to debug a VB component without activating Basic/Integrated
security on the Web Server, just the anonymous access. I need this to refine
a problem as I am having with problems with permissions when connecting with
anonymous user / non-admin users to my website.
To better illustrate the problem, I will describe my whole situation here:
Intermitent errors were occuring on the testing of my application. The
tester access my computer (which acts as the development server in the
process) to test, and I develop locally, both the ASP Pages and the VB
Component. On the mornings before I arrived, usually the tester got this
error when acessing the application:
ORA01843 - Not a valid month
Or
ORA-01841: (full) year must be between -4713 and +9999, and not be 0.
Of course, this was a date conversion problem as we use the European format
(dd/mm/yyyy), so I checked the locales, everything within the ASP pages and
tried to debug the error. Funny thing is that the error never ever ocurred
when I was debugging, but when I stopped the debugger and reloaded the page,
the error appeared again. As with such intermitent errors, I tackled down
the problem and found out that it just ocurred when ANOTHER user that was
not me (with admin rights) accessed the ASP application FOR THE FIRST time.
If it I were the first user to access the asp application (after a server
reboot, for example), the error never ocurred - both for me and for any
other user. If any other user had been the first, the error kept ocurring
both for them and for me as well, but NEVER if I debugged.
With my experience struggling many times with authentication issues with
IIS, I soon realized that this was a permission problem or some problem in
the COM+ application security settings. I am no expert in COM+ or security
for that matter to find out if thats the problem. But I cant track down this
problem until I can debug on my machine 'impersonating' the anonymous user
that access my page.
The error always happens if the NTLM/Basic security s disabled in the IIS
App, regardless if its me or any other person. But I cant debug also.
The different users are causing the date to be interpreted differently by my
VB code, but I dont know where exactly. Thats why I need the debugger so
badly. I appreciate any help on this matter.
TIA,
--
--------------------------------------
Carlos Vítor Barros
- Web Developer
--------------------------------------
.
- Prev by Date: Re: 006~ASP 0178~Server.CreateObject Access Error
- Previous by thread: Re: 006~ASP 0178~Server.CreateObject Access Error
- Index(es):
Relevant Pages
|
|