Error when running Editor's .NET Examples Suite
Error when running Editor's .NET Examples Suite
![safavia](https://secure.gravatar.com/avatar/af3276732945d42e1e7df14e8aad0140/?default=https%3A%2F%2Fvanillicon.com%2Faf3276732945d42e1e7df14e8aad0140_200.png&rating=g&size=120)
Hello friends,
I just downloaded the Editor 1.7.4 .NET bundle which comes with the full suite of examples:
I opened the DataTables.sln file with Visual Studio 2017 Community and attempted to run it. Got the following error msg while the Editor grid stayed on Loading mode:
Would you please help to to troubleshoot this? By the way, isn't there suppose to be a database in App_Data folder? I don't see any database file in there.
Thanks so much!
Alan
This discussion has been closed.
Answers
Hi,
I've just added a reply to your other thread on this topic.
Allan
Hello Allan,
![](https://datatables.net/forums/uploads/editor/0i/6457bq2mewcl.png)
Based on the following screenshot, it seems it's a connection issue and _conn is not mapped. How should I configure _conn?
Thanks,
Alan
I figured it out! I had to add the following code to the database class. This was not clearly explained in the installation manual.
Thanks for posting back - good to hear you got it working.
There should be a Settings.settings file where you can set the SQL connection string globally. I'll see if I can improve that part of the docs.
Allan