ussynth
asked on
ServerController.pas Undeclared identifier: 'TIWUserSession'
I'm working on my very first Delphi XE IntraWeb app. I'm trying to connect to SQL Server 2008 and cannot find any help or example code. I'm currently geting this message:
[DCC Error] ServerController.pas(21): E2003 Undeclared identifier: 'TIWUserSession'
when I try to compile.
It's dieing on this line:
function UserSession: TIWUserSession;
This file has been automatically buit by Delphi. I have not added anything to it and have no idea what to put in the "uses" statement to get it to recognize TIWUserSession.
I'd appreciate any help on this and any sample code/projects or instructions for attaching to SQL Server.
Thanks,
Mike
[DCC Error] ServerController.pas(21): E2003 Undeclared identifier: 'TIWUserSession'
when I try to compile.
It's dieing on this line:
function UserSession: TIWUserSession;
This file has been automatically buit by Delphi. I have not added anything to it and have no idea what to put in the "uses" statement to get it to recognize TIWUserSession.
I'd appreciate any help on this and any sample code/projects or instructions for attaching to SQL Server.
Thanks,
Mike
try "uses IWUserSessionBase"
ASKER
Did not help. Here is my uses:
SysUtils, Classes, IWServerControllerBase, IWBaseForm, HTTPApp,
// For OnNewSession Event
UserSessionUnit, IWApplication, IWAppForm, IWUserSessionBase;
SysUtils, Classes, IWServerControllerBase, IWBaseForm, HTTPApp,
// For OnNewSession Event
UserSessionUnit, IWApplication, IWAppForm, IWUserSessionBase;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I found the answer on another site.