in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

internalexception when compiling an xsd

Last post 06-06-2008 3:42 AM by jeffreyabecker. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 09-15-2006 6:48 AM

    • duwke
    • Top 500 Contributor
    • Joined on 06-22-2006
    • Posts 3

    internalexception when compiling an xsd

    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="PrintJobDS" targetNamespace="http://simdesk.com/PrintJobDS.xsd" xmlns:mstns="http://simdesk.com/PrintJobDS.xsd" xmlns="http://simdesk.com/PrintJobDS.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>

     

    This is an asp.net application (in C#).  Works fine on my development machine (with vs2005 design support turned on), but tanks on my test machine.  The test machine does not have an IDE, just a webserver. 

    I was able to get it to compile on a build machine after I installed 35 with design support turned on.


    What magic do you do with the "add design support?"

     

  • 09-15-2006 7:06 AM In reply to

    Re: internalexception when compiling an xsd

    So you're compiling and xsd on the test machine?  Using xsd.exe or something?  Does it work on a test machine if you try compiling and xsd using Sql Server?

    Robert

     

  • 09-15-2006 7:45 AM In reply to

    • duwke
    • Top 500 Contributor
    • Joined on 06-22-2006
    • Posts 3

    Re: internalexception when compiling an xsd

    I don't have sql server.  Nor do I understand how to compile an xsd using sql server.  xsd.exe comes with .net, right?

    Anyhow, I found a workaround.  Rather than creating a web service installer (which basically just copies all the files to a new Virtual Directory in IIS... thereby compiling the app when it's first run), I copied the precompiled web app to the test machine.  This worked fine.

    -Darin

     

  • 09-15-2006 11:06 AM In reply to

    Re: internalexception when compiling an xsd

    XSD comes with Visual Studio, but not .NET.  The precompiled webapp is the best bet, since in order to compile a XSD file, several designer components are required.  They should also be required for Sql Server, which is why I wondered if Sql Server worked or not.

    Robert

     

  • 06-05-2008 4:33 AM In reply to

    Re: internalexception when compiling an xsd

    hi

    m am using XSD with java and using IDE Eclips .. can anyone tell how to compile XSD with these environment.

  • 06-06-2008 3:42 AM In reply to

    Re: internalexception when compiling an xsd

     wow asking java questions to.Net developers?  Someone's really in the wrong part of town :P

Page 1 of 1 (6 items)
Powered by Community Server (Commercial Edition), by Telligent Systems