I moved my ASP.NET 4.5 website to a new computer by copying the whole folder of the website. When I try to build the website on the new computer in Visual Studio 2012 (same version that I have on the first computer) I get a few warnning and Errors.
Error:
Failed to generate code. Exception of type 'System.Data.Design.InternalException' was thrown. C:\Users\admin\Desktop\website_sample\App_Code\DataSet.xsd
There are 21 warnnings, all saying "Unable to update auto-refresh reference" for different dll files.
when I try to run my default.aspx page (worked great on the first computer), I get the following error for the App_Code/DataSet.xsd file:
Failed to generate code. Exception of type 'System.Data.Design.InternalException' was thrown.
And also the source error:
Line 1: <?xml version="1.0" encoding="utf-8"?>
Line 2: <xs:schema id="DataSet" targetNamespace="http://tempuri.org/DataSet.xsd" xmlns:mstns="http://tempuri.org/DataSet.xsd" xmlns="http://tempuri.org/DataSet.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>
I am using MySQL .NET Connector, but I already intalled it on the new computer to make sure that this doesn't lead to the error.
I need to know how to solve the error and warnning. I am most concerned about the error first because it prevents me from running a few tasks that I need to run today. Thanks in advance.
My assumption is that I used a different version of the .NET MySQL connector, but I'm not dure.