Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

ASP.NET Usind Access DB

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul W Smith - 10 Feb 2008 13:17 GMT
I am converting a site from ASP to ASP.NET.

In the ASP site I used an Access DB which used some user defined functions
written in VBA modules.  The ASP site used queries that contained these user
defined functions without issue.

The new ASP.NET site uses exactly the same Access DB, but it produces an
"System.Data.OleDb.OleDbException was unhandled by user code" error when
calling an query that conatins a user defined function.  In all other
aspects the site works fine except where a query requires use of one of the
user defined functions.

Am I doing something wrong, or is this a know limitation of using an Access
DB, you can no longer use user defined functions?

PWS
Tim Burkart - 10 Feb 2008 15:53 GMT
Paul,

You should be able to put your user function in the code behind file or
if it is a common function then you should create a user control that
gets compiled into a dll.

tim

> I am converting a site from ASP to ASP.NET.
>
[quoted text clipped - 12 lines]
>
> PWS

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.