Category Archives: Uncategorized

How To Map A Domain To Tomcat’s Web Application

When you deployed your application in Tomcat server you can view your app by the link like: http://localhost:port/appName. You can mapping a domain to Tomcat’s web application to access your application according by your domain (ex: http://yourdomain.com) after you reference … Continue reading

Posted in Uncategorized | Leave a comment

Config dcomcnfg to download Excel file using Microsoft.Office.Interop.Excel library

When I used Microsoft.Office.Interop.Excel library to download excel file from website is hosted in IIS, I received error: “Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered”. This is … Continue reading

Posted in Uncategorized | Leave a comment

Error: The target “GatherAllFilesToPublish” does not exist in the project

When I publish web application project in vs 2012, i have received error: “The target “GatherAllFilesToPublish” does not exist in the project”. This is the solution to fix this bug: 1. Right click project and select Unload Project. 2. Right … Continue reading

Posted in Uncategorized | Leave a comment

WebAPI Save not working – 405 Method Not Allowed

I have a web api controller with a Save method. The method executes fine on my local machine running IIS Express (Windows 8) but as soon as I deployed it to the live IIS server (Windows Server 2008 R2) it … Continue reading

Posted in Uncategorized | 1 Comment

Exception message: Server cannot set status after HTTP headers have been sent. when generate pdf file in ASP.NET MVC3

I resolved this issue by changing my code as below: Add below code to the return statement of your action in the controller. return null; Happy Coding

Posted in Uncategorized | 1 Comment

WPF

Posted in Uncategorized | Leave a comment