Prev   Next

Back to the top of the FAQ

Q. The sample aspx code your provide doesn't work with .NET!!


A.
I am developing this page using Visual Studio.NET

I have tried this with Application Protection set to Low.

I have tried giving permissions to the ASPNET account for the registry HKEY_LOCAL_MACHINE /Software /Flicks Software (ala the Win2k recommended fix)

I have tried giving permissions to the ASPNET account for the directory c:\program files\flicks (ala the Win2k recommended fix)

I have enabled the mutexTrace in the registry. Using your ASP pages to add access, I see these events in the app log.

*********************************


Event Type: Information
Event Source: AuthXocx
Event Category: Flicks
Event ID: 100
Date: 1/24/2003
Time: 12:40:01 PM
User: N/A
Computer: LAPTOP
Description:
Message from: "AX Mutex Trace"
Message:
Global\C:/Program Files/Flicks Software/AuthentiX/authx.adb_KWXB_DOC_MUTEX_KDBPULSE awakened (in CTimerUpdate::InitInstance), called from: OCXModule

Version 5.5j



Event Type: Information
Event Source: AuthXocx
Event Category: Flicks
Event ID: 100
Date: 1/24/2003
Time: 12:40:01 PM
User: N/A
Computer: LAPTOP
Description:
Message from: "AX Mutex Trace"
Message:
Global\C:/Program Files/Flicks Software/AuthentiX/authx.adb_KWXB_DOC_MUTEX_KDBPULSE awakened (in CTimerUpdate::InitInstance), called from: ISAPI Filter

Version 5.5j


*****************


Using my .NET page I see only this entry.


********
Event Type: Information
Event Source: AuthXocx
Event Category: Flicks
Event ID: 100
Date: 1/24/2003
Time: 12:41:07 PM
User: N/A
Computer: LAPTOP
Description:
Message from: "Authentix:Wrap"
Message:
Successfully Loaded Configuration Data. (from: OCXModule). This message is not an error. Just letting you know that the software has started.

Version 5.5j

**********


SOLUTION

When I added the page directive, everything worked, just like in an ASP page.

Test 2:
When I run this .NET code in a code-behind:

dim pathname as string
dim result as integer
pathname = "d:\customer1"
Dim auth As New AUTHXOCXLib.AuthXOCXClass()
result = auth.AuthAdd(pathname)
auth.flush()
auth.AuthDataAuthentiXDBEnabled(pathname) = False
auth.AuthDataODBCEnabled(pathname) = True
auth.AuthDataCustomSelect(pathname) = 2
auth.AuthDataODBCAdvancedUsage(pathname) = 1
auth.AuthDataODBCConnectString(pathname) = "DSN=test;uid=test;pwd=test;"
auth.AuthDataODBCAdvancedString(pathname) = "aulogin '$USERNAME$', $PASSWORD$', 'customer1'"
auth.flush()

the directory is added and shows up immediately in the GUI and the aspadmin web tool. But the ODBC properties and AuthentixDBenabled do not get recorded. note the use of the flush method.
then I tried the following change

pathname = "d:\customer1\"


works great!

Thanks Glenn Gordon!

Back to the top of the FAQ

Prev   Next