I have a problem with the visual studio. I user visual studio 2015 and choose framework 4.5 and create an empty website. then I add Dataset.xsd to my project (in App_Code) and then by using server explorer I add my database tables to the dataset. with drag and drop it makes connection string in web.config and when I Build solution I get this Error. I attached a screenshot. Attention: I used this method many times and I have no problem before, but recently I get Error. Please Help ME. Thanks.
Unable to convert input xml file content to a DataSet. Requested value 'ConnectionStrings' was not found
1.2k Views Asked by siyavash At
2
There are 2 best solutions below
0
Junaid Bilal
On
the problem is in DataSet.xsd file with TableAdapter's connection string which you've added in Dataset by drag and drop.
- open DataSet.xsd file in xml editor
- remove connection string which have property AppSettingsObjectName="web.config"
- again open the Dataset with normal editor.
- now delete the TableAdapter which you have added by drag and drop
- Add the TableAdapter again in dataset by right click option See Here
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in ASP.NET
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- IIS Rewrite Module exclude bots but allow GoogleBot
- Angular 16 sending null values to API
- I am the domain admin, newbie, how do I connect youtube.com on my domain?
- Dropdown list showing SQLServer2005SQLBrowserUser$DONSERVER instead of Active Directory group name in ASP.NET MVC C#
- ASP.NET Identity, Losing Ability to Login until Application Pool Recycles
- How to unprotect ASP.NET FormAuthentication cookie
- How does it work using ASP.NET FormAuthentication
- What is the purpose of a completely standalone 'this'?
- Is there a way to read .csproj PropertyGroup variable in c#
- MSBuild trying to copy different dll with similar name into project sporadically
- Minimizing IdentityServer4 Round Trips in Microservice Architecture with Ocelot
- Azure AD guest account in web app authentication user claims data
- Receiving 400 bad request on post when customer auth handler is used
Related Questions in VISUAL-STUDIO
- The current .NET SDK does not support targeting .NET Core 6.0. Brand new WPF Project VS Community 2022 17.9.5
- Dotnet Run is not working but the application is running in Visual Studio
- Is there a way to support Tailwind @apply in Visual Studio?
- How can I eliminate compile warnings using ZLib in Visual Studio
- C++(or Visual Studio) saving the file will not preserve the original file contents
- VS Community 2022 cannot install dotnet-ef when i try to publish
- Visual Studio 2022 convert spaces to tabs on checkout and back to spaces on checkin
- What should I do if Visual Studio has a restriction on creating files with a long name or a long path to these files?
- Command line error D8036 - not allowed with multiple source files with node-gyp and VS2022
- Migrate Old VS 2015 .suo file to the New VS 2022 DocumentLayout.json
- How to make one executable visual studio, that users can run?
- Use tabs instead of spaces in .csproj file in Visual Studio 2022
- Unity - scrollview/dragging breaks after specific scene inactivity
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
- Why is 'EDITBIN /STACK:2097152 w3wp.exe' cmd is giving me an LNK1342 error?
Related Questions in DATASET
- How to add a new variable to xarray.Dataset in Python with same time,lat,lon dimensions with assign?
- Power BI Automations of Audits and APIs
- Trouble understanding how to use list of String data in a Machine Learning dataset - Features expanded before making prediction
- how to difference values within several panels
- How to use an imported Excel file inside Anylogic model
- Need to be able to load different reports into the same report viewer, based on the selection of a combobox value How do i do this?
- Can i merge my custom model and pretrained model in yolov9
- How to access the whole public dataset hosted on a website?
- Use dataset name in knitr code chunk in R
- How many images should I label from the training set?
- How to get a list of numbers out of an awk output in bash
- Wrong file reading in Jupyter
- Request for Rui Li twitter dataset
- Illustrator file to single word Dataset
- Image augmentation for dataset creation
Related Questions in APP-CODE
- Using multiple database connection string in web application web ,Doubts about asp.net web application appcode
- Class in App_Code folder not accessible in vb.net website project
- Serilog WCF usage without constructors?
- Global helpers inside razor views in App_Code are not recognized
- in asp.net (vb.net)in visual studio 2019 community i try to use public class in app_code
- Is it possible to install multiple AppCode versions side by side
- While publishing a project, classes in AppCode folder did not complied
- Is the source code placed in the App_Code special folder in an ASP.NET Web Forms application as reliable as a compiled app?
- How to access App_Code/file.cs from a aspx file?
- I cannot access App_Code and it is read only
- AppCode autocomplete not showing correct results
- Unable to convert input xml file content to a DataSet. Requested value 'ConnectionStrings' was not found
- Debugging Intellij Idea Plugin in AppCode
- Could not load file or assembly 'App_Code' or one of its dependencies.
- Appcode not run on real device - it says its lock, even when i disabled the lock
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Below article discusses options about loading the contents of a DataSet from an XML From Microsoft:
[Link]
Kindly refer to it, and if didn't help here is a microsoft community forums that discussed this issue
[Link 2]