G
Guest
Has anyone done any automation with Access 2003 through ASP.NET
It works fine in a windows application, but using the same code on a web form just brings up a web page that never loads
Here is the code:
Access.Application oAccess = null
oAccess = new Access.ApplicationClass()
// This is the line that hangs - I have tried this with true and fals
oAccess.OpenCurrentDatabase("C:\\Northwind.mdb", false, "");
oAccess.Quit(Access.AcQuitOption.acQuitSaveNone)
Marshal.ReleaseComObject(oAccess)
oAccess = null
I have set the DCOM is permisions and I know the file exists with the approprate permisions, does anyone have any other ideas??
Thanks in advance
(e-mail address removed)
It works fine in a windows application, but using the same code on a web form just brings up a web page that never loads
Here is the code:
Access.Application oAccess = null
oAccess = new Access.ApplicationClass()
// This is the line that hangs - I have tried this with true and fals
oAccess.OpenCurrentDatabase("C:\\Northwind.mdb", false, "");
oAccess.Quit(Access.AcQuitOption.acQuitSaveNone)
Marshal.ReleaseComObject(oAccess)
oAccess = null
I have set the DCOM is permisions and I know the file exists with the approprate permisions, does anyone have any other ideas??
Thanks in advance
(e-mail address removed)