Having problem on remote retrieval and upload module for BLOB

hi, i am doing a project on allowing upload of images remotely from client to server through web application (BLOB). In my project, when i run my C# program on my visual studio 2005, it can able to upload my .jpg image from any location of my PC where i saved in and when i can able to reteive the image and display on my localhost webportal. Everything work fine, but when i save my program folder where i name it as “STCWebsite” into my IIS. When i create a new virtual directory… i run a remote on other PC(client). http://host IP_address/STCWebsite/login.aspx when i went to upload any new .jpg image contain inside the other PC(client)… it happen that it could not be able to find the “FILEPATH” of the image i wanted to upload on that client PC… so i am thinking is it the “mainpath” problem… here r the source problem i face… it only can read the directory i set eg. in my program i set the logofilepath to D:\STCwebsite\image\ when i as a client PC, i only can put my image to this same directory then i can able to upload it, and somemore, the image i upload on my client PC, the host must also have contain that picture already inside its PC… so thats the problem…so i am hoping if can able to access any .jpg image i upload on my client PC, can also accept to the database server and can retieve it on the display webpage… is like uploading new image on facebook or myspace… thank you//

here r my code for that particular upload source: see if theres any thing need to be changed?

[SIZE=2][/SIZE][SIZE=2][COLOR=#0000ff]protected[/COLOR][/SIZE][SIZE=2] [/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] BTNSave_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#008080]EventArgs[/COLOR][/SIZE][SIZE=2] e)
{
[/SIZE][SIZE=2][COLOR=#008000]// Set a specified View to display
[/COLOR][/SIZE][SIZE=2]MVEditCompanyDetails.SetActiveView(ViewConfirmCompanyDetails);
companyname = ([/SIZE][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][SIZE=2])Session[[/SIZE][SIZE=2][COLOR=#800000]“companyname”[/COLOR][/SIZE][SIZE=2]];
[/SIZE][SIZE=2][COLOR=#0000ff]if[/COLOR][/SIZE][SIZE=2] (FileUploadCompanyLogo1.HasFile)
{
[/SIZE][SIZE=2][COLOR=#008000]// IMPORTANT BROWSER Write the logo to the confirmation company logo image control
[/COLOR][/SIZE][SIZE=2][/SIZE][SIZE=2][COLOR=#008080]FileStream[/COLOR][/SIZE][SIZE=2] fsread = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] [/SIZE][SIZE=2][COLOR=#008080]FileStream[/COLOR][/SIZE][SIZE=2](FileUploadCompanyLogo1.PostedFile.FileName.ToString(), [/SIZE][SIZE=2][COLOR=#008080]FileMode[/COLOR][/SIZE][SIZE=2].Open, [/SIZE][SIZE=2][COLOR=#008080]FileAccess[/COLOR][/SIZE][SIZE=2].Read);
[/SIZE][SIZE=2][COLOR=#008080]FileStream[/COLOR][/SIZE][SIZE=2] fswrite = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] [/SIZE][SIZE=2][COLOR=#008080]FileStream[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#008080]ConfigurationManager[/COLOR][/SIZE][SIZE=2].AppSettings[[/SIZE][SIZE=2][COLOR=#800000]“LoginLogoPath”[/COLOR][/SIZE][SIZE=2]] + [/SIZE][SIZE=2][COLOR=#800000]“temp”[/COLOR][/SIZE][SIZE=2] + companyname + [/SIZE][SIZE=2][COLOR=#800000]".jpg"[/COLOR][/SIZE][SIZE=2], [/SIZE][SIZE=2][COLOR=#008080]FileMode[/COLOR][/SIZE][SIZE=2].Create);

[/SIZE][SIZE=2][COLOR=#008000]// Create the writer for data.
[/COLOR][/SIZE][SIZE=2][/SIZE][SIZE=2][COLOR=#008080]BinaryReader[/COLOR][/SIZE][SIZE=2] logoread = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] [/SIZE][SIZE=2][COLOR=#008080]BinaryReader[/COLOR][/SIZE]SIZE=2;
[/SIZE][SIZE=2][COLOR=#008080]BinaryWriter[/COLOR][/SIZE][SIZE=2] logowrite = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] [/SIZE][SIZE=2][COLOR=#008080]BinaryWriter[/COLOR][/SIZE]SIZE=2;

logowrite.Write(logoread.ReadBytes(FileUploadCompanyLogo1.PostedFile.ContentLength));
logoread.Close();
logowrite.Close();
fsread.Close();
fswrite.Close();
[/SIZE][SIZE=2][COLOR=#008000]// Reference IMGComLogo to the path of the image
[/COLOR][/SIZE][SIZE=2]IMGComLogo.ImageUrl = [/SIZE][SIZE=2][COLOR=#800000]"…/"[/COLOR][/SIZE][SIZE=2] + [/SIZE][SIZE=2][COLOR=#008080]ConfigurationManager[/COLOR][/SIZE][SIZE=2].AppSettings[[/SIZE][SIZE=2][COLOR=#800000]“ImageLoginLogoPath”[/COLOR][/SIZE][SIZE=2]] + [/SIZE][SIZE=2][COLOR=#800000]“temp”[/COLOR][/SIZE][SIZE=2] + companyname + [/SIZE][SIZE=2][COLOR=#800000]".jpg"[/COLOR][/SIZE][SIZE=2];
Session.Add([/SIZE][SIZE=2][COLOR=#800000]“mainpath”[/COLOR][/SIZE][SIZE=2], companyname + [/SIZE][SIZE=2][COLOR=#800000]".jpg"[/COLOR][/SIZE][SIZE=2]);
Session.Add([/SIZE][SIZE=2][COLOR=#800000]“path”[/COLOR][/SIZE][SIZE=2], [/SIZE][SIZE=2][COLOR=#800000]“temp”[/COLOR][/SIZE][SIZE=2] + companyname + [/SIZE][SIZE=2][COLOR=#800000]".jpg"[/COLOR][/SIZE][SIZE=2]);
}
[/SIZE][SIZE=2][COLOR=#0000ff]else
[/COLOR][/SIZE][SIZE=2]{
IMGComLogo.ImageUrl = IMGCompanyLogo.ImageUrl;
Session.Add([/SIZE][SIZE=2][COLOR=#800000]“path”[/COLOR][/SIZE][SIZE=2], companyname + [/SIZE][SIZE=2][COLOR=#800000]".jpg"[/COLOR][/SIZE][SIZE=2]);
}
Session.Add([/SIZE][SIZE=2][COLOR=#800000]“fileUpload”[/COLOR][/SIZE][SIZE=2], FileUploadCompanyLogo1);
LBLComName.Text = LBLCompanyName.Text;
LBLDescription.Text = TBDescription.Text;
LBLProducts.Text = TBProducts.Text;
LBLContactPerson.Text = TBContactPerson.Text;
LBLDesignation.Text = TBDesignation.Text;
LBLTelephone.Text = TBTelephone.Text;
LBLFax.Text = TBFax.Text;
LBLEmail.Text = TBEmail.Text;
LBLWebsite.Text = TBWebsite.Text;
}
[/SIZE]