Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 06-15-2004, 14:04   #1 (permalink)
Scott
Civilians

 
Default Access Automation in ASP.NET / C#

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 false
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!
sasteph@msn.com
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 06-15-2004, 14:06   #2 (permalink)
HUTCHUS002
Civilians

 
Default Re: Access Automation in ASP.NET / C#

cant help sorry
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
obj var vs automation Clayton Microsoft Applications 2 07-23-2005 16:00
Access 2003 - Inserting A Quick Time Movie - Data Access Page consulttech2004@hotmail.com Web Design 0 04-05-2005 00:00
S.O.S.Automation J. Mike Web Design 0 03-26-2005 04:00
Access 2003 Data Access Pages Peter Kraus Web Design 1 06-15-2004 14:19
HELP needed: how access automation of explorer and entry of data into search engines? Jack-of-all-traits Web Design 0 06-15-2004 13:57


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 10:02.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.75563 seconds with 19 queries