Hallo mannen en vrouwen :-)
Ik heb een asp.net 4.0, delphi prism applicatie. Die werkt lokaal goed.
Deployen doe ik door in delphi prism te kiezen voor build|publish app|file system. Deze optie genereerd voor mij de files die ik vervolgens met ftp upload naar de testplaats.
Als ik vervolgens ga runnen, krijg ik eerst de melding dat 'oxygene' geen bekende taal is. Tip die ik gevonden heb: vervang in de aspx-pagina's die bij het projekt horen in de bovenste regel 'language = "oxygene"' door 'language="c#"'
Dat werkt, die melding is weg. Nu krijg ik een andere, die ik 'beneden' niet krijg:
Hieronder de melding. Ik weet niet hoe ik hier mee verder moet. Iemand een idee?
Mieke
Server Error in '/testapps' Application.
--------------------------------------------------------------------------------
Index and length must refer to a location within the string.
Parameter name: length
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.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length]
System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +9389263
System.String.Substring(Int32 startIndex, Int32 length) +11
UC_G_Overzicht.TUC_G_Overzicht.DGGidsen_ItemDataBo und(Object sender, DataGridItemEventArgs e) in C:\Users\User\Documents\Visual Studio 2010\Projects\VvvWeb\VvvWeb\Private\UC_G_Overzicht .ascx.pas:82
System.Web.UI.WebControls.DataGrid.OnItemDataBound (DataGridItemEventArgs e) +8672062
System.Web.UI.WebControls.DataGrid.CreateItem(Int3 2 itemIndex, Int32 dataSourceIndex, ListItemType itemType, Boolean dataBind, Object dataItem, DataGridColumn[] columns, TableRowCollection rows, PagedDataSource pagedDataSource) +158
System.Web.UI.WebControls.DataGrid.CreateControlHi erarchy(Boolean useDataSource) +797
System.Web.UI.WebControls.BaseDataList.OnDataBindi ng(EventArgs e) +64
System.Web.UI.WebControls.BaseDataList.DataBind() +55
System.Web.UI.WebControls.BaseDataList.EnsureDataB ound() +78
System.Web.UI.WebControls.BaseDataList.OnPreRender (EventArgs e) +15
System.Web.UI.Control.PreRenderRecursiveInternal() +103
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Bookmarks