@Aparna ,
May be you could change the ConnectionStringObject attribute on the Connection node inside the XSD file.And set it to a valid connection string pointing to the database your dataset corresponds to.
You could refer to below this article:https://stackoverflow.com/questions/17914840/failed-to-generate-code-error-when-compiling-a-asp-net-website-on-a-new-computer
Best regards,
Yijing Sun
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.