Microsoft visual studio error

visualstudio2008 , , sqldatasourceerror India
  • 11 years ago

    Hi folks,

    Environment : I have a web application running on .net 3.5 framework and the DB being SQL server 2005.previous versions of .net are also installed.My OS is windows XP professional,i am running the application inside VS2008.

    Problem : i have a page which has a gridview. when i choose datasource (sqldatasource) from the smart tag on the gridview,it gives me a "object reference not set to an instance of object error ".the DB is on my local system namely mysystem\SQLEXPRESS a test for successful connection shows success but when i do finish it throws an error..

    please advice.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity.” - Dennis Ritchie