Skip to main content

Posts

Showing posts with the label IIS

Http 500.50 URL Rewrite Error

Symptoms: HTTP Error 500.50 - URL Rewrite Module Error. Error Information Module- RewriteModule Images are broken and not displayed in wordpress, Images are displayed when you edit them,Wordpress Images Broken, Wordpress Images Upload Issue This post if for the people who are searching all the pages over internet for " HTTP Error 500.50 - URL Rewrite Module Error". You might be searching for the pages which will give you solution to install/uninstall the url rewrite module.When you are running Wordpress on Windows server 2008 these types of error pops up.  So I scratched my head and started searching and found out one website which is useful in this type of error. Then I filtered everything and prepared a process for this.This will reduce your turn around time. Step-1: Open PHP.ini and search for  "upload_tmp_dir" and change the value to windows temp directory "C:\Windows\Temp" Step-2: Right click On the Windows/Temp folder and assi...

not able to open microsoft website/microsoft website blocked/Microsoft website not opening

Not able to access any antivirus websites or even microsoft website, Most of the people have problem in opening the website of microsoft or any other antivirus vendors website. Generally people think that this is a virus attack or a  misconfiguration in browser/System which block the Microsoft website I will suggest a simple workaround for this, I have tried this in windows XP not sure about other operating systems, Please check it and let me know Click on Start >> Administrative tools>>Services Select services from the listing      Select DNS client service, If it is started Right Click on it and select Stop. To Stop the Service. Next open a browser and type http://www.microsoft.com This will open the open microsoft website. Note: this is just a work around.Please scan your system for virus or any other threats. This blog is not responsible for any effects after the steps, Please do it at your own risk.

Generate PDF in dotnet

The best way to generate a pdf in .net is by using iTextsharp(very good library). With less stress in mind and without using any costly third party tool. Add reference top itextsharp dll in your project Add These two line using iTextSharp.text; using iTextSharp.text.pdf; Then in any event you can write these lines, I have written it in page load. protected void Page_Load(object sender, EventArgs e) { Document doc = new Document(); PdfWriter.GetInstance(doc, Response.OutputStream); doc.Open(); doc.Add(new Paragraph("This an ITextsharp generated PDF")); doc.Close(); Response.ContentType = "application/pdf"; Response.AddHeader("content-disposition", "attachment; filename=Sample.pdf"); Response.End(); } } Further tutorials can be found in http://itextsharp.sourceforge.net/

machine to machine

Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.