Ярославль


  Ответ в темуСоздание новой темыСоздание опроса

Ошибка при скачивании, Помогите разобраться

arminn
Дата 6.11.2009 - 20:16
Цитировать сообщение




Unregistered












Уважаемые спецы! Помогите, плиз, разобраться, чего от меня хотят этим сообщением (я пытаюсь скачать клип с любительской видеозаписью с сайта http://clipes.ru, раньше все было без проблем). Т.е. смотреть я его могу, а скачать нет. Помогите, пожалуйста! Очень нужно.

Server Error in '/' Application.
Invalid URI: The URI is empty.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UriFormatException: Invalid URI: The URI is empty.

Source Error:

Line 210:
Line 211: if (ddlFormat.SelectedValue == "FLV") {
Line 212: WebResponse file = WebRequest.Create(url).GetResponse();
Line 213: Response.Redirect(file.ResponseUri.ToString(), true);
Line 214: //Response.Redirect(clipFlvURI, true);


Source File: d:\hst\dev-clipes_ec013c4c\http\clipdetail2.cs Line: 212

Stack Trace:

[UriFormatException: Invalid URI: The URI is empty.]
System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) +5367536
System.Uri..ctor(String uriString) +20
System.Net.WebRequest.Create(String requestUriString) +35
clipdetail2.btnDownload_Click(Object sender, EventArgs e) in d:\hst\dev-clipes_ec013c4c\http\clipdetail2.cs:212
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +111
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +79
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Top

Опции темы Ответ в темуСоздание новой темыСоздание опроса

 



[ Время генерации скрипта: 0.0102 ]   [ Использовано запросов: 15 ]   [ GZIP включён ]



Яндекс.Метрика

Правила Ярпортала (включая политику обработки персональных данных)

Все вопросы: yaroslavl@bk.ru