Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 sql server problem error number 40

Author  Topic 

engnaseem
Starting Member

6 Posts

Posted - 2012-06-21 : 02:51:31
0 down vote favorite


I have a website in Asp.net that I have installed on my server, and my website's database in SQL Server 2008 R2. My website has pages that contain ActiveX components. When I run my website on the server the ActiveX components are working correctly, but there is a problem when I run website from client.

The pages that do not contain ActiveX components work correctly and I can get and insert data from database. In the pages that contain ActiveX components it gives me SQL Server error number 40, that it could not open the connection.

Can anyone help me resolve this?

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2012-06-21 : 03:54:06
Have yoou checked any connections in the activex components?

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

engnaseem
Starting Member

6 Posts

Posted - 2012-06-21 : 04:56:24
thanx for your reply
in test the website from server it work correctly and active x work correctly
but when i test from client on network active x pages that contain active x component get me that error .
Go to Top of Page

engnaseem
Starting Member

6 Posts

Posted - 2012-06-21 : 11:36:10
any idea????
Go to Top of Page

engnaseem
Starting Member

6 Posts

Posted - 2012-06-23 : 01:23:18
have any one can elp me ???
Go to Top of Page
   

- Advertisement -