Hi ,
Thanks for reply,But how i give te access.I have all the information of
FTP and Control panel of my web space.Plese Guide me.I'll wait for your
reply.
--
Warm Regards:-
Gourav Vishnoi
+91-9871157845 begin_of_the_skype_highlighting
+91-9871157845 end_of_the_skype_highlighting (M)
On Fri, Aug 27, 2010 at 7:00 PM, Jamie Fraser <[email protected]>wrote:
> Do you get an exception? Does the ASPNET process have write access to
> the relevant directory?
>
> On Fri, Aug 27, 2010 at 11:54 AM, Gourav <[email protected]> wrote:
> > Hi All,
> > I am, facing one problem from last 3 days but i didn't get solution
> > of this so please anybody can help me.
> > Actually in my application user just fill all the details and attached
> > his Image and then all the details and his image goes to his email
> > id..iso for this i made a image save function which is below:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > public void imgsave()
> > {
> > upload_image = FileUpload1.PostedFile.FileName;
> > string strBaseLocation = Server.MapPath("~/userimage/");
> > if (FileUpload1.HasFile)
> > {
> > FileUpload1.SaveAs(strBaseLocation +
> > FileUpload1.FileName);
> > }
> >
> > else
> > {
> > Page.ClientScript.RegisterStartupScript(typeof(Page),
> > "alert", "<script language=JAVASCRIPT> alert('Try Again');</script>");
> > }
> > }
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >
> > Here a Folder userimage put into our Root of application this is
> > working fine in my localHost.But when i upload this to my server then
> > its not work i mean this userimage didn't find by this application..
> >
> > So please tell me where i am wrong....Pls my dear seniors help me.
> > I'll wait for reply.
>
--
Warm Regards:-
Gourav Vishnoi
+91-9871157845 (M)