Thursday, September 20, 2018

How to get out of ~ (END) displayed in terminal window?

Press q in the window to be out.

HTH

Monday, September 17, 2018

Monday, September 3, 2018

Preview pane gmail (new version)

If you are like me who cannot find "Labs" in the settings, forget it because it is not there.

To enable outlook like reading pane feature,

  1. Click on gear icon on top right corner.
  2. Click on Settings
  3. Choose Advanced Tab (3rd from right as of today)
  4. Enable Preview option
  5. Save Changes.

HTH


Saturday, July 21, 2018

Diagnose 500 Internal Server Error


Please follow following to view error on browser:

IIS > Click into your Site
> Click into your Application folder
> Error Pages
> Edit Feature Settings
> set to: Detailed Errors
> Hit Apply on top right side

2. 
 

3. 


NOTE: Never set TRUE "Enable Server-side Debugging" on production server.

On Internet Explorer, turned off Show friendly HTTP error messages in the Advanced settings.

Friday, July 20, 2018

Print on both sides of paper

If you do not see a double-sided option, it's possible that feature isn't turned on.

  1. 1. Choose Start > Devices and Printers (Windows 7).
  2. 2. Right-click your printer and choose Printing Preferences.
  3. 3. Click Advanced.
  4. 4. Expand Document Options > Printer Features.
  5. 5. Select the desired options and then choose On from the pop-up menu. If you don't find duplex printing and stapling in the options, then your selected printer doesn’t support those features.
  6. 6. Click OK, and then click OK again to exit the dialog box.
  7. HTH

Friday, June 22, 2018

dataset to xml encoding = "UTF-8"

Hi,

While writing dataset to generate XML file with encoding UTF-8, it will not work if you directly use following line of code:

xmlDS.WriteXml(fileName)

It need little more work:

Public Sub WriteXml(ByVal ds As DataSet, ByVal fileName As String, ByVal encoding As Encoding)
    Using writer = XmlWriter.Create(fileName, New XmlWriterSettings With {
        .Encoding = encoding,
        .Indent = True
    })
        ds.WriteXml(writer)
    End Using
End Sub


HTH

Thursday, June 7, 2018

iTunes could not connect to this iPad. An unknown error occurred (0xE8000015)


This error means that iPad is currently disabled and the only option is to restore it.

You cannot update, only restore.

Here are the steps:
  1. Disconnect your device if connected to iTunes
  2. Make sure you have most recent version of iTunes installed.
  3. Get your device in recovery mode
  4. Hold power and home button together until device in recovery mode until you see "connect to iTunes" message on screen
  5. Plug your device with USB to iTunes
  6. iTunes will give you message to update or restore
  7. Click restore.



HTH

Tuesday, May 15, 2018

'respond' is not a valid script name. The name must end in '.js'

Please add following 2 lines in Global.asax.vb file:

RouteConfig.RegisterRoutes(RouteTable.Routes)
BundleConfig.RegisterBundles(BundleTable.Bundles)

Thursday, April 12, 2018

PDF reports were very slow on our Application Server


Change to “Adjust for best performance” did the trick.




















HTH

Membership credential verification failed.

I was also getting following and every solution on google says that application name is not matching vs what's in database. It was in IIS 7+

Event code: 4006
Event message: Membership credential verification failed.

In my case, applicationname was right.
My problem was that the page name wasn't being mentioned on browser on postback.

I had some href tags on page and I had to append page name to make it work.

Bad URL   : http://mypage/site/?querystring=a
Good URL: http://mypage/site/default.aspx?querystring=a

HTH

Saturday, January 13, 2018

Keyword not supported: 'trusted_connections'.

If you get above error:

Data Source=myServer;Initial Catalog=test;Trusted_Connections=true;

Please change connectionstring to:

Data Source=myServer;Initial Catalog=test;Trusted_Connection=true;

HTH