Hi,
Here is my configuration:
Installled dcoracle570pro.exe.
Using linqconnect to an oracle 10g db.
Windows Server 2008 R2 64 bit w/ IIS7 all latest service packs.
IE version 8 installed.
When I run my app in the asp.net development server via visual studio 2010 on the above mentioned machine, works perfectly. No errors.
When run from the browser (IE8 ) outside visual studio I get the following error when going to a page that is using a datacontext. This makes no sense to me. How can it work in vstudio and not on IIS7? Is it a 64bit issue? Do I need to upgrade Devart? Help!!!
Server Error in '/VectorQC' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30389: 'VShareDB.VShareDBContext' is not accessible in this context because it is 'Friend'.
Source Error:
Line 146: 'oConnVS.ConnectionString = ConfigurationManager.ConnectionStrings(ConfigConstants.WC_VECTORSHARE_CONNECTION_STRING).ConnectionString
Line 147: 'oConnVS.Open()
Line 148: Dim dbVShare As New VShareDBContext
Line 149: sv.Rows.Count = 0
Line 150: For i = 0 To arSearchItems.Length - 1
Source File: C:\WebSites\VectorQC\LabChip\FragmentSearch2.aspx.vb Line: 148
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225
Context error on 64 bit IIS7
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
Could you please describe the structure of your application? For example, please specify the following:
- whether the application is pre-compiled or not (i.e., if it is an ASP.NET application or an ASP.NET site);
- if the data context class and entity classes are declared in a separate assembly;
- if the 'Access' model property is set to 'Internal'.
- whether the application is pre-compiled or not (i.e., if it is an ASP.NET application or an ASP.NET site);
- if the data context class and entity classes are declared in a separate assembly;
- if the 'Access' model property is set to 'Internal'.