FAQ Database Discussion Community


PostgreSQL error Fatal: role “username” does not exist

postgresql,windows-7,windows-7-x64,roles
I'm setting up my PostgreSQL 9.1 in windows. I can't do anything with PostgreSQL: can't createdb, can't createuser; all operations return the error message Fatal: role root does not exist root is my account name, which I created while installing Postgresql But I am able to connect using: username :...

Changing from 32 bit to 64 bit

c#,c++,visual-studio-2012,windows-7-x64
My solution in Visual Studio 2012 has three projects. A WinForms project and two VC++ projects (Libraries). Initially all the development was done on a Windows 7 Professional 32 Bit. But recently, my system was updated to Windows 7 Professional 64 Bit. My application builds and runs successfully with Active...

Django - Cannot find Directory 'mysite'

python,django,windows-7-x64
I am currently learning how to use Python/Django. I have successfully installed and setup Django. I am experiencing problems creating a project using the django-admin startproject mysite command. I have executed the command from command prompt using the path: C:\Python34\Scripts\django-admin startproject mysite I tried searching for it in the current...

Matlab 2014b and mex files, has anyone been able to use Visual Studio Express?

matlab,visual-studio,windows-7-x64,mex
I know that Visual Studio Pro will allow you to compile mex files for MATLAB 2014b. However I was wondering if anyone was able to use Visual Studio Express (which is free, as opposed to Pro which is not) to compile mex files? I tried the Windows SDK (recommended by...

Inserting lines of text between different lines of text

batch-file,cmd,insert,windows-7-x64
I want to insert lines of text between different lines of text, For example: I am Running on Windows 7 x64. I have a file called Lines2Insert.txt, this file contains thousands of lines of text that look like the following: WRAITH_CAPITALBATTLESHIP WRAITH_CAPITALCARRIER WRAITH_CAPITALCOLONY WRAITH_CAPITALSIEGE WRAITH_CAPITALSUPPORT WRAITH_CAPITALTRANSPORT WRAITH_CRUISERANTIMODULE I want to...

2 Servers & 1 Client (Mini home internet project)

networking,windows-server-2008,windows-7-x64
I have a school project I need to do but can't find any tutorials on how to do it. I've installed Win Server 2008 on VMWare Fusion 7 on my Macbook Pro. I also installed Windows 7 64bit on VMWare Fusion that will be the client. Now I need to...

How to make android NDK work in windows?

android-ndk,windows-7-x64
I have downloaded android-ndk-r10e & I have also setted path in environment variable as well as NDK path for eclipse. I was able to build and run HelloJni sample app from eclipse, but when I use console to build it says 'ndk' is not recognized as an internal or external...

Batch/CMD File Accept User Input for Timeout

windows,batch-file,cmd,windows-7-x64
I'm looking for a way to accept user input for timeout in a batch file. Basically, when the batch program starts, the user will have the option to input a timeout in minutes which will be calculated into seconds and passed as a variable until the next step proceeded. Unfortunately...

Change OS Language Silently (Windows 7)

powershell,batch-file,registry,windows-7-x64,regedit
I'm writing a script (powershell) for SQL Server 2014 Express Install. The problem is: I have to change the OS Language (Region and languages) to fr_FR (French from France) Silently. The current language is fr_CA (French from Canada). My question is: Can i change the language from intl.cpl (Region and...

Web Deploy 3.5 Install Error - #2738

wordpress,dll,vbscript,windows-7-x64,webmatrix
I'm attempting to create a custom WordPress theme using MS WebMatrix and am encountering the following error when trying to install the WP app: Error 2738: Could not access VBScript runtime for custom action This occurs when the download attempts to install Web Deploy 3.5. I'm currently running Windows 7...

boot2docker fails to start on windows 7

docker,windows-7-x64,boot2docker
I recently installed boot2docker on my windows 7 64bit machine with all dependencies (VirtualBox etc). However, when I executed it, it failed to start the docker server and preconfigured shell. From the cmd I could read the following exception: Failed to start machine "boot2docker-vm" ...

Java SE 6 and Java SE 8 JRE behave differently on Windows 7 (files permissions)

java,windows,java-8,file-permissions,windows-7-x64
I have a command line Java application which reads and writes files on Windows 7 x64 platform. Currently application runs with shipped IBM Java SE 6. Structure as follows: APP_ROOT some_folder jre bin lib myjarfile.jar appl_start.bat Now, I replaced the jre folder with unzipped JRE 8 package. And the application...

C# calling batch file failed to copy dll files to System32 folder

c#,batch-file,dll,windows-7-x64,system32
I have created a batch file that copies some dll files into System32 folder. I ran this batch from my program written in C# code: string path = @"ABC\install.bat"; ProcessStartInfo procStartInfo = new ProcessStartInfo() { UseShellExecute = true, CreateNoWindow = false, FileName = "\"" + path + "\"", //Arguments =...

Colour & Size Issue After STL image Import in Processing

image-processing,3d,processing,windows-7-x64,stl-format
I wrote a program in Processing, to import a STL file and then rotate in 3D according to requirement. But I am facing a problem that the import image is very colorful and small in size. it looks very different from original. Can you please help me to resolve this...

How can i import windows.media.capture in my WPF project?

c#,wpf,visual-studio-2013,windows-8.1,windows-7-x64
I am really confused about windows media capture namespace, I would like to import the namespace to develop camera function in windows 8.1. FYI, I developed using visual studio 2013 and windows 7 64 bit, i already tried to install windows 8 Software Development Kits also, but i still can't...

How Is the Default Max Permgen Size Defined:

java,java-7,windows-7-x64,eclipse-kepler,permgen
My understanding from what documentation I can find and StackOverflow questions I can find is that the default max permgen size is 64MB. I am running an application out of Eclipse Kepler x86, Windows 7 x64, Java 7 with no -XX:MaxPermSize flags set. The application maxes out at ~82 MB...

Find total number of files in a sub-folder in windows 7

windows,batch-file,cmd,windows-7-x64
I am trying to count the total number of jpeg files located in a folder. I tried the following: dir|find /e ".jpeg" But it returned the following error. FIND: Invalid switch I am using Windows-7 64 bit. Please help....

Cannot install MySQL 5.5 with django 1.8.2 on Windows 7 64bit

python,mysql,django,windows-7-x64
I had MySQL 5.5 installed as part of XAMPP stack on Win7 64bit. I am using python 3.4 and I want to try out Django. So I installed Django using pip from command line and it worked fine with the default sqlite3 db. To integrate MySQL, I see installed 'mysql-connector-python'...

Dependencies description of wxWidgets libraries

wxwidgets,codeblocks,windows-7-x64
I simply want to use wxRichTextCtrl, but I have dependencies, dependencies, dependencies... So, libwxmsw30u_richtext.a has this dependencies: libwxmsw30u_html.a, libwxbase30u_xml.a, libwxexpat.a and more more more. Is somewhere FAQ about such dependencies? Because I have one unsolved dependency on "wxToolbook, wxChoiceBook" by now, and I have no idea what library I miss....

How to load self-signed certificate into certificate store

openssl,certificate,windows-7-x64,crt
I want to load a self-signed certificate created by OpenSSL to the local windows cert storage. OpenSSL: 1.0.1l OS: Windows 7 N I created the certificate with the OpenSSL library and used the following commands: openssl genrsa -des3 -out mykey.key 2048 openssl req -new -key mykey.key -out mycert.crt Now i...

Why is SysWOW64 reported as System32?

.net,windows-services,64bit,windows-7-x64,syswow64
I am testing a Windows service. The service code fails when it tries to delete a read only file I created in %windir%\SysWOW64, but the exception that is logged is: Access to the path 'C:\Windows\system32\CanvasImages\62230.jpg' is denied. I know 64 bit Windows has a whole lot of tricks up its...

C++ Builder XE7 LME288 Error

linker-error,windows-7-x64,c++builder-xe7
Suddenly, out of the blue, I get the LME288 linker error. [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM/Win32/Debug/TFGameManager.ilc: 0x00010000 / 0x08000000 [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM/Win32/Debug/TFGameManager.ild: 0x00010000 / 0x08000000 [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM/Win32/Debug/TFGameManager.ilf: 0x00010000 / 0x0a000000 [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM/Win32/Debug/TFGameManager.ils: 0x0003b000 /...

reading or open STL file on processing

processing,windows-7-x64,stl-format
I am using processing for Serial Communication and want to read/open the STL file in it, I have STL file in my Harddisk. Can you please guide me on How do I do fixed it?...

pandas .drop() memory error large file

python-2.7,csv,python-3.x,pandas,windows-7-x64
For reference, this is all on a Windows 7 x64 bit machine in PyCharm Educational Edition 1.0.1, with Python 3.4.2 and Pandas 0.16.1 I have an ~791MB .csv file with ~3.04 million rows x 24 columns. The file contains liquor sales data for the state of Iowa from January 2014...

Samba Share directory outside user directory

networking,windows-7-x64,ubuntu-14.04,samba
I set up a machine with Ubuntu 14.4.1 yesterday and I am trying to use it as remote storage for a project I am working on remotely with a few people. I know nothing about hosting servers, so I am attempting to avoid the issue entirely by just treating it...

Can I get correct DLL module list for tasklist /m when checking 32 bit program on a 64bit machine?

dll,cmd,command-prompt,windows-7-x64
Command tasklist on windows has really useful feature: it can list all dll modules for a process, or all processes. Command bellow will list all DLL files used by explorer.exe: tasklist /fi "ImageName eq explorer.exe" /m Looks like this (shortened, translated to english): Process name PID Modules ========================= ======== ============================================...

How to restart a process using a .bat file

batch-file,windows-7-x64
Every time I accidentally unplug my Logitech keyboard, the "LCore.exe" process does not respond. I have to manually end the process and start it again. I want to create a .bat file to do this for me, but I don't know how. I tried using this, but it doesn't seem...

Why are the UINTX_C() macros not properly defined in Windows stdint.h?

c++,macros,windows-7-x64,language-lawyer
In MVSC, when I #include <stdint.h>, I end up with the following definitions for the UINTX_C and INTX_C macros: #define INT8_C(x) (x) #define INT16_C(x) (x) #define INT32_C(x) ((x) + (INT32_MAX - INT32_MAX)) #define UINT8_C(x) (x) #define UINT16_C(x) (x) #define UINT32_C(x) ((x) + (UINT32_MAX - UINT32_MAX)) Clearly the 8 and 16-bit...

Getting R6034 error when starting Eclipse for Java EE Developers

eclipse,java-ee,jboss,windows-7-x64,eclipse-luna
I use Windows 7 64-bit, Java 8. I'm getting the following error: and the following screen is left behind after the process is manually terminated: I believe it started happening right after I installed a plugin from JBoss Tools - xulrunner.site - ­ Update Site that was supposed to help...