Thursday, 24 May 2018

Just-in-time debugging, errors


Just-in-time debugging, errors
JIT

Click on start
Search for: visual studio installer
Click on Update
After installing all
Click on Modify
Select .Net Desktop Development
In the right side, check Just-in-time debugging

Error: provider: TCP Provider, error: 0 - The remote computer refused the network connection


Solution:
Go to this path: C:\Windows\SysWOW64
Open: SQLServerManager13
Click on : SQL Server Network Configuration
Expand above one
Select : Protocols for <server> (SQL Server Configuration Manager)
Enable all protocols

Click on: SQL Server Services

Restart all services

Wednesday, 2 May 2018

C# XML Parser

public XmlReader GetXMLReader(string xmlSource)
{
StringReader strReader = new StringReader(xmlSource);
XmlReaderSettings settings = new XmlReaderSettings();

settings.XmlResolver = new XmlUrlResolverWithCache();
//    settings.DtdProcessing = DtdProcessing.Parse;
    settings.DtdProcessing = DtdProcessing.Prohibit;
return XmlReader.Create(strReader, settings);
}

Aras Innovator Reporting services