|
-
Mar 16th, 2008, 04:23 PM
#1
[Resolved] LINQ - DataContext Definition
Hi Guys,
I have deployed my app to LocalHost (virtual folder) and I receive the following error when navigating to the .aspx file via IE.
Compiler Error Message: BC30002: Type 'MyDataContext' is not defined.
(Code line identified) Dim db as New MyDataContext
Do I need to explicitly define this by say an Include statement LINQ attribute?
Cheers.
Last edited by Bruce Fox; Mar 18th, 2008 at 05:16 AM.
Reason: Resolved
-
Mar 16th, 2008, 06:00 PM
#2
Re: LINQ - DataContext Definition
Hmmmm, just tried the same example at work and it seems OK?
-
Mar 18th, 2008, 05:18 AM
#3
Re: [Resolved] LINQ - DataContext Definition
For anyone else: It seemed to be a permissions thing?? I was able to get it up on my PC at home (Inetpub), by configuring with the ASP Configuration tool within VWD.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|