Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Client (Pre-7.2)
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Client (Pre-7.2) | New ThreadView:  Search:  
 Author  Thread: Redirector issues...
Jeff Ballard
Posts: 326
 
Redirector issues...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Mar 08 7:06 PM
I'm hoping someone has a good memory on SalesLogix 5.2. I know, I know, it's not supported. Upgrade, etc. Not an option right now, so please don't suggest it...

I am attempting to get the redirector working, but I constantly get this error:

Place URLs in the redirect.txt file and try again.0

I ran Processmon and it shows that it's trying to read this file:

C:\program files\interact commerce\saleslogix\web components\scripts\\Redirect.txt

Notice the two backslashes before the redirect.txt? That's not a typo - that's what processmon reports. That's got to be my problem. I've scoured the registry looking for somewhere where there is a URL that says "\scripts" and made sure it has no last "\". No dice (found one and removed it). I've checked my web site configuration - none of the web site or virtual directory paths end in a "\".

One thing I noticed - the web site creation wizard was putting double "\"'s in the path of the virtual directories. I removed them. I also have a manually created web site that has the same problem.

Anyone ever run into this or remember a defect around this? Anyone know of a workaround? Any suggestions on places to look for the offending "\"?

I am on windows 2003, which wasn't around when 5.2 was shipped. I might try a Win2K box and see if I can make things work there.

Thanks,

Jeff
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: Redirector issues...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 08 1:53 PM
I feel your pain. I had the "priveledge" of getting the web setup on 4.x era databases and there were a lot of hurdles to clear.

From the sound of it though, that extra \ isn't your problem. Windows doesn't have a problem with more than one \ I believe. Some programming languages prefer you use double slashes for some weird reason even. It looks to be a red herring.

Has the redirector ever worked on that box? If not I would try Win2K simply for the fact that it has different ntdll and wininet versions, which SalesLogix could be heavily tied to back then. Sorry I can't actually help but that's a part of my brain I've purposefully blocked. *shudders*
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Redirector issues...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 08 2:25 PM
Jeremy,

About 12:15 last night I got it running on a Win2K box (I would have posted then but was well past ready for bed).

The 2003 box it was running on is a VPC that I installed the OS on a few months ago - it had no SLX on it before that. This was an attempt on a vanilla 2003 system to test the redirector (well, actually, it was to test SSL on multiple ports with the redirector). The SSL works fine on more than one port, but when I threw in the redirector, I discoved it didn't work. I even tried the IIS 5.0 isolation mode to force it to use component services instead of app pools with no luck.

Then, on a whim, I tried it on a 2000 box and it worked just fine. The same line in the procmon file only had one "\", so I'm guessing it is handling it differently.

The problem with all this is that the customer is on 5.2. They have a LOT of customizations built over the last 7 or so years that hook into SLX in various ways. There are probably 50 sprocs used in the system, a few VB 6 components, a bunch of .NET 1.1 customizations (originally written in 1.1 beta days and still running), multiple instances of SalesLogix sites/databases (both internal and external), hooks to external systems, etc. They are running everything on Windows 2000 and now that it's well out of support they want to move to 2003, hence my testing.

At this point, I could probably write a .NET app (in 2.0, of course - lets add more stuff to the environment!) that would redirect just as easily. I mean really, all the slxwebutil.dll does is round robin users to ports - how hard can that be. Of course, getting the redirector working on 2003 would be my first choice.

Anyway, in Windows 2003, Process Monitor revealed it was trying to read:

C:\program files\interact commerce\saleslogix\web components\scripts\\Redirect.txt

and windows 2000 was trying to read:

C:\program files\interact commerce\saleslogix\web components\scripts\Redirect.txt

The result (according to process monitor) in 2003 was "NAME INVALID".

For now, we're evaluating what we can do. I think you may be right about just general incompatibility with the ntdll and wininet versions.

Thanks,

Jeff
[Reply][Quote]
Nicolas Galler
Posts: 93
 
Re: Redirector issues...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Mar 08 10:46 AM
This is my quick and dirty redirector, written in 10 minutes after spending 1 day trying to get the slx redirect to work (after which time it would still mysteriously fail to work once in a while, and it required an IISreset to re-read the configuration). Stick it in a .ASHX file, edit it, and point clients to it.

<%@ WebHandler Language="C#" Class="SlxRedirect" %>

using System;
using System.Web;

public class SlxRedirect : IHttpHandler {
private static readonly int[] REDIRECT_PORTS = new int[] { 1031, 1032, 1033, 1034, 1035, 1036, 1037 };
private const String REDIRECT_URL = "http://proslw115:{0}/Scripts/slxweb.dll/home";

public void ProcessRequest (HttpContext context) {
int port = REDIRECT_PORTS[new Random().Next(REDIRECT_PORTS.Length - 1)];
context.Response.Redirect(String.Format(REDIRECT_URL, port));
}

public bool IsReusable {
get {
return true;
}
}
}
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Redirector issues...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Mar 08 11:07 AM
Nicolas,

Thanks for that! I figured it wouldn't take long - my manager asked me how long and I said probably a couple of hours. Obviously not even that long!

Thanks,

Jeff
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 3:03:09 AM