windows-7

The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty

时间秒杀一切 提交于 2019-12-23 09:34:24
问题 So yesterday i installed PHP and MySQL on my development machine. Since then i get the following error when trying to run one of my .NET projects: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty. It references this line of the Machine.Config: <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral,

Visual Studio files association in Windows

只愿长相守 提交于 2019-12-23 09:33:12
问题 In Windows Explorer when I double-click on any Visual Studio file ( *.cs , *.csproj , etc.), it's opening an old version of VS instead of the latest one (VS 2017). And VS has associations with too many file types. How can I change the default Visual Studio (for all those files that VS can handle)? There is a similar old question about Visual Studio 2008 (Move file associations from Visual Studio 2005 to 2008) but the solution in there doesn't work anymore (there is no "Restore File

Goto was unexpected at this time batch windows 7 starter

落花浮王杯 提交于 2019-12-23 08:59:07
问题 This code is designed to resemble a simpler version of the Pokemon battle gameplay. I've only coded in the attacks. I've been testing thoroughly, and found that an error message (Goto was unexpected at this time) whenever the user confirmed their attack. WARNING!! Code is 96 lines long. At the end, I'll put the problem section, so you can skip this first huge chunk. @echo off Set H1=20 Set A1=8 Set D1=6 Set S1=5 Set H2=14 Set A2=5 Set D2=4 Set S2=8 :Begin CLS Echo Bulbasur Echo %H2%/14 /\

Windows 7 daylight savings bug?

帅比萌擦擦* 提交于 2019-12-23 08:46:50
问题 I am trying to determine exactly when a daylight savings transition occurs in a Perl script using Perl's localtime function and printing the time zone using strftime . The strange thing is this seems to work fine for this year and other more recent years, but if I try and go back to the year 2000 for example, Perl seems to think the transition occurs on the wrong day! According to Google, daylight savings started on April 2nd in the year 2000: ...but for some reason, the Perl code below seems

Ping request time out although web browser works on same computer

核能气质少年 提交于 2019-12-23 07:55:47
问题 I'm on the World Wide Web right now, as evidenced by posting on StackOverflow. However, if I try to ping stackoverflow.com from the command line, the ping times out. What do I need to do for ping to work? > ping stackoverflow.com Pinging stackoverflow.com [198.252.206.140] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 198.252.206.140: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Edit, try tracert > tracert

Windows 7 logon screensaver in Delphi

◇◆丶佛笑我妖孽 提交于 2019-12-23 07:01:27
问题 I'm having problems while using Delphi application as Windows 7 logon screensaver (for both 32-bit and 64-bit Windows). Even blank application (New Project without any extra code) throws an error. Delphi 7 application throws "The memory could not be read" error and Delphi 2010 application throws "The exception unknown software exception occurred in the application" and then "Runtime error 217". This error happens before any form initialization and before any initialization of exception

In Jenkins haedless browser :org.openqa.selenium.WebDriverException: Error communicating with the remote browser. It may have died

五迷三道 提交于 2019-12-23 05:49:16
问题 Hi I am executing scripts on Jenkins headless browser using Selenium web driver and Java. After two or three scripts run I am getting below error this problem I observer when I will run multiple scripts at one run but when I executed single script it will not through any error. Please help me out to solve this problem. Below is the error code. org.openqa.selenium.WebDriverException: Error communicating with the remote browser. It may have died. Build info: version: '2.51.0', revision:

Cygwin chmod 777 command made other users 'access denied' in Windows 7

南笙酒味 提交于 2019-12-23 05:22:19
问题 I am administrator of a Windows 7 system, created some spreadsheets (.CVS files) and changed the permission of those files by CHMOD 777 command (from CYGWIN console), so that other users can get full access to read and write. But, after the permission changed to (chmod 777), other users (non administrators) can't get access to those files, it errors 'access denied'. In the recent past, I did similar file permission change in Windows XP without any problem, why it is happening in Windows 7 ?

how to compile a windows 7 compatible binary on visusal studio 2015

江枫思渺然 提交于 2019-12-23 05:17:45
问题 I am using visual studio 2015 on windows 10. I want to compile a windows 7 compatible binary file. But there is no windows 7 option in the project properties. When I put the binary on windows 7, it told me "The procedure entry point CreateEventExA could not located in the dynamic link library api-ms-win-core-synch-l1-2-0.dll" 回答1: You need to install Visual C++ Redistributable for Visual Studio 2015 on the target machine. Here is the link: https://www.microsoft.com/en-us/download/details.aspx

How to add a form to Windows 7 taskbar?

允我心安 提交于 2019-12-23 04:53:23
问题 The Goal To add an input text box and a button to the Windows 7 task bar. Summary The application is a Windows Forms and it only has two controls. TextBox Button Whenever needed, this search field shall be used to open a directory on a network drive or the like. Given one inputs the subject of the search into the text box located in the task bar. When the search button is hit. Then a Windows Explorer window opens to the directory where the documents for this subject are located. That being