Click here to Skip to main content
15,886,810 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Generalasp.net is not redirecting a page to proper login.aspx page for authentication. Pin
coolsatty28-Mar-08 5:01
coolsatty28-Mar-08 5:01 
GeneralRe: asp.net is not redirecting a page to proper login.aspx page for authentication. Pin
eyeseetee28-Mar-08 5:09
eyeseetee28-Mar-08 5:09 
GeneralRe: asp.net is not redirecting a page to proper login.aspx page for authentication. Pin
coolsatty29-Mar-08 5:15
coolsatty29-Mar-08 5:15 
GeneralRe: asp.net is not redirecting a page to proper login.aspx page for authentication. Pin
Jesse Squire28-Mar-08 5:11
Jesse Squire28-Mar-08 5:11 
GeneralRe: asp.net is not redirecting a page to proper login.aspx page for authentication. Pin
farazsk1129-Mar-08 2:31
farazsk1129-Mar-08 2:31 
GeneralRe: asp.net is not redirecting a page to proper login.aspx page for authentication. Pin
coolsatty29-Mar-08 4:50
coolsatty29-Mar-08 4:50 
GeneralRe: asp.net is not redirecting a page to proper login.aspx page for authentication. Pin
farazsk1129-Mar-08 7:34
farazsk1129-Mar-08 7:34 
GeneralFileUpload Problem Pin
zeeShan anSari28-Mar-08 4:51
zeeShan anSari28-Mar-08 4:51 
hi,
this is my code for uploading the file on server :
protected void Button1_Click(object sender, EventArgs e)<br />
    {<br />
       <br />
        string savepath = @"ftp://66.197.198.204/ansarishan.somee.com/";<br />
        if (FileUpload1.HasFile)<br />
        {<br />
            string filename = FileUpload1.FileName;<br />
            savepath += filename;<br />
            Label3.Text = "Your File has Upload as" + "" + filename;<br />
            FileUpload1.SaveAs(savepath);<br />
        }<br />
        else<br />
        {<br />
            Label3.Text = "You Did not Specify a File To Upload";<br />
        }<br />
    }


But when i try to upload any file then an exception raise :
The SaveAs method is configured to require a rooted path, and the path 'ftp://66.197.198.204/ansarishan.somee.com/Winter.jpg' is not rooted.
although i can drag/drop files on "ftp://66.197.198.204/ansarishan.somee.com/" manually
what is the meaning of "rooted path"?
where is problem ? Frown | :(
GeneralRe: FileUpload Problem Pin
eyeseetee28-Mar-08 4:52
eyeseetee28-Mar-08 4:52 
GeneralRe: FileUpload Problem Pin
Jesse Squire28-Mar-08 5:00
Jesse Squire28-Mar-08 5:00 
GeneralRe: FileUpload Problem Pin
zeeShan anSari28-Mar-08 5:12
zeeShan anSari28-Mar-08 5:12 
GeneralRe: FileUpload Problem Pin
Jesse Squire28-Mar-08 5:18
Jesse Squire28-Mar-08 5:18 
AnswerRe: FileUpload Problem Pin
zeeShan anSari28-Mar-08 5:22
zeeShan anSari28-Mar-08 5:22 
QuestionHow can I add my own button to ASP .NET Wizard Pin
Alex Shapovalov28-Mar-08 4:12
professionalAlex Shapovalov28-Mar-08 4:12 
Question.ascx dynamic controle names are not being loaded [modified] Pin
ILLUSIONARY LIFE28-Mar-08 2:53
ILLUSIONARY LIFE28-Mar-08 2:53 
GeneralRe: .ascx dynamic controle names are not being loaded Pin
Jesse Squire28-Mar-08 3:10
Jesse Squire28-Mar-08 3:10 
Generalget symbol using javascript Pin
Imran Khan Pathan28-Mar-08 0:05
Imran Khan Pathan28-Mar-08 0:05 
GeneralRe: get symbol using javascript Pin
eyeseetee28-Mar-08 0:19
eyeseetee28-Mar-08 0:19 
GeneralRe: get symbol using javascript Pin
Imran Khan Pathan28-Mar-08 0:42
Imran Khan Pathan28-Mar-08 0:42 
GeneralRe: get symbol using javascript Pin
eyeseetee28-Mar-08 0:53
eyeseetee28-Mar-08 0:53 
GeneralRe: get symbol using javascript Pin
Christian Graus28-Mar-08 1:47
protectorChristian Graus28-Mar-08 1:47 
Generaldisable ahref link in gridview Pin
eyeseetee27-Mar-08 23:53
eyeseetee27-Mar-08 23:53 
GeneralRe: disable ahref link in gridview Pin
Imran Khan Pathan28-Mar-08 0:33
Imran Khan Pathan28-Mar-08 0:33 
GeneralRe: disable ahref link in gridview Pin
eyeseetee28-Mar-08 1:03
eyeseetee28-Mar-08 1:03 
GeneralRe: disable ahref link in gridview Pin
Not Active28-Mar-08 1:42
mentorNot Active28-Mar-08 1:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.