Results 1 to 2 of 2

Thread: mySQL Connector with TableAdapters = no go!

  1. #1
    Join Date
    Jun 2008
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default mySQL Connector with TableAdapters = no go!

    Hello RedFox people! hope you can give me a few pointers on using a mySQL database with .NET DataSets and TableAdapters

    I've got all my code running quite happily here, using version 5.2.2.0 of the connector to access local mySQL or live mySQL on your Hydrogen box but when I try to deploy my code on the live server it won't run, I get a Parser Error like this:

    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="DSPoll" targetNamespace="http://tempuri.org/DSPoll.xsd" xmlns:mstns="http://tempuri.org/DSPoll.xsd" xmlns="http://tempuri.org/DSPoll.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>

    Intensive Googling tells me that the mySQL connector sometimes does this when a different version is used on live on development boxes, any chance you could tell me which version of the Connector is installed?

  2. #2
    Join Date
    Jun 2008
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Fixed my own problem!

    The short answer is to deploy the website as a precompiled web instead of uploading all the source code.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. RFH exchange server sbs2k3 smtp connector problem
    By medasset in forum Technical Support
    Replies: 8
    Last Post: 22nd November 2007, 01:39 PM
  2. MySQL Connector for .Net
    By Tanzy in forum MySQL
    Replies: 6
    Last Post: 19th January 2007, 11:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •