Not sure why this isn’t working – I am developing live on win14, and MS VWD Express is creating the code (and confirms that it works), then it blows up when I view in a browser… Maybe I just need sleep…
Error is viewed here:
http://dentech-inc.com/metal/inventory.aspx or
[B]Server Error in '/metal' Application.[/B]
[B] [I]The connection name 'dentech_databaseConnectionString' was not found in the applications configuration or the connection string is empty.[/I] [/B]
[FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif] [B] Description: [/B]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.
[B] Exception Details: [/B]System.InvalidOperationException: The connection name 'dentech_databaseConnectionString' was not found in the applications configuration or the connection string is empty.
[B]Source Error:[/B]
Line 49: </Columns>
Line 50: </asp:GridView>
Line 51: <asp:SqlDataSource ID=“SqlDataSource1” runat=“server” ConnectionString=“<%$ ConnectionStrings:dentech_databaseConnectionString %>”
Line 52: SelectCommand=“MetalGetCurrentInventory” SelectCommandType=“StoredProcedure”></asp:SqlDataSource>
Line 53:
Source File: D:\hshome\dentech\dentech-inc.com\metal\Inventory.aspx Line: 51
[B]Stack Trace:[/B]
[InvalidOperationException: The connection name 'dentech_databaseConnectionString' was not found in the applications configuration or the connection string is empty.]
System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionString(String connectionStringName) +2959789
ASP.inventory_aspx.__BuildControlSqlDataSource1() in D:\hshome\dentech\dentech-inc.com\metal\Inventory.aspx:51
ASP.inventory_aspx.__BuildControlform1() in D:\hshome\dentech\dentech-inc.com\metal\Inventory.aspx:15
ASP.inventory_aspx.__BuildControlTree(inventory_aspx __ctrl) in D:\hshome\dentech\dentech-inc.com\metal\Inventory.aspx:1
ASP.inventory_aspx.FrameworkInitialize() +69
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +40
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.inventory_aspx.ProcessRequest(HttpContext context) +29
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
[/FONT] [FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif] [B]Version Information:[/B] Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210 [/FONT]