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

Wednesday, December 6, 2017

Make meeting request within email Outlook


  1. Leave your email inside outlook. Dont pop out.
  2. Click Reply or Reply All
  3. Click Home button on menu bar
  4. In 3rd partition (Respond), click on Meeting which will turn that email into meeting email
HTH