Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Peter Bear on Wed 20/07/2011 12:00:11

Title: [SOLVED] Unexpected error: access path to " ... exe" refused
Post by: Peter Bear on Wed 20/07/2011 12:00:11
Hello

while trying to launch the game project trough AGS ( which I updated to the last version )
I keep receiving an error message : unexpected Error :
( translated from french : access to path "c:/documents and setting .... / compiled/mygame.exe" , access denied

I can't run the game, with or without the debugger, can't create the EXEs ( same error comes with winsetup.exe )
I tryied to move my working game folder to another one, same error.

Disabled the antivirus ( comodo ) , nothing better ...
I don't know what is going on, the only thing I did is to update the AGS editor.
The game files are sync from my different machines with dropbox... ( but I deactivate it when I work on the game project to fasten the whole thing and avoid issues ...)

Maybe can someone help me ???

Thank you
Title: Re: Unexpected error: access path to " ... exe" refused
Post by: Peter Bear on Wed 20/07/2011 12:51:17
I am using windows XP SP3.
For the record.

I installed another XP distro under linux & VirtualBOX, I dont have any error messages ...
Title: Re: Unexpected error: access path to " ... exe" refused
Post by: Wyz on Wed 20/07/2011 13:48:40
Try running the game as administrator (http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/windows_security_runas.mspx?mfr=true).
Title: Re: Unexpected error: access path to " ... exe" refused
Post by: Peter Bear on Wed 20/07/2011 15:55:14
This is not the issue, I am already administrator on my session.

+ When I double click on the generated exe, it launches ...
This is not working only INTO AGS Editor. ( and with this configuration, on another one, this is working fine, but slow ... as it is a virtualbox machine on the second hand )
Title: Re: Unexpected error: access path to " ... exe" refused
Post by: Wyz on Wed 20/07/2011 16:47:21
Oh right, I just remembered something. Does you AGS game name have special characters in it like accents?
Title: Re: Unexpected error: access path to " ... exe" refused
Post by: Peter Bear on Wed 20/07/2011 16:56:20
not at all, i tryied to move it to a directory without spaces in its name too ... unefficient
Title: Re: Unexpected error: access path to " ... exe" refused
Post by: Peter Bear on Thu 21/07/2011 18:00:54
Solvedf ! COMODO antivirus was blocking each .exe AGS made ...

Now this is working after deslecting "defense +" options.
Title: Re: [SOLVED] Unexpected error: access path to " ... exe" refused
Post by: monkey0506 on Fri 22/07/2011 11:12:27
Right, turning a portion of your antivirus software off simply because it thinks AGS is a virus (because it is embedding the engine EXE inside of your game EXE, which is typically suspicious behaviour for a program to do) is not really the best route for you to be taking here. What you should really be doing is adding an exception for the files, or if necessary your Compiled or entire project directory. I'm fairly certain that every antivirus program allows exceptions to its scanning rules.
Title: Re: [SOLVED] Unexpected error: access path to " ... exe" refused
Post by: Khris on Fri 22/07/2011 11:21:55
Avast. Free, no annoying messages, no false positives so far whatsoever.
Title: Re: [SOLVED] Unexpected error: access path to " ... exe" refused
Post by: Peter Bear on Fri 22/07/2011 11:36:27
I will search in the rules parameters ...

& I switched from avast to comodo ...  (  free too )
after trying some comparative scans ... Avast didnt recognize as many viruses as Comodo AV did ...

& I had the feeling that Comodo was lighter to load and work.
Title: Re: [SOLVED] Unexpected error: access path to " ... exe" refused
Post by: monkey0506 on Fri 22/07/2011 11:42:44
avast! didn't recognize as many viruses? So are you openly admitting to us that you have multiple viruses on your computer that you are aware of but have not taken steps to rid yourself of? Or do you mean that you have some sort of virus breeding ground on a separate non-web-connected computer which you use for this type of testing?

Unless you meant the latter, please stop using the internet immediately. Forever. :o

@Khris: +1'd on avast!.
Title: Re: [SOLVED] Unexpected error: access path to " ... exe" refused
Post by: Peter Bear on Fri 22/07/2011 12:14:07
lol !

Actually I figured that I had some viruses on my computer after installing Comodo ( by curiosity ) ... I had Avast before and they were already present without beeing discovered by Avast.

Actually, they looked to be harmless, because they never occured any data loss or anything before I erase them ...

After discovering this anyway, I formated my XP partition then reinstalled it all from scratch.

99% of the time I am under Ubuntu, so I dont care about viruses much ... But when it comes to gaming or game editing, I find windows is a little bit more confortable.

So I dont have any virus breeding machine anymore ! For now !! lol :)