REC Server Installation Problem

Queries related to T-Plan Remote Execution Console (REC)
Post Reply
cornelisp

REC Server Installation Problem

Post by cornelisp » Wed Feb 02, 2005 10:55 am

Dear,
When i try to install the REC Server on our webserver. I receive an error when i open select the admin.xml file( in Web Service Configuration Window ): An Unhandled exception has occurred in your application,...
Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {0D8A459B-CD71-4E6B-869A-25878FACEA04} is either not valid or not registered.
at WebServiceConfigurationForm.Form1.EnumAvailableDatabases()
at WebServiceConfigurationForm.Form1.BrowseAdminFileButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
WebServiceConfigurationForm
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/WebServiceConfigurationForm.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
TPlanAdminTools
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/TPlanAdminTools.DLL
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.


Anonymous

Post by Anonymous » Thu Feb 03, 2005 10:34 am

Hi Peter

We are currently investigating this query- we will update you shortly.

Kind regards

Anonymous

REC Server Installation Problem

Post by Anonymous » Thu Feb 03, 2005 11:11 am

Hi Peter

This looks like the ASPNET account does not have execute permissions in the c:\program files\T-Plan folder. Please provide this account with the necessary permissions in this folder. If you are installing on a domain controller, then the ASP .NET account is NETWORK SERVICES.

Kind regards

cornelisp

Re: REC Server Installation Problem

Post by cornelisp » Wed Feb 09, 2005 2:40 pm

Dear,

I give the ASPNET account Read & Execute rights on the C:\program files\T-plan folder. But still the same error.
When i start the "WebServiceConfigurationForm.exe" from this folder, and i browse to an XML file, i receive this error when i open the xml file.
sam wrote:Hi Peter

This looks like the ASPNET account does not have execute permissions in the c:\program files\T-Plan folder. Please provide this account with the necessary permissions in this folder. If you are installing on a domain controller, then the ASP .NET account is NETWORK SERVICES.

Kind regards

User avatar
charlie
Site Admin
Site Admin
Posts: 79
Joined: Sun Oct 12, 2003 9:08 pm
First Name: Charlie
Last Name: Wheeler
Company: T-Plan Ltd.
Location: Brighton
Contact:

Post by charlie » Thu Feb 17, 2005 7:01 pm

Peter,

Please can you install or re-install the main T-Plan Product Suite on this web server and then try and install the REC server again.

Once installed please navigate via T-Plan Administrator and T-Plan Professional to the database that you would like to connect to so that we can resolve that the problem is not elsewhere.
Once you have successful logged on to these two applications can you please run the REC in the local mode so we can again check that the REC is running successfully.

Leaving these application installed on the WebServer then can you please install the REC Server.
Then run the REC configuration wizard from the T-Plan shortcut menu.
Finally then make sure that you change the configuration of the REC client to be remote so that you can then test on the WebServer before you attempt to establish a connection from elsewhere.

The problem I believe is to do with the fact that the registry believes that you already have another copy of T-Plan installed on the machine. This therefore causes a confliction with the XML file as it believes it is already open by another instance of T-Plan.

Thanks,
Charlie
T-Plan Support

cornelisp

Post by cornelisp » Mon Feb 21, 2005 12:57 pm

Dear,
after installing the full package on the webserver, the error didn't show up again, i was able to open the admin.xml.

However I still can't connect via the REC.

When i use a client pc to connect, fill in the correct server, username and password; i receive following error ( see attachement )
Attachments
error.jpg
error.jpg (83.33 KiB) Viewed 13447 times

cornelisp

Post by cornelisp » Mon Feb 21, 2005 1:22 pm

After some debugging, i've found that the previous message was about the ASPNET user not having access to some folders.
This has been solved.

But now another error :(

Logon Failed: Server was unable to process request. --> Object reference not set to an instance of an object.

rsz

Post by rsz » Tue Mar 01, 2005 11:56 am

Peter

We're sorry you are continuing to have difficulties running the REC server. I would like to suggest you follow this procedure to help us understand the issue and provide us with further information where requested. Apologies for the complexity but we need precise knowledge of which functions are working and which aren't.

All the following operations to be carried out on your web server...
1) Please verify the correct functioning of T-Plan Professional by starting T-Plan Professional and logging into your database. Close the app.
2) Run the "T-Plan REC Client" configuration applet (off the start menu) and set the mode to "local". Close the applet.
3) Run the "T-Plan Remote Execution Console". Are you able to log in and view the main window? Close the app.
4) Run the "T-Plan REC Client" configuration applet again and set the mode to "remote" and specify "localhost" as the server name. Close the applet.
5) Run the "T-Plan REC Server" configuration applet. Verify that the correct admin.xml file is specified and that the expected database choices appear in the drop down. Also check the "Enable Logging" option. Close the applet.
6) Run the "T-Plan Remote Execution Console" and log in. Do the correct database choices appear in the drop down list? Does the main window appear? Close the app.

We would like to know if you encountered any difficulties carrying out any of the above steps. If you are continuing to have problems, we would be grateful if you could send us a copy of your REC server log file.

Regards
Richard Szarkowski

cornelisp

Post by cornelisp » Mon Mar 07, 2005 10:12 am

Dear, i did some further testing, directly on the Webserver
1) Please verify the correct functioning of T-Plan Professional by starting T-Plan Professional and logging into your database. Close the app.

Ok, works fine, i can connect/ login
2) Run the "T-Plan REC Client" configuration applet (off the start menu) and set the mode to "local". Close the applet.
3) Run the "T-Plan Remote Execution Console". Are you able to log in and view the main window? Close the app.
Ok, the REC works in Local Mode.
4) Run the "T-Plan REC Client" configuration applet again and set the mode to "remote" and specify "localhost" as the server name. Close the applet.
This didn't work anymore: The error was: Logon Failed: Server was unable to process request. --> Object reference not set to an instance of an object.

5) Run the "T-Plan REC Server" configuration applet. Verify that the correct admin.xml file is specified and that the expected database choices appear in the drop down. Also check the "Enable Logging" option. Close the applet.
This is ok; the expected database choises appear.

After that i've been playing around with the IIS configuration. The webserver we use is a Windows 2000 server, the server hosts multiple websites, each website has it own ip address.
By default T-plan is installed in the 'Default Web Site' We moved this to our testwebsite ( we did this after installation ) and made the same settings: scripts only, medium application protection ,...
Now i changed it back to the 'Default Website' and then i was able to use the REC with configuration setting to Localhost !!
So there seems to be a problem when i want to move the T-PlanService virtual directory to another Website. Can this be done ? or is this not supported ?

The REC now works on the server itself ( when run in 'Default Website' ), but the client doesn't . It receives an 'unhandled exception'. See below
Maybe this also has something to do with multiple websites/multiple ip addresses on the server ?
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.Serialization.SerializationException: Wrong number of Members. Object System.Collections.Comparer has 1 members, number of members deserialized is 0.
at System.Runtime.Serialization.Formatters.Soap.ReadObjectInfo.PopulateObjectMembers()
at System.Runtime.Serialization.Formatters.Soap.ObjectReader.ParseObjectEnd(ParseRecord pr)
at System.Runtime.Serialization.Formatters.Soap.ObjectReader.Parse(ParseRecord pr)
at System.Runtime.Serialization.Formatters.Soap.SoapHandler.EndElement(String prefix, String name, String urn)
at System.Runtime.Serialization.Formatters.Soap.SoapParser.ParseXml()
at System.Runtime.Serialization.Formatters.Soap.SoapParser.Run()
at System.Runtime.Serialization.Formatters.Soap.ObjectReader.Deserialize(HeaderHandler handler, ISerParser serParser)
at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize(Stream serializationStream, HeaderHandler handler)
at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize(Stream serializationStream)
at DataServiceClasses.SortedListConverter.Convert(Byte[] s)
at ExecutionWindowControl.LoginDialog.Database_OnEnter(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnEnter(EventArgs e)
at System.Windows.Forms.Control.NotifyEnter()
at System.Windows.Forms.ContainerControl.UpdateFocusedControl()


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
ExecutionWindowApplication
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/ew/ExecutionWindowApplication.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
IMSPlugIn
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/ew/IMSPlugIn.DLL
----------------------------------------
ExecutionWindowControl
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/ew/ExecutionWindowControl.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
ToolkitAdapter
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/ew/ToolkitAdapter.DLL
----------------------------------------
DataServiceClasses
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/ew/DataServiceClasses.DLL
----------------------------------------
TPlanAdminTools
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/ew/TPlanAdminTools.DLL
----------------------------------------
TPlanLogonUI
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/ew/TPlanLogonUI.DLL
----------------------------------------
TPlanLogon
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/ew/TPlanLogon.DLL
----------------------------------------
TPlanPro
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/ew/TPlanPro.DLL
----------------------------------------
System.Web.Services
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
TPClient
Assembly Version: 5.1.0.708
Win32 Version: 5.1.0.708
CodeBase: file:///C:/Program%20Files/T-Plan/ew/TPClient.DLL
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.runtime.serialization.formatters.soap/1.0.5000.0__b03f5f7f11d50a3a/system.runtime.serialization.formatters.soap.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
cep5adpc
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.


cornelisp

Please help

Post by cornelisp » Wed Apr 06, 2005 8:26 am

Dear,
Clients still receive an 'unhandled exception'.

See above error message.
Please help.
We are trying for 2 months now, to get this remote execution console running !

rsz

Post by rsz » Wed Apr 06, 2005 11:07 am

Thanks for investigating this further and the extra information which I think now tells us what the issue is.

The REC installer installs the folder into wwwroot by default and is configured to run within the default web site. You can change this so that it runs in its own web site so long as the T-PlanService folder is a virtual folder within the web site. This is because the client forms the url http://[server name]/T-PlanService/Service1.asmx when communicating with the server. You can do this by moving T-PlanService folder into a new folder e.g., REC and mapping that to the web site. Ensure that T-PlanService folder has application name "T-PlanService" and has script execute permissions. To check that this is working, simply point your browser to http://[server name]/T-PlanService/service1.asmx. This should bring up a clean page showing the interface specification. You should not get anything back that shows up a 'server error'.

The other issue with client exceptions is most likely due to the fact that either the server or the client but not both have .NET 1.1 SP1 installed. Unfortunately there is an issue within the SOAP interface that is only resolved by bot client and server running exactly the same releases of .NET.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest