How to fix the error “port is currently used by another application”

I bet you may have seen this error at least once If you are a web developer  🙂 Different error from different tools IIS manager gives ————————— Internet Information Services (IIS) Manager ————————— This Web site cannot be started. Another Web site may be using the same port. Apache gives Apache port:443 is being used…

1

When and how does asp.net runtime load dlls ?

Let’s look at when and how asp.net runtime loads a particular dll. Your asp.net code needs to load lot of dlls to run your application.When you run your asp.net application/website ,typically it will be under IISExpress (iisexpress.exe) or IIS(w3wp.exe). For a bare minimum asp.net application without any custom dlls created using a default VS template running…

0

Part 3-Suggestions on implementing large file upload in asp.net

This is continuation of blog posts part 1 and part 2 this post covers possible alternatives on implementing large file upload in asp.net using fileupload control SaveAs- internal implementation is explained part 2 property FileContent or PostedFile.InputStream. This again is using the HttpRawUploadedContent +temp file approach,but you can you get the content as a stream object,which you can…

0

Part 2- demystifying the file upload process in asp.net

This is a continuation of the blog post http://blogs.msdn.com/b/rohithrajan/archive/2013/01/22/large-file-uploads-in-asp-net-part-1.aspx The default option for uploading files in asp.net is using Fileupload controls SaveAs method http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.saveas.aspx when we use the FileUpload control’s save as method,it is internally using a class HttpRawUploadedContent .This is in turn using TempFile helper class .This class creates a temp file for posted data. This temp…

1

large file uploads in asp.net -part 1

Uploading large files in asp.net  requires a bit of configuration changes and met with certain challenges with different versions of asp.net(I would say asp.net 2.0 and below). In this blog post I am trying to address some issues covering the large file upload in asp.net on IIS6/IIS7.x . As the topic can get a bit complex (If…

0