473,383 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Dataset lost in visual studio 2005 after updating a SP...

Hi,

My dataset become corrupted after I have a storedprocedure.
The error is:
Failed to load dataset because of the following error:
Cannot convert '' to type 'System.String'

(there is no specific line in the XML code identified)

I have changed a storedprocedure to add a parameter, then I have simple
updated the configuration of my adaptater for my table in the dataset, then
my dataset become corrupted and I can't roll back.

any idea?

thanks.

Jerome.
Nov 19 '05 #1
1 1020
It appears you have a NULL in one of your fields. Run the same query in Query
Analyzer (SQL Server) or write an Access query (Microsoft Access), etc., and
find out where the null is.

To get around this, you can edit the strongly typed dataset to pass back an
Empty String rather than NULL in this case.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
"Jéjé" wrote:
Hi,

My dataset become corrupted after I have a storedprocedure.
The error is:
Failed to load dataset because of the following error:
Cannot convert '' to type 'System.String'

(there is no specific line in the XML code identified)

I have changed a storedprocedure to add a parameter, then I have simple
updated the configuration of my adaptater for my table in the dataset, then
my dataset become corrupted and I can't roll back.

any idea?

thanks.

Jerome.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jo ARild | last post by:
I currently have a web-application which on last framework called a serviced component with a dataset. 'ds.RemotingFormat = SerializationFormat.binary ‘ds.RemotingFormat =...
5
by: xarky1984 | last post by:
Hi, I am using Visual Studio 2005 and has a problem with DataSet Designer. While I was using Visual Studio, 'A Package Load Failure Error' was given. Visual Studio terminated and when...
0
by: marcosalvadeo | last post by:
I have a problem. I created a dataset in visual studio 2005 which use tables of SQL Server Mobile. When I create insert query in the relative TableAdapter, the dataset designer maps the type...
6
by: x5Rb | last post by:
Database: 2 parent tables + 1 child table (child of both parent tables), enforcing foreign key constraints App: winformsapp, stuff (dataset, datatables, tableadatpers) generated by designer ...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.