Connection problem pls help
-
Hi I am using asp.net 2003(vb code behind). I hve given the connection in web.config like this when i changed the data source to another server this is working properly in a lan network i hve uploaded my project to a site for eg. if i give like www.mysite.com/login.aspx then if i enter the user id and password wht i want is i hve to access the local systems sql database( i want to get data from the database test whose connection i give above). But this is showing error as object reference not set. What should i do now to Any body pls help me to resolve this problem.do i give any other thing in the connection string Thanks in advance with regards anitha
-
Hi I am using asp.net 2003(vb code behind). I hve given the connection in web.config like this when i changed the data source to another server this is working properly in a lan network i hve uploaded my project to a site for eg. if i give like www.mysite.com/login.aspx then if i enter the user id and password wht i want is i hve to access the local systems sql database( i want to get data from the database test whose connection i give above). But this is showing error as object reference not set. What should i do now to Any body pls help me to resolve this problem.do i give any other thing in the connection string Thanks in advance with regards anitha
micydon wrote:
showing error as object reference not set
Set the object reference using
New
might be a start..."Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus