Jump to content

Recommended Posts

Posted

Ok scratch that, it wont work in a cluster.

 

In that case you would use a different SQL Connection string

 

Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;

 

Create a SQL User in the cluster for HAP and tell HAP to use it

Posted

Thanks Nick! Got that all in but im getting an odd error (once I got past the not being able to type!)

 

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.ArgumentException: Source Home Access Plus+ already exists on the local computer.

at System.Diagnostics.EventLog.CreateEventSource(EventSourceCreationData sourceData)

at System.Diagnostics.EventLog.CreateEventSource(String source, String logName)

at HAP.Logon.Tracker.Loading.api_ClearCompleted(Object sender, AsyncCompletedEventArgs e)

at HAP.Logon.Tracker.api.api.OnClearOperationCompleted(Object arg)

 

 

************** Loaded Assemblies **************

mscorlib

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

HAP Logon Tracker

Assembly Version: 4.0.0.0

Win32 Version: 4.0.0

CodeBase: file:///C:/Windows/System32/HAP%20Logon%20Tracker.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Web.Services

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

----------------------------------------

System.Xml

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

iqjqpfwc

Assembly Version: 4.0.0.0

Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

Accessibility

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

 

For example:

 

 

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

Posted
for some reason it doesn't like it at all, and I can't think why, apart from the port reference. I'll be because it can't find HAP+ to get the right info
Posted
Hmmm. Could it be the whole basic auth thing that we did to get it to work behind tmg/isa rather than use the built in FBA? I vaguely remember we may have done some iis perms changes when we got it working on v7....
  • 2 weeks later...
Posted

It should work regardless of auth method if you are using a custom SQL Connection String with a user defined in it.

 

 

You may need to delete the Home Access Plus+ Event Source from the registry:

 

HKLM\System\CurrentControlSet\Services\EventLog

 

Delete any reference to Home Access Plus+ and try again

Posted
Ahh.. found an entry hiding in there, and deleted it. It then ran ok, but didnt add anything to the database :( Running it again causes the same error too; as does running the logoff event. Ideas?
Posted

A little bit more progress, I reset the permissions on the AppData folder and put the authentication to Anon (with using the AppPool identity) in IIS. The data doesnt make it into the XML file (ive gone back to XML while we troubleshoot)...

 

Anything or anywhere i can look? The registry entries get created each time on a logon command, which then causes the .net error above. Is there any way it can accept the port number?

 

Stuart

Posted
Odd, it must be doing some odd with the permissions. Can you try adding everyone to the hap folder, and everyone with write access to the app_data folder (not ideal)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...