SOS 4.2 Not working in Vista

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

WadeHatler
Posts: 7
Joined: Tue Nov 13, 2007 11:06 am

SOS 4.2 Not working in Vista

Post by WadeHatler » Tue Nov 13, 2007 11:23 am

When installing 4.2 on Vista Business RTM I immediately get an error:
Runtime Error!

Program: C:\Program Files\SourceOffSite\sos.exe


This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
Is this a known problem, and how can I fix it?

Wade Hatler

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Nov 13, 2007 1:34 pm

The SourceOffSite client should run on Vista Business.

At what point in the installation does it fail? Are you running the installer as administrator?
Linda Bauer
SourceGear
Technical Support Manager

WadeHatler
Posts: 7
Joined: Tue Nov 13, 2007 11:06 am

Post by WadeHatler » Fri Nov 16, 2007 6:23 pm

It's not during the installation. It installs fine, but won't run after it's installed. I'm installing 4.2 Professional.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Sun Nov 18, 2007 6:23 pm

When you say it won't run, what happens? -- it won't launch, or it crashes after launch? If it crashes, at what point does it crash
Linda Bauer
SourceGear
Technical Support Manager

WadeHatler
Posts: 7
Joined: Tue Nov 13, 2007 11:06 am

Post by WadeHatler » Mon Dec 03, 2007 11:32 am

Within about a second of the launch, I get a critical error dialog box with the error I put in the first post, and then it terminates.

I've attached a Dependency Walker Trace, which might illuminate things.
Attachments
SOSStartup.txt
Dependency Walker Trace
(164.41 KiB) Downloaded 1103 times

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Dec 03, 2007 11:57 am

Is this 64-bit or 32-bit Vista? We'll try to reproduce this.

Did you install SOS as Admin? It might install when you install as a regular user, but may not get access to modify the registry, etcc.

The following is a work-around used to launch the SOS installation files with elevated rights:

Code: Select all

From the Start menu, [All Programs] -> [Accessories]. 
Invoke the context menu on “Command Prompt.” 
Select “Run as administrator.” 
Continue through the User Account Control dialog. 
From the command line, start the SOS installation. For example: C:\> c:\dir_location\SOSClientProfessional_4.2.msi 
Linda Bauer
SourceGear
Technical Support Manager

TonyFrench
Posts: 1
Joined: Mon Dec 03, 2007 2:43 pm

Post by TonyFrench » Mon Dec 03, 2007 2:48 pm

I was able to get SOSCMD to work on VISTA. It has to run as Administrator.

In my world, SOSCMD is ran from an ANT script. I start the ANT script from a command line prompt. So, I created a shortcut that creates a console (cmd.exe). Right-click that shortcut and click Advanded, and select the option to always run as admin.

Your situation might be different, but in general, anytime that I run SOSCMD, I have to specify to run it as an administrator.

Linda is focusing on the install. I got it installed without issue, my problem was when I execute SOSCMD. But, its all fixed now.

Hope this helps.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Dec 03, 2007 3:29 pm

Glad you have found the solution, Tony.
Linda Bauer
SourceGear
Technical Support Manager

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Dec 03, 2007 3:51 pm

Wade -- the error in your log seems to point to a problem with DNS lookup.

How are you connecting to the SOS Server -- with the domain name or the IP address? If you're using the server name, try connecting with the IP address.
Linda Bauer
SourceGear
Technical Support Manager

WadeHatler
Posts: 7
Joined: Tue Nov 13, 2007 11:06 am

Post by WadeHatler » Tue Dec 04, 2007 10:11 am

I installed as administrator, and run as administrator all the time, but I tried running it as administrator anyway with the same results. It only takes about 1/2 second to fail.

I'm running 32 bit Vista Business. You can find the exact version and other info in the Dependency Walker trace attached earlier.

WadeHatler
Posts: 7
Joined: Tue Nov 13, 2007 11:06 am

Post by WadeHatler » Tue Dec 04, 2007 10:11 am

Oh, and I always connect through a Cisco VPN using the I/P.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue Dec 04, 2007 11:00 am

Wade, I'd like you try a test on a different server.

Start the SOS GUI client.
When prompted, log on to 65.161.114.10 port 8888
User : donald
Password : duck

If that fails, do another trace, and post the results.
Jeff Clausius
SourceGear

WadeHatler
Posts: 7
Joined: Tue Nov 13, 2007 11:06 am

Post by WadeHatler » Tue Dec 04, 2007 6:16 pm

It fails after less than a second. It never acutally gets around to asking for the I/P. Sorry I wasn't clear about that. I don't think I even have a server configured.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue Dec 04, 2007 8:42 pm

Hmmm... That is strange.

Can you execute any commands with the SourceOffSite Command Line Client?

Switching back to the original problem, according to your logs, the SOS GUI client is making Winsock calls. I'll have to double check, but I didn't think it made any calls to the network until it connected.
[EDIT: - I checked, the SOS GUI Client IS making a network call as soon as it is started. It will try to attempt to log onto the first SOS Server it connected to. I think you can remove this by making a change to the User's registry. ]


It sounds like there is some inconsistency in the installation. I don't think this will solve the problem, but I'd like to try again. Uninstall the SourceOffSite Client, make sure the directory where SOS was installed is gone, re-download the client from http://www.sourcegear.com/sos/downloads.html, and re-try the Windows based installation.

Another possibility is this could be related to the MFC libs and MS VC runtime. Do you happen to have Visual Studio w/ C++ installed on this system?
Last edited by jclausius on Wed Dec 05, 2007 12:09 pm, edited 1 time in total.
Jeff Clausius
SourceGear

pikmina
Posts: 10
Joined: Wed Dec 05, 2007 9:52 am

Post by pikmina » Wed Dec 05, 2007 9:58 am

Hi!!!

I have a similar problem.
I have installed on my toshiba notebook windows vista 32 business and all related updates :)
I have SOS 4.2 client, the server is installed on our customer, maybe I can ask the version.

One week ago, my SOS was working very well, but from a couple of days, I can connect on SOS server, do check-out and SOMETIMES check-in.
I can't do anything else. My work is stopped. I can't view differences, I can't get lastes version of files.

When I try to do some of this operations I wait .. and wait... and wait.. no ERROR, no MESSAGES, in the log window no information.
Some ideas?

Thank you for help, excuse me for my english, I don't speak very well :)

Post Reply