Resolved: “Certificate chain is invalid” warning in Lync Server 2013...
You may run into these warning while installing Lync Server 2013: WARNING: The chain of the certificate “XYZ” is invalid. WARNING: “Request-CSCertificate” processing has completed with warnings. “1″...
View ArticleResolved: “Remote Debugging Monitor (MSVSMON.EXE)” error while running a...
After clicking “Run” button in Visual Studio to debug your .NET project, you may face this error: Error while trying to run project: Unable to start program ‘C:\Users\nedim\Documents\Visual Studio...
View ArticleHow to install Office Web Apps server?
We use Office Web Apps server to use browser-based versions of Office apps such as Word, Excel, PowerPoint in our on-premises environments. Some features of Exchange Server, SharePoint Server and Lync...
View ArticleResolved: Cygwin Java path issue on Moshell connection
After installing Cygwin and Moshell, you may run into this error message while trying to connect Moshell: Unable to execute /cygdrive/c/Progra~2/Java/j2re1.4.2_19/bin/java.exe : sh:...
View ArticleResolved: “CS0433: The type X exists in both A and B” error in Visual Studio...
You may run into this error after upgrading DevExpress version of your .NET project through DevExpress Project Converter: Server Error in ‘/’ Application. Compilation Error Description: An error...
View ArticleSolved: Keyboard won’t work after Windows resume from sleep
After Windows wake up from the sleep, your keyboard may become unresponsive. This issue is related to a device configuration. In order to solve it, follow the steps below: Go to “Start > Run”. Type...
View ArticleSolved: Unable to export ASPxGridView in UpdatePanel
If you want to export your ASPxGridView in UpdatePanel by using a DevExpress control, ASPxGrivViewExporter, you will need this trick. In order to perform the export, use the following code template....
View ArticleSolved: Permission issue on Google Drive: “There was a problem. You don’t...
I run into this message while I was trying to change filter settings on a Google Spreadsheet which is shared with me. There was a problem. You don’t have permission for this action Permission problem...
View ArticleSolved: .NET Excel Interops issue: “Microsoft Office Excel cannot access the...
I was trying to open an Excel file programmatically in my .NET web application. I used the code in one my previous posts. Unfortunately, I found myself struggling with this hair-pulling issue:...
View ArticleHow to export all comments from an Excel file to Word
Here is the VBA macro which export the comments in the activesheet to a newly created Word file: Sub extractComments() Dim xComment As Comment Dim wApp As Object On Error Resume Next Set wApp =...
View ArticleInfinite redirect loop to login page in ASP.NET
When you try to view your webpage, you may run into this error: HTTP Error 404.15 – Not Found The request filtering module is configured to deny a request where the query string is too long. Cause This...
View ArticleHow to access code-behind variables from the controls that have “runat=server”?
Let’s say you have the control below in your ASP.NET page. This is a Telerik control which shows a fancy tile with a text and image. <telerik:RadImageTile runat="server" ImageHeight="150px"...
View ArticleWays to get Active Directory logon name in ASP.NET page
I’ve recently spent some time to find a best way to get visitors’ Active Directory name in my ASP.NET page. You’ll find a list of techniques. Note: Some of them may require cookies to be enabled or...
View ArticleSQL Server database size estimator
A pretty cool tool by Matthew Randle to get an estimation for your SQL Server database size. It’s very useful especially if you’re designing server/storage infrastructure in a new project. Note: Since...
View ArticleHow to push your clients to render your website in a specific version of...
You might have a website which was developed many years ago while current Internet Explorer versions were not on the market. Let’s say it works on IE 9. However, when you browse it on IE 11, it has...
View ArticleResolved: “Project not selected to build for this solution configuration”
When you compile your Visual Studio solution, you may run into this error: Project not selected to build for this solution configuration Solution This problem occurs especially when you convert your...
View ArticleHow to use transactions in .NET
This is a very high level example of using transactions with ADO.NET objects in C#. Please refer the inline comments for instructions. private void TransactionExample () { SqlTransaction transaction =...
View ArticleSolved: “Failed to decrypt using provider ‘RsaProtectedConfiguration...
You may get this error when you visit your ASP.NET webpage: Parser Error Message: Failed to decrypt using provider ‘RsaProtected ConfigurationProvider’. Error message from the provider: The RSA key...
View ArticleHow to count files in a folder with multiple subfolders in it
Imagine you have a folder that consists of hundreds of subfolders which have tousands of files in them. What would you do if you need to count have files you have in total? Resolution Simply create a...
View ArticleSolved: “XSLT compile error. ‘wsp’ is an undeclared prefix.”
If you upgrade an XSLT file to a newer version manually (by changing meta tags), you may run into these error messages when you try to open corresponding XML file: XSLT compile error ‘wsp’ is an...
View Article