Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7401385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:27:15+00:00 2026-05-29T04:27:15+00:00

I am using Oracle ODAC for EntityFramework. I am trying to develop a sample

  • 0

I am using Oracle ODAC for EntityFramework. I am trying to develop a sample silverlight application using entityframework. I have add my domainservice through which I am publishing my entities. I am UI’s code behind file. I have written the following code.

var threemonthsold = DateTime.Now.AddMonths(-3);
var query = serverContext.GetSR_MERGED_DATAQuery().Where(t => t.SR_DATE_RECD > threemonthsold);

var regionLoadOp = serverContext.Load(query);
dataGrid.ItemsSource = regionLoadOp.Entities; 

I want to find out what query has been sent to oracle. As the operation is getting timedout the application is crashing. Looks like the query is taking long time. If I can find out the query I can run it directly on oracle and find out how long it is taking there.

Any help much appreciated.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T04:27:16+00:00Added an answer on May 29, 2026 at 4:27 am

    Found the answer for this question in the following forum.:

    cshay Dec 3, 2011 9:58 AM (in response to 900653)
    You can turn on ODP.NET tracing. See the ODP.NET doc for more details:
    
    1) Close VS
    2) In windows registry, change registry value 
        \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ODP.NET\4..........\TraceLevel
        to 1
    3) Relaunch VS
    4) Reproduce the problem
    5) Close VS2010
    6) Look for the odpnet trace file in the root of C I believe.
    7) Undo the registry value (set it back to 0) so you don't impact performance
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that's using Oracle.DataAccess to connect. I've already discovered that the
My application using Oracle 11g as backend. We have a multiple BLOB Columns in
I'm trying to evaluate ODAC for using Oracle AQ. The request queue contains JMS
I have written a C# application that connects to an Oracle 10g database. Using
I am using Oracle SQL (in SQLDeveloper, so I don't have access to SQLPLUS
I'm using Oracle 10g and I'm trying to stack the conditions in a CASE
I am using Oracle 10g at the moment. I want to search through all
I am using Oracle 9 JDBC Thin Driver - the connection string I have
Using Oracle 11g release 2, the following query gives an ORA-01790: expression must have
(Using Oracle) I have a table with key/value pairs like this: create table MESSAGE_INDEX

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.