Posts

Showing posts with the label OS

Donate

SQL Server : Login Success But “The database [dbName] is not accessible.” After Domain Migration Using New Domain User

Image
Recently, our systems administrator has just finished migrating our workstations from an old domain to a new domain. But this caused an issue wherein most of the databases are not accessible. I've done several workarounds from stackoverflow and non of them worked. The solution that worked is to add my new domain user to the databases using SQL Server Authentication (sa) and set my new domain user as dbOwner.

Visual Studio And WPF Menu Items Are Left Aligned Instead Of Right Aligned

Image
Hello, We noticed lately that our WPF Projects menu items and Visual Studio menu items are left aligned rather than right aligned. However, not all desktop were affected by this issue. Further research led me here Windows 10 Drop-Down Menus Are Aligned To The Left in which you have to execute a shell command shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E} via Windows + R command. This will open the Tablet PC Settings with Right-Handed radio button checked. Changing it to Left-Handed then Apply will change the menu items alignment to the right. Visual Studio Menu Items Are Now Right Aligned

Search Text In Files Using Utility Software Agent Ransack

Image
Hello, Just sharing a utility software that's something useful for searching text(s) from a number of files called Agent Ransack . This has been useful to me lately since I've been working on data formatting/cleanup projects that involves number of files. The tool is free and available for download from this site Agent Ransack . Sample Usage

Extend Primary Partition With Unallocated Disk Space In Windows 10 Using MiniTool Partition Wizard

Good evening team! While I was doing an inventory of my Dell laptop's disk space, I found out that it has an unallocated size of around 70 GB and my C:\ primary drive is running out of space. My goal is to extend the C:\ drive with the unallocated space so that I can install more softwares and similar applications. My journey started with the Disk Management to extend the primary drive. Unfortunately, the Extend Volume feature is disabled. I started looking for answers in forums and tried some recommended free partition software to solve my case. But still no luck. After several hours of research, I finally extended my primary drive using a partition tool called MiniTool Partition Wizard . The tutorial to add extend a primary partition using unallocated space is presented here How to Merge Unallocated Space in Windows 10 for a Large Partition . Look for Case 2: Add Unallocated Space to Partition Windows 10 for the specific steps. Cheers!

Microsoft Access - The 'Microsoft.ACE.OLEDB.12.0' Provider Is Not Registered On The Local Machine

Image
Hello, I was working on a project that reads an MS Access database using C# using OLEDB Provider. I already have downloaded and installed the Microsoft Access Database Engine 2010 Redistributable (AccessDatabaseEngine_X64.exe) from Microsoft since my OS is Windows 10 64bit. Upon running the project, I encountered the error as mentioned in the title of this post. I've tried several solutions and it didn't work for me. The only fix that worked is to change the Platform target of the project to "Any CPU" and unchecked the Prefer 32-bit checkbox . Cheers! :)

Check Email Exists In Active Directory Using C#

Good afternoon gents! Here's a method on checking if an email exists in an Active Directory Domain given the format of an email FirstName.LastName@yourcompanyname.com . If the format of your company email is different from the one presented, just change the logic of the code to extract the family name. /* Email Format: Gregory.Esguerra@abcbusiness.com */ private bool CheckIfEmailExistsInDomain ( string email) { string searchName = string .Empty; searchName = email.Substring(email.IndexOf( '.' ) + 1 , (email.IndexOf( '@' )- 1 ) - email.IndexOf( '.' )); using ( var context = new PrincipalContext(ContextType.Domain, "abcbusiness.corp" )) { using ( var searcher = new PrincipalSearcher( new UserPrincipal(context))) { PrincipalSearchResult<Principal> allPrincipal = searcher.FindAll(); List<Principal> principalObjects = allPrincipal.Where(t => t.Name.Contains(ToUpperFirstLetter(searchName))).ToList(); if

This version of Visual Studio requires the April 2014 update to Windows 8.1 (VS 2015)

Hello, Now that I've got the time to install Visual Studio 2015 Enterprise on my laptop with Windows 8.1 Operating System I decided to give it a go. That's when the moment I opened the installer file, an issue pops out of the screen with the description " This version of Visual Studio requires the April 2014 update to Windows 8.1 and Windows Server 2012 R2 known as KB2919355 ". The solution to this issue can easily be found at stackoverflow. But missing the links of the packages needed to resolve the problem. A step by step example is presented below. 1. Download update package 2919442 and install update to your pc. This is the pre-requisite update of package 2919355     x86     x64 2. Download update package 2919355 and install update to your pc.     x86     x64 3. After those updates have been installed, restart the computer for the updates to take effect. Cheers! :-)

Operating System Error 5(Access is denied.) "Cannot open backup device" in SQL Server

Image
Here's how I manage to solve the issue Cannot open backup device with status Operating system error 5(Access is denied.) Steps 1. Right Click the Folder which is the backup destination 2. Click Properties -> Security Tab -> Click Advanced Button 3. On Permissions Tab -> choose Add -> Select Principal 4. In the "Enter the object name to select", type " NT Service\MSSQLSERVER ". -> OK     Note: NT Service\MSSQLSERVER is the Log On As value of     MSSQLSERVER service under Services. See screenshot below 5. In Multiple Names Found choose MSSQLSERVER. 6. Click OK 7. In Basic permissions panel, Choose Full Control 8. Click Apply -> OK -> OK to close Folder Properties dialog box SQL Server Service

There is a duplicate scriptResourceHandler section defined (HTTP Error 500.19)

Image
Good evening! The solution I found so far for this issue "There is a duplicate scriptResourceHandler section defined (HTTP Error 500.19)" was to change the Application Pool of the website from DefaultAppPool to .NET v2.0. I also have tried with no luck other solutions based from stackoverflow. Issue Fix Details Operating System: Windows 8 IIS: Version 8 Default Site Framework: .NET 3.5 SP1 Reference: There is a duplicate scriptResourceHandler section defined

Visual Studio And .NET Framework - The installer was interrupted before Application could be installed

Image
I have an .msi file created using .NET Framework 3.5 SP1 in which it can't proceed to installation as stated by the title of this post. Since I'm running on IIS 8, there might be some issues communicating with IIS 6. Taken from the point that this application was packaged using Visual Studio 2008. The fix is to enable IIS Metabase and IIS 6 configuration compatibility through the Control Panel -> Turn Features On/Off. Details OS: Windows 8 IIS: 8 .NET Framework: 3.5 SPI Visual Studio: 2008

Run MSI file as Administrator in Windows 8

Hello, Right clicking an MSI file through Windows 8 and then "Run As Administrator" isn't supported. After doing some research, I found some steps to achieve it. See instructions below: 1. Start Button / key 2. Type in "cmd" without quotes and press Shift+Enter to open a command prompt as an administrator. 3. Type in the full path to the msi and press enter. Put the path inside quotes if it has any spaces like "C:\Users\username\My Documents\SoftwarePackage.msi" 4. Press enter and agree to execute the MSI See Reference here: Run an MSI file as Administrator

Add Connection On Data Source Controls Not Loading SQL Server 2012 Server Or Instance Name

Image
After installing SQL Server 2012 Developer Edition SP1 on my other laptop, I tried creating an ASP.NET app using SQL DataSource control as the datasource control of the GridView. But to no avail, the mssql server instance doesn't load on the server name dropdown contol as shown below: The hardware specifications are as follows: Windows 8 Pro, Visual Studio 2008/2010/2012 and SQL Server 2012 Developer Edition SP1. However, on my other laptop which has a Windows 8.1 OS, the server names were loaded on the Server Name dropdown control. After experimenting for a few hours, I discovered a simple solution which is to Turn Off The Windows Firewall . After that, my sql server instance is loaded on the control as shown below: Cheers!

'Microsoft.VisualStudio.Editor.Implementation.EditorPackage' package did not load correctly (Visual Studio 2012)

After installing updates for my Windows 8 laptop, I did a restart and opened a Visual Studio 2012 instance. Surprisingly, an error pops-up as stated by the title of this  Post. I did some search on Microsoft Knowledge Base and found a patch for it which is available for download. See the link below: Update for Microsoft Visual Studio 2012 (KB2781514) Greg

Visual Studio 2008 Failed Install On WIndows 8 Operating System

Solution: Turn on .NET Framework 3.5 which is built-in Windows 8. Make sure windows updates is turned on also. Cheers!

Change BIOS Boot Options For Acer Aspire V5-431P/471P

Image
Hello and Good afternoon! Here's a useful Acer Aspire V5-431P/471P Tip that is to Change BIOS Boot Options for Acer Aspire V5-431P/471P (I Series) 1. Restart/Shutdown the Laptop 2. Tap F2 key on startup 3. When BIOS interface appears, go to Boot Menu 4. Change Boot Mode to Legacy BIOS. 5. Restart Again the laptop and perform step 2. 6. Set the Boot Priority of Devices using F5/F6.

WPF Controls Not Rendering Properly Or Correctly On Windows 7 OS

The problem was that the windows 7 theme was changed to classic window . Turning it back to Windows 7 default view, solved it. Greg

How To Limit Or Reduce RAM Usage Of Mozilla Firefox Browser

Image
Hello, I noticed that Firefox takes a lot of RAM space on my workstation. After googling around, I found a solution on how to limit it's memory consumption. 1. Open Mozilla firefox 2. type about:config in the url/address bar 3. just click i'll be careful i promise 4. filter "browser.cache." 5. change browser.cache.disk.capacity from original value in my pc it's 1059997. I changed it to 30000 since my RAM space is 2GB. 6. Choose OK 7. Close and restart Mozilla firefox (I noticed the memory usage of firefox lowered to a significant level) Cheers! :=)

"Installation Incomplete - The installer was interrupted before could be installed. (Visual Studio Web Setup Project)

Hello! Recently, the ASP.NET Web Forms software i maintained crashed down and can't be opened by the browsers (IE,Firefox and chrome). I tried different kinds of solutions but they don't work. So,i tried the steps below to re-install the web setup package with the error provided as the title of the post. Culprit: virus attack[dangerous or high risk worm/trojan] Solution: 1. Repair windows xp sp2 (using installer cd) XP Repair Install Note: I performed only steps 1-6 2. After repairing, I uninstalled the IIS 3. Delete the current Inetpub folder in Drive C:\ [make sure to backup any files in the Inetpub folder] 4. Then restart PC after performing steps 2-3 5. Re-install IIS using windows xp sp2 cd 6. Register asp.net 2.0 from command prompt c:\windows\microsoft.net\framework\v2.0.50727>aspnet_regiis -i 7. Restart PC/Server 8. Continue Installing VS Web Setup Project Note: This may also apply to Windows 2003 server or new Windows OS.

How To Install IIS On Windows 7 Home Premium

Here's the link: Technet Link

How To Remove Autorun.inf Virus In USB 2.0 Flashdisk

I was bothered by this weird pop-up generated by avira antivirus regarding autorun.inf. After googling, the solution was to use cmd(previously DOS) command. del /a:rhs [driveletter] :autorun.inf Example: del /a:rhs F :autorun.inf (where F is my USB drive) Reference: http://inforids.com/remove-autoruninf-virus-completly-from-system-flash-drives/

Donate