Problem: How to do an MS Access DLookUp() in ASP/VB.NET?

Question: How to do an MS Access DLookUp() in ASP/VB.NET? Hello – I’m a MS Access guy crossing over into ASP.NET (v2.0), and I’d like to know the best way to do a simple lookup in a table, using one value to get another, like an Access DLookUp() function. Specifically, in the Authenticate event of a Login control, I need to go get the account # associated with that users’ Continue Reading →

Problem: ambiguous reference between data table (Microsoft.Office.Interop.Excel vs. System.Data)

Problem: ambiguous reference between data table (Microsoft.Office.Interop.<wbr />Excel vs. System.Data) I have a C# file that has the following in its list of ‘using’ statements: using System.Data; using Microsoft.Office.Interop.Excel; Building it gives me an ambiguous reference to type DataTable. Leaving off just the System.Data makes DataRow undefined. Leaving off just the Microsoft.Office.Interop.Excel makes Excel undefined. How can get out of this “Catch-22”? Thanks very much, Solution: ambiguous reference between data Continue Reading →

Problem: DB2 ASP.NET error

Problem: DB2 ASP.NET error I am trying to use DB2 Connect with a C# front end to create a website and so far it’s been a nightmare.  I’m pretty sure I have the DB2 software installed correctly but I’m running into an error I have no idea how to debug. Here is the error: SQL0035N  The file “C:/Applications/CMOL_NET_CSharpmsgen_USdb2nmp.xml” cannot be opened. And here’s the main code I’m using to connect: Continue Reading →

Excel error saving .xls file on web server 0x800a03ec

Question : Excel error saving .xls file on web server 0x800a03ec Microsoft.Office.Interop.Excel error saving .xls file on web server (not no development PC) error msg: Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space. ” To make more memory available, close workbooks or programs you no longer need. ” To free disk space, delete files you no longer need from Continue Reading →

How do I fix the error “Child list for field cannot be created” in VB .net

Question : How do I fix the error “Child list for field cannot be created” in VB  .net I am getting the following error “Child list for field ancillaries_u cannot be created” in VB .net.  I have created a datagrid, updated it and refreshed the datasource and grid.  When I go back to the grid and double-click again, I get the error.   Solution : How do I fix the error “Child Continue Reading →