We have an ascx User Control that makes sqlclient database connection
to SQL-Server 2000. This user control is then contained on asp.net
page for testing (we eventually want
To use control in a web part).

This control functions normally if it resides in an IIS 6.0 web site
not configured for SharePoint 2003.

However if this is run under an IIS 6.0 web site configured for
SharePoint 2003 I get the following error when trying to connect:

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

Please note that the folder with the asp.net test application is part
of SharePoint's exclude path. Also this test application will run
correctly if referenced thru browser on the portal server itself.
I'ts only when referencing portal from another client that error
occurs.

Is there something in SharePoints config file that is causing this
behavior?

Any help would be appreciated.

Thanks,

Bill