Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Invalid URI: There is an invalid sequence in the string. Error!!

Reply
Thread Tools

Invalid URI: There is an invalid sequence in the string. Error!!

 
 
Patrick.O.Ige
Guest
Posts: n/a
 
      07-02-2006
Hi guys,
I just moved a project from my pc to a server production (to an
ISP).
on my pc it all works fine with no errors.
After fireing up the first page "default.aspx" i get the error
!!!!!!!!!!!!!!!!! arg!!!!!!!!!!
below..
As anybody gone through this before???

"Invalid URI: There is an invalid sequence in the string. "

Stack Trace:


[UriFormatException: Invalid URI: There is an invalid sequence in the
string.]
System.Uri..ctor(String uriString, Boolean dontEscape) +454
System.Web.Util.UrlPath.MakeRelative(String from, String to) +80
System.Web.UI.Control.ResolveClientUrl(String relativeUrl) +280
System.Web.UI.WebControls.HyperLink.AddAttributesT oRender(HtmlTextWriter
writer) +57
System.Web.UI.WebControls.WebControl.RenderBeginTa g(HtmlTextWriter
writer) +17
System.Web.UI.WebControls.WebControl.Render(HtmlTe xtWriter writer) +17
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
System.Web.UI.WebControls.WebControl.RenderContent s(HtmlTextWriter
writer) +7
System.Web.UI.WebControls.DataListItem.RenderItemI nternal(HtmlTextWriter
writer, Boolean extractRows, Boolean tableLayout) +40
System.Web.UI.WebControls.DataListItem.RenderItem( HtmlTextWriter writer,
Boolean extractRows, Boolean tableLayout) +223
System.Web.UI.WebControls.DataList.System.Web.UI.W ebControls.IRepeatInfoUser.RenderItem(ListItemType
itemType, Int32 repeatIndex, RepeatInfo repeatInfo, HtmlTextWriter writer)
+54
System.Web.UI.WebControls.RepeatInfo.RenderVertica lRepeater(HtmlTextWriter
writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl)
+1069
System.Web.UI.WebControls.RepeatInfo.RenderRepeate r(HtmlTextWriter
writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl)
+24
System.Web.UI.WebControls.DataList.RenderContents( HtmlTextWriter writer)
+398
System.Web.UI.WebControls.BaseDataList.Render(Html TextWriter writer) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter writer)
+44
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output) +261
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
System.Web.UI.Page.ProcessRequestMain() +1880






 
Reply With Quote
 
 
 
 
Patrick.O.Ige
Guest
Posts: n/a
 
      07-02-2006
This part of the page i'm sure is giving me the error.
Any ideas???????????

<asp:datalist id="LeftMenu" runat="server"
OnItemDataBound="LeftMenu_ItemDataBound" EnableViewState="false"
SelectedItemStyle-BackColor="#E1E9F2" width="180px" cellspacing="0"
cellpadding="0">
<ItemTemplate>
<table width="180px" border="0" cellpadding="0" cellspacing="0"
bordercolor="#132E55">
<tr width="150px" style="cursor:hand;text-decoration:none;"
onmouseover="style.backgroundColor='#91C75B';"
onmouseout="style.backgroundColor='';" bordercolor="#E1E9F2"
height="27px">
<td>
<asp:Image id="Image2" runat="server"
ImageUrl="images/off1.gif"></asp:Image>
<asp:HyperLink id="Hyperlink2" Tooltip='<%#
DataBinder.Eval(Container.DataItem, "briefDescription")%>'
Cssclass="MenuUnselected" Text='<%# DataBinder.Eval(Container.DataItem,
"cat_cities")%>' NavigateUrl='<%# "../ShowOffers.aspx?CategoryID=" &
DataBinder.Eval(Container.DataItem, "catid")& "&CitName=" &
DataBinder.Eval(Container.DataItem, "cat_cities") & "&selection=" &
Container.ItemIndex %>' runat="server" />
</td>
</tr>
</table>
</ItemTemplate>
<SelectedItemTemplate>
<img src="images/contactus.gif" border="0" align="absbottom"
width="22px">
<asp:HyperLink Tooltip='<%# DataBinder.Eval(Container.DataItem,
"briefDescription")%>' Cssclass="MenuSelected" Height="10px" id="Hyperlink4"
Text='<%# DataBinder.Eval(Container.DataItem, "cat_cities") %>'
NavigateUrl='<%# "../ShowOffers.aspx?CategoryID=" &
DataBinder.Eval(Container.DataItem, "catid")& "&CitName=" &
DataBinder.Eval(Container.DataItem, "cat_cities") & "&selection=" &
Container.ItemIndex %>' runat="server" />
&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/next.gif" border="0"
align="absmiddle">
</SelectedItemTemplate>
</asp:datalist>

"Patrick.O.Ige" <(E-Mail Removed)> wrote in message
news:O$(E-Mail Removed)...
> Hi guys,
> I just moved a project from my pc to a server production (to an
> ISP).
> on my pc it all works fine with no errors.
> After fireing up the first page "default.aspx" i get the error
> !!!!!!!!!!!!!!!!! arg!!!!!!!!!!
> below..
> As anybody gone through this before???
>
> "Invalid URI: There is an invalid sequence in the string. "
>
> Stack Trace:
>
>
> [UriFormatException: Invalid URI: There is an invalid sequence in the
> string.]
> System.Uri..ctor(String uriString, Boolean dontEscape) +454
> System.Web.Util.UrlPath.MakeRelative(String from, String to) +80
> System.Web.UI.Control.ResolveClientUrl(String relativeUrl) +280
> System.Web.UI.WebControls.HyperLink.AddAttributesT oRender(HtmlTextWriter
> writer) +57
> System.Web.UI.WebControls.WebControl.RenderBeginTa g(HtmlTextWriter
> writer) +17
> System.Web.UI.WebControls.WebControl.Render(HtmlTe xtWriter writer) +17
> System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
> System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
> System.Web.UI.WebControls.WebControl.RenderContent s(HtmlTextWriter
> writer) +7
> System.Web.UI.WebControls.DataListItem.RenderItemI nternal(HtmlTextWriter
> writer, Boolean extractRows, Boolean tableLayout) +40
> System.Web.UI.WebControls.DataListItem.RenderItem( HtmlTextWriter writer,
> Boolean extractRows, Boolean tableLayout) +223
>
> System.Web.UI.WebControls.DataList.System.Web.UI.W ebControls.IRepeatInfoUser.RenderItem(ListItemType
> itemType, Int32 repeatIndex, RepeatInfo repeatInfo, HtmlTextWriter writer)
> +54
>
> System.Web.UI.WebControls.RepeatInfo.RenderVertica lRepeater(HtmlTextWriter
> writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl)
> +1069
> System.Web.UI.WebControls.RepeatInfo.RenderRepeate r(HtmlTextWriter
> writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl)
> +24
> System.Web.UI.WebControls.DataList.RenderContents( HtmlTextWriter writer)
> +398
> System.Web.UI.WebControls.BaseDataList.Render(Html TextWriter writer) +27
> System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
> System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
> System.Web.UI.Control.Render(HtmlTextWriter writer) +7
> System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
> System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
> System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter
> writer) +44
> System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output) +261
> System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
> System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
> System.Web.UI.Control.Render(HtmlTextWriter writer) +7
> System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
> System.Web.UI.Page.ProcessRequestMain() +1880
>
>
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to iterate over sequence and non-sequence ? stef mientki Python 13 10-20-2007 10:21 AM
08 and 09 in sequence create "invalid token" error?! IamIan Python 2 04-06-2007 11:19 PM
There is an invalid sequence in the string. Error problem Patrick.O.Ige ASP .Net 4 07-05-2006 12:31 PM
InputStream - invalid byte 1 of 1-byte UTF-8 sequence Arun Java 2 12-27-2004 01:56 PM
BOOT SEQUENCE (how to change boot sequence) bird Computer Support 13 12-24-2003 02:20 AM



Advertisments