I downloaded railsinstaller 2.1 on my PC. Every time I try to install it I get
Error 5: access denied.
Setup was unable to create directory "C:\Sites\todo"
Since it's giving me an access denied error, I should run the installer as administrator. Right? But I get the error either way.
That's very odd, right click the todo folder and select properties then click the security tab and verify that administrators have full control of that folder?
You could also try creating the folder first then running it, although it'll probably do the same when creating sub directories.
Related
I am trying installing Delphi 5 on my computer. As soon as the installation starts I get:
Error copying File
followed by:
Setup has detected a -113 error while attempting to copy files. This
indicates that setup could not find a file in the "RunImage" directory.
Now the setup file does includes "RunImage" directory. The File is located in the D drive on another computer which I have mapped to my computer as Drive Z and I am running it from the Mapped Drive Z.
I searched online for this Error. Some recommend that if I am installing from a network location then the location has to mapped to my computer as a Driver with a name to solve the issue. I did map the location but still getting the same error.
As J.. already suggested in his comment: Windows >= Vista automatically runs programs containing the string "setup" in the name in elevated mode. In that mode, you don't have the same mapped drives as in your normal user mode. So, the program starts (which is actually inconsistent with security model, because in elevated mode, the executable itself should not be available) and then cannot find any additional files because the drive mapping does not exist.
Solution: Copy the whole installation directory to a local drive. You can delete it after the installation has finished.
Note: While I think this will solve that particular problem, it does not mean, that the rest of the installation will work.
i had same problem and i solved it by this method:
After unpacking the archive(the delphi5 zip file that you downloaded), make the root directory with the command Subst X: "path to installer". Run the standard Borland installer, the Install.exe program, there.
Trying to install D6 in a W7/32 machine I run into issues:
- Error message on start when D6 tries to rename file in C:\Program Files.
That particular folder does not exist, and cannot be created,
due to a conflict with C:\Program.
I therefore attempted an install in the manually created C:\DELPHI6.
That seems to work.
Is this a good and correct way to install, or should I do it differently?
try create folder and chose directory to like draw this :
or try open setting option folder chose show hidden files
I'm new to MVC and on my first project, I stuck up in an access denied error.
I have an access denied error when I try to run the MVC application created by previous developer. It is my first day at work and - is kind of not cool. The error said "Antlr3.runtime access denied issue"
Any help will be appreciated.
Your account may not have permission on some directories. If you are working in a windows environment, try giving your account full access to the "Temporary Asp.Net files" which is under c:\windows\Microsoft.NET\Framework.
You need to also check in each version of the Framework folder for that temp asp.net files.
I got the same problem and I deleted the temp folder. After that I executed in admin mode in Powershell the command iisreset and now it works fine.
In the project installer i am creating a custom event log. But when my service starts my all logs are going to the "Application" instead of my cuustom log. Below is the code which i have added to installer.
// Create Event Source and Event Log
EventLogInstaller logInstaller = new EventLogInstaller();
logInstaller.Source = "MyServices";
logInstaller.Log = "MyService Events";
Installers.Add(logInstaller);
Furthurmore the name of service is MyService.exe.
When I uninstall and re-install the service, i installation fail with the following install log;
Running a transacted installation.
Beginning the Install phase of the installation. See the contents of
the log file for the D:\MyService\MyService\bin\Release\MyService.exe
assembly's progress. The file is located at
D:\MyService\MyService\bin\Release\MyService.InstallLog.
An exception occurred during the Install phase.
System.ArgumentException: Source MyServices already exists on the
local computer.
The Rollback phase of the installation is beginning. See the contents
of the log file for the
D:\MyService\MyService\bin\Release\MyService.exe assembly's progress.
The file is located at
D:\MyService\MyService\bin\Release\MyService.InstallLog.
The Rollback phase completed successfully.
The transacted install has completed.
And this is how i write log entry;
EventLog.WriteEntry("MyServices", logMessage, logType);
Can someone please help me what wrong i am doing.
I had a similar problem and solved it by:
Stop current service.
Close task manager, service manage tool and windows event viewer.
Use intallutil.exe /u to uninstall current service.
delete event log registry key of current service.(This is important!)
(\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\yourCurrentLogName)
You can find your current log and you can confirm your deletion under windows event viewer.
Use installutil.exe to install service again.
Restart Windows.(This is important, too!)
I'm not sure whether it is necessary or not. But I kept getting errors even I logged out.
Everything got fine since I restart windows.
(Maybe AWS cached something?)
Need to create a EventSource in this way:
if (!EventLog.SourceExists(source))
{
var eventSourceData = new EventSourceCreationData(source, logName);
EventLog.CreateEventSource(eventSourceData);
}
source - "MyServices"
logName - some of your program name.
Insert the data need in this way:
log = new EventLog();
log.Source = "MyServices";
log.WriteEntry(message, entryType);
I just recently updated to the new version of forge, did not change anything on my setting and when I went to build my app I got an error that said it could not find the file..
so I made the copy of aapt file and put it in a directory where trigger said it was looking (the docs said trigger.io should have moved this file for me already but Im guessing it did not)
After I moved this file and ran the build again it looked like it found the file but now I get [Error 5] Access is denied.
I have checked the permissions on the folder as I am the admin and I have full permissions and I have launched trigger as an administrator and still nothing.
Thanks.
So again from what I can tell this is a problem with the python script that calls aapt.
When you look at the script it points only to aapt, this means its looking for a directory and not the aapt.exe file itself so the first thing that happens is
1) forge says it cant find the aapt directory, this is why you are getting the error message "cant find aapt tool"
2) by adding the directory you would get the access denied because then the script is trying to run all these commands on just the directory (this was the problem I ran into), by making the change below you do not need to create a directory, just leave everything how it is but add the exe and it should work
After doing some testing I found that by adding .exe to the pythong script in android_tasks.py the build was able to run successfully
if you look on line 35 of android_tasks.py and change 'appt' to 'appt.exe' it should build for you
this is what it looks like for me
path.join(sdk, 'build-tools', '*','aapt.exe')
Hope this helps