M
Matt MacDonald
Hi all,
First of all, I am not trying to be the guy who comes in here shouting his
mouth off at Microsoft. However, ever sinse I started using typed datasets
in VS2005 I have been fighting with a recurring issue.
I will have a project open and be working in it just fine, when all of a
sudden when I try to do something in my dataset (either add a new query,
modify and existing one, etc.) I get a big fat error box on my screen
telling me that it couldn't find the connection string. Nothing has been
changed (manually) in the project in regards to the connection strings,
either in the web.config or the application settings.
Probably about 70% of the time, I can just drag a new table in the dataset
from the data explorer and that recreates the "lost" connection and
everything is fine for now. However, the other 30% of the time, I will try
that and it may appear to work at a glance, but then suddenly my code has
about 80 errors in it because the class that should have been generated by
that dataset has a random error in it. In the latest case I get "Error 101
Custom tool error: Failed to generate code. Unable to convert input xml file
content to a DataSet. Requested value 'My' was not found. Requested value
'My' was not found."
OK, so now my only option other than trying to hunt down the elusive "My"
that it's looking for, is to pull up the latest backup and try to merge my
changes into that one back when the dataset was still working. After going
through all this effort to get back to where I already was, I just need to
look forward to it happening all over again sometime in the near future.
I can't believe that I'm the only one going through this and it seems like
by now, there really should be some sort of resolution. I really like what
you are able to do using typed datasets, and have been pushing them at my
company ever sinse I started using them, but somedays the aggravation they
cause makes me want to go back to just doing everything manually.
OK, so thanks for letting me vent. Again, I'm not trying to "blame" anyone
in particular, I'm just trying to get a resolution. Does anyone have any
suggestions?
Thanks,
Matt
First of all, I am not trying to be the guy who comes in here shouting his
mouth off at Microsoft. However, ever sinse I started using typed datasets
in VS2005 I have been fighting with a recurring issue.
I will have a project open and be working in it just fine, when all of a
sudden when I try to do something in my dataset (either add a new query,
modify and existing one, etc.) I get a big fat error box on my screen
telling me that it couldn't find the connection string. Nothing has been
changed (manually) in the project in regards to the connection strings,
either in the web.config or the application settings.
Probably about 70% of the time, I can just drag a new table in the dataset
from the data explorer and that recreates the "lost" connection and
everything is fine for now. However, the other 30% of the time, I will try
that and it may appear to work at a glance, but then suddenly my code has
about 80 errors in it because the class that should have been generated by
that dataset has a random error in it. In the latest case I get "Error 101
Custom tool error: Failed to generate code. Unable to convert input xml file
content to a DataSet. Requested value 'My' was not found. Requested value
'My' was not found."
OK, so now my only option other than trying to hunt down the elusive "My"
that it's looking for, is to pull up the latest backup and try to merge my
changes into that one back when the dataset was still working. After going
through all this effort to get back to where I already was, I just need to
look forward to it happening all over again sometime in the near future.
I can't believe that I'm the only one going through this and it seems like
by now, there really should be some sort of resolution. I really like what
you are able to do using typed datasets, and have been pushing them at my
company ever sinse I started using them, but somedays the aggravation they
cause makes me want to go back to just doing everything manually.
OK, so thanks for letting me vent. Again, I'm not trying to "blame" anyone
in particular, I'm just trying to get a resolution. Does anyone have any
suggestions?
Thanks,
Matt