Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8544569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:35:31+00:00 2026-06-11T12:35:31+00:00

I am publish the web application in intranet in my office using IIS 7.5.

  • 0

I am publish the web application in intranet in my office using IIS 7.5. I used ‘Async File Upload’ control in a form. After the ‘User’ upload a image, the success message is show and the path also stored in the database & the ‘image’ is attached and send to the ‘admin’ by email as per my C# code. All are working fine but the image not seen anywhere in my system !!! I checked in my project folder and also checked the path of the project folder ‘C:\inetpub\wwwroot\contractor\Upload\Commerical certificates’. Any one please help me to get the image in my system. (the image is available when i use the application in my standlone system).

    protected void AFUCmpCertificate_UploadedComplete(
                object sender, AjaxControlToolkit.AsyncFileUploadEventArgs e)
   {
    try
    {
     if (AFU1.HasFile)
    {
      String fileExt = System.IO.Path.GetExtension(AFU1.FileName);
      if (fileExt == ".pdf" || fileExt == ".jpg" || fileExt == ".gif" 
      || fileExt == ".bmp" || fileExt == ".jpeg" || fileExt == ".png" || fileExt == ".tif")
     {
      if (AFU1.PostedFile.ContentLength < 2048000)
      {
       string filename = System.IO.Path.GetFileName(AFU1.FileName);
       AFU1.SaveAs(Server.MapPath("~/Upload/Commerical Certificates/") 
                      + lblBasicVendorID.Text + filename);
       lblCommStatus.Text = "File uploaded";
      }
      else
      {
       lblCommStatus.Text = "The file type not accepted or more than 2MB";
      }
    }
   }
   }
   catch (Exception ex)
   {
     lblCommStatus.Text = "The file could not be upload.";
   }
   }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T12:35:32+00:00Added an answer on June 11, 2026 at 12:35 pm

    I am new to IIS so I don’t create the “Virtual Directory” for my website which is under “Sites”. I right click my sitename and give “Alias” name, Physical path as “D:\Upload” to store the upload images by the End user in the web site.Now i know where the upload images are.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I publish my web application using msbuild by calling following command: msbuild myweb.csproj /T:Package
I'm using the Publish Web action to deploy my web application. Is there a
Has anyone had success making an msbuild file that will publish a Web Application,
I am using Visual Studio 2008 and trying to publish a Web Application Project,
One of our developers is unable to publish a web application via the File
Given a Java web application using CometD, how can I publish a message to
We had a Web Application working on an intranet and I'm trying to publish
When using the built-in Publish feature of Visual Studio 2010 with a web application
I am trying to publish an Asp.net MVC web application locally using the NAnt
The article here :: http://www.microsoft.com/web/post/how-to-publish-a-web-application-using-webmatrix states that to publish via FTP I must enter

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.