oracle dataset parser error-Failed to generate code. Exception of type 'System.Data.Design.InternalException'

Last post 07-24-2008 4:37 PM by kirang_97. 1 replies.

Sort Posts:

  • oracle dataset parser error-Failed to generate code. Exception of type 'System.Data.Design.InternalException'

    07-21-2008, 10:33 AM
    • Member
      point Member
    • kirang_97
    • Member since 07-21-2008, 10:26 AM
    • Posts 2
    I created a web apllication in asp.net 2.0 and c#. I created a virtual directory for this app in a dev- environment. every thing works fine in dev. I moved the same code to a virtual directory in test environment that is integrated with -OAM(oracle access management).I recieve the following error.I appreciate any help in this regard.

    =========================================================================

    Server Error in '/SrchWebView' Application.


    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Failed to generate code. Exception of type 'System.Data.Design.InternalException' was thrown.

    Source Error:

     
    Line 1:  <?xml version="1.0" encoding="utf-8"?>
    Line 2:  <xs:schema id="dsPMSGetBookCode" targetNamespace="http://tempuri.org/dsPMSGetBookCode.xsd" xmlns:mstns="http://tempuri.org/dsPMSGetBookCode.xsd" xmlns="http://tempuri.org/dsPMSGetBookCode.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
    Line 3:    <xs:annotation>


    Source File: /SrchWebView/App_Code/DAL/dsPMSGetBookCode.xsd    Line: 1


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

  • Re: oracle dataset parser error-Failed to generate code. Exception of type 'System.Data.Design.InternalException'

    07-24-2008, 4:37 PM
    • Member
      point Member
    • kirang_97
    • Member since 07-21-2008, 10:26 AM
    • Posts 2

    This error was due to the ODP.NET DRIVER being installed on E drive instead of C drive on the test machine. On my Dev machine the driver was installed on C drive and on test environment it was on E drive instead of C. I installed ODP.NET driver on C drive and every thing works fine.

     

     

Page 1 of 1 (2 items)