Category Archives: Uncategorized

I’ve tested this on Windows 8 Pro x64 only (I’ve not tested this on x86 versions of Windows 8). Please make sure to backup the registry key we are going to modify in the instructions below before modifying it. 1.    You company will give you a URL where you can install the Cisco AnyConnect VPN Client from… In Windows 8 you might get “Page cannot be displayed” if you try to load the website via Internet Explorer 10. To properly install it successfully, useFirefox (IE will not work, not sure about Chrome) 2.    Edit your registry by pressing Windows Key + R 3.    Type RegEdit then press Enter 4.    Find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpnva 5.    Double click on the DisplayName 6.    Delete everything before “Cisco AnyConnect VPN Virtual Miniport Adapter for Windows x64” and save the DisplayName value 7.    Test your VPN client and now you will no longer get a VPN driver error…

Read more

You can’t change the CD Key of Windows 8 Enterprise by going to the System screen. To change Enterprise to Pro, you need the Windows 8 retail CD along with your windows 8 Pro CD KEY. Popin the CD in your computer and reinstall windows however, when prompted what you want to do with your apps, files, and settings make sure you select the KEEP Settings, Apps, and Files!! It should be the default selected checkbox but make sure just in case. Hope this helps other folks out there.

If you experiencing error “Could not load file or assembly ReportingServicesNativeClient” when you try to access Report Manager and/or Report Server in your SQL Server 2005 Reporting Services deployment, it’s most likely due to the fact that your Application Pool is configured incorrectly. More than likely you recently executed “cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1” for some other project which ended up affecting SSRS without you even knowing it.   Here’s how I fixed this issue in my SSRS environment (please make sure to test this solution in your test environment before trying it on your production environment): 1.   Open IIS Manager 7+ 2.   Click Application Pools 3.   Select “ReportServer” from the list of app pools then click Advanced Settings 4.   Under the General section find the property named Enabled 32-Bit Applications and set that to False 5.   Register x64 version of ASP.NET – C:\Windows\Microsoft.NET\Framework64\v2.0.50727>aspnet_regiis.exe -i 6.   Restart IIS 7.   Test…

Read more

  By default, the RosettaNet Accelerator in BizTalk Server 2009 does not support sending Client Certificates via BATRNApp/RNIFSend.aspx. To achieve this functionality, you need to download the Elemica Connectivity Pack from MSDN. The Elemica Connectivity Pack contains a modified version of the Microsoft.Solutions.BTARN.RNIFSend.dll which can be tweaked to send your Client Certificate. You can download the Elemica Connectivity Pack from MSDN at: http://go.microsoft.com/fwlink/?LinkId=46195 How to customize our new Microsoft.Solutions.BTARN.RNIFSend.dll 1.       Run the BTARN30 Elemica Connectivity Packe.exe to extract the files. 2.       Next, Open the RNIFSend project 3.       Sign the project with a Strong Name (if you don’t know how to do this, check this article out http://msdn.microsoft.com/en-us/library/xc31ft41.aspx) 4.       Build the project (make sure the configuration is set to Release) 5.       Open IIS, expand websites and find the BTARNApp virtual directory… 6.       Right click it then click Explore to open the physical folder in Windows Explorer (by default it is located…

Read more

Are you sick and tired of getting that annoying debugger break in Visual Studio caused by the addeventlistener Null Object Reference exception!? Well, after tons of googling I still couldn’t find the resolution. What I noticed is that after doing Windows Updates sometimes after the PC restarts the error would stop (for a short time). For me the error was occurring on Internet Explorer 9 but it’s possible that you may experience the same symptoms on prior version of the IE. Resolution 1.       Open Internet Explorer 9 2.       Click the Tools menu (if you don’t see it, don’t worry, just hit the ALT key on your keyboard and it will appear) then click Manage add-ons 3.       In the list of addons on the right pane, click on any add-on then press CTRL+A (this will select all your add-ons… also you may want to take a screenshot or write down which…

Read more

In SQL Server 2008/2012 the default table designer behavior is to disallow you from saving changes to table that require the designer to delete and recreate your table. In SQL Server 2005 SSMS the default setting allowed you to save your change by acknowledging a message prompted. If you’d like SSMS 2008 or 2012 to behave the same way your SSMS 2005 did, just follow these simple steps: 1.    Open SQL Management Studio 2.    Click menu Tools > Options 3.    In the Options window click Designers 4.    On the right pane, uncheck the checkbox that says Prevent saving changes that require table re-creation 5.    Click the OK button You should be all set at this point. Test it out by opening the table designer, making your changes, and saving them.  

So I’ve installed SQL Server 2012 on my Windows 7 machine and have encountered an unexpected issue that drove me absolute bonkers. I make extensive use of keyboard shortcuts for comments code, showing/hiding results panes, auto formatting code, etc… In the new SQL Management Studio much to my surprise, the good old fashion CRTL+R shortcut to toggle the results pane did not work. My first instinct was to try different combinations of shortcuts like CRTL+R+R or CRTL+D+R etc… Nothing worked. So I did some googling and found the following MS article http://msdn.microsoft.com/en-us/library/ms174205.aspx which states that the Ctrl+R shortcut is suppose to work. Luckly, after some more searching I stumbled upon this MSDN blog http://blogs.msdn.com/b/managingsql/archive/2011/07/13/enhanced-keyboard-shortcuts-in-ssms-in-denali.aspx which helped me figure out how to fix it. What I learned is that SSMS 2012 ships with two different keyboard schemes “Default” and “Visual Studio 2010 Compatible”. Even though mine was set to Default, my…

Read more

Create a new Windows Application project in Visual Studio .NET. Open the Form Designer and add the following controls: 1. Button a. Name: btnTestRegEx b. Text: Test RegEx 2. TextBox a. Name: tbxRegEx b. Dock: Left c. MultiLine: True d. Text: Site Name:(?’SiteName’.*)Site Address:(?’SiteAddress’.*)Site Contact:(?’SiteContact’.*) 3. TextBox a. Name: tbxInput b. Dock: Left c. MultiLine: True d. Text: Site Name: www.NunoSolutions.com Site Address: 100 Main Street MyCity, NJ 012345-1234 Site Contact: Nuno F. Pereira 4. TextBox a. Name: tbxSiteName b. MultiLine: False c. Text: Site Name 5. TextBox a. Name: tbxSiteAddress b. MultiLine: False c. Text: Site Address 6. TextBox a. Name: tbxSiteContact b. MultiLine: False c. Text: Site Contact You want to make sure your form design view looks something like the following: Next, double click on the Test RegEx button to hook the Click event. You should now be in the code view for your form and VS.Net…

Read more

In order for this to work you’ll need to install the URL Rewrite module on your machine first. Just know that after installing the module on your machine might force you to restart IIS and/or the machine itself. Add the following to your web.config: <system.webServer>   …   <rewrite>     <rules>       <clear />       <rule name=“Redirect to https“ stopProcessing=“true“>         <match url=“(.*)“ />         <conditions>           <add input=“{HTTPS}“ pattern=“off“ ignoreCase=“true“ />         </conditions>         <action type=“Redirect“ url=“https://{HTTP_HOST}{REQUEST_URI}“ redirectType=“Permanent“ />       </rule>     </rules>   </rewrite>   … </system.webServer>  

Grant Default AppPool identity NTFS permissions 1. Right click the directory you want to grant modfiy permissions to then click Properties 2. Click the Edit button 3. Click Add button 4. Click the Locations button and select the computer name (should be the first node in the treeview) then click OK 5. Enter “IIS AppPool\DefaultAppPool” in the Select User or Groups textbox then click Check Names 6. The value should automatically change to DefaultAppPool  

20/30