Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

[Encountered a sharing violation] Error on install.

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Close Combat Series >> Close Combat - Cross of Iron >> Cross of Iron Support >> [Encountered a sharing violation] Error on install. Page: [1]
Login
Message << Older Topic   Newer Topic >>
[Encountered a sharing violation] Error on install. - 8/28/2016 5:41:20 PM   
Hicks233

 

Posts: 5
Joined: 8/28/2016
Status: offline
I'm getting an error message every time that I try that prevents installation from completing:

"Encountered a sharing violation while accessing G:\Games\Close Combat Cross of Iron\Close Combat III\CC3res.exe"

This is when installing from the "CC-CrossofIron-SetupRelease-v360.exe" installer that I got here after redeeming the serial code I have from the boxed edition of the game.

I've done a registry sweep for references to Cross of Iron, Matrix or CC3res.exe.

Temporary files have been removed and I have uninstalled and cleared references to the original CC3 release.

Still, every time I try to install CoI it brings up this error. What is CC3res.exe and why is it causing this problem?
Post #: 1
RE: [Encountered a sharing violation] Error on install. - 8/29/2016 6:21:52 PM   
PipFromSlitherine

 

Posts: 1446
Joined: 6/23/2010
Status: offline
It sounds like it could be a virus checker issue. Try disabling it for installation and see if that fixes the issue.

Cheers

Pip

_____________________________

follow me on Twitter here

(in reply to Hicks233)
Post #: 2
RE: [Encountered a sharing violation] Error on install. - 8/30/2016 5:31:23 PM   
Hicks233

 

Posts: 5
Joined: 8/28/2016
Status: offline
Firewall (Zonealarm) and anti-virus (Panda) are both disabled. Still doesn't work. What is CC3res? Is it a resolution fix for the game?

< Message edited by Hicks233 -- 8/30/2016 5:42:31 PM >

(in reply to PipFromSlitherine)
Post #: 3
RE: [Encountered a sharing violation] Error on install. - 9/7/2016 8:49:31 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
It is a resource file used by the game executable on startup. But if you are getting this error while installing the game, then some other software on your machine is accessing the file at install time. It is a conflict between the installer and something else, both trying to access the same file. 99% of the time this is an anti-virus program or disk management program. Close Combat itself is not even running at this point.

Windows might be keeping a virtual copy of the file from a previous installation -- this would be under the Windows 'AppData' directory which is hidden by default, so you'll need to change settings in the Windows file explorer to shown hidden files/folders to find it. Check for something like "C:\Users\<YourUserName>\AppData\Local\VirtualStore\Games\Close Combat Cross of Iron\". If this exists, delete the folder and everything under it.

Steve

(in reply to Hicks233)
Post #: 4
RE: [Encountered a sharing violation] Error on install. - 9/9/2016 8:08:24 PM   
Hicks233

 

Posts: 5
Joined: 8/28/2016
Status: offline
Thanks for the suggestions, no joy though.

Anti-virus and firewall are both disabled when trying to install and there are no signs of the listed files in the hidden AppData folders.

CC3 (original release) was uninstalled.

I'd done a registry sweep for references covering both the original release and entries for Matrix or Cross of Iron.

I've been able to install the game on an XP machine but it'd be nice to be able to install it on this main one.

If it helps there is a directory created with the CC3 files however you're unable to launch the game.

(in reply to SteveMcClaire)
Post #: 5
RE: [Encountered a sharing violation] Error on install. - 9/12/2016 5:03:31 PM   
PipFromSlitherine

 

Posts: 1446
Joined: 6/23/2010
Status: offline
When you get the sharing violation message, perhaps try this:

http://superuser.com/questions/117902/find-out-which-process-is-locking-a-file-or-folder-in-windows

To see what process has it open?

Cheers

Pip

_____________________________

follow me on Twitter here

(in reply to Hicks233)
Post #: 6
RE: [Encountered a sharing violation] Error on install. - 9/13/2016 2:28:06 PM   
Hicks233

 

Posts: 5
Joined: 8/28/2016
Status: offline
When searching for the executables there was no conflict showing, they didn't even show up at all.

The CCRsrc.dll when searched for however would cause the process viewer to crash.

The games data files are installed it would seem but when trying to run CC3.exe then the message "There is an error with your serial number as entered. Error code 100."

Running autorun.exe gives the message; "Error: Could not find data file."

There is a CC3res.exe file. Opening it does nothing though.

(in reply to PipFromSlitherine)
Post #: 7
RE: [Encountered a sharing violation] Error on install. - 9/14/2016 5:59:46 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
Hi Hicks233,

If you're getting error messages about your serial number then either the serial number you entered was incorrect, or some files are messed up or missing.

I would try installing to a different location (such as C:\program files\ which I believe is the default) just to see if this makes a difference. Also do you have administrator permissions on this machine?

Steve

(in reply to Hicks233)
Post #: 8
RE: [Encountered a sharing violation] Error on install. - 9/15/2016 1:38:12 AM   
Hicks233

 

Posts: 5
Joined: 8/28/2016
Status: offline
The serial number ought to be fine. I bought a boxed edition of the game around 2008 I think and redeemed that key to the online account. Downloaded the installer (CC-CrossofIron-SetupRelease-v360.exe) and it installed fine on an offline XP machine using the same serial number that was redeemed.

Win 7 machine; Admin privileges and installer "Ran as Admin", same serial number and no luck. Tried default directory, custom directory and still no dice.

It's also displaying the same error message regarding the serial however it lists it as "Error Code 200" now when trying the CC3 executable.

< Message edited by Hicks233 -- 9/15/2016 1:40:39 AM >

(in reply to SteveMcClaire)
Post #: 9
RE: [Encountered a sharing violation] Error on install. - 9/15/2016 6:49:07 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
Hi Hicks233,

Those error codes are from the Matrix layer of things, so I'm not sure what the difference is between 100 and 200. You can submit a support question here and ask: http://www.matrixgames.com/support/

Also, checking the Matrix support site, there are some additional steps they recommend that might help: http://www.matrixgames.com/support/faq.asp?id=2

One other suggestion I found while searching for info on the errors was to be make sure you're entering the dashes in the serial number (####-####-...etc)

Steve

Steve

(in reply to Hicks233)
Post #: 10
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Close Combat Series >> Close Combat - Cross of Iron >> Cross of Iron Support >> [Encountered a sharing violation] Error on install. Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.844