SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 sql server problem error number 40
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

engnaseem
Starting Member

6 Posts

Posted - 06/21/2012 :  02:51:31  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

United Kingdom
3328 Posts

Posted - 06/21/2012 :  03:54:06  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
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 - 06/21/2012 :  04:56:24  Show Profile  Reply with Quote
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 - 06/21/2012 :  11:36:10  Show Profile  Reply with Quote
any idea????
Go to Top of Page

engnaseem
Starting Member

6 Posts

Posted - 06/23/2012 :  01:23:18  Show Profile  Reply with Quote
have any one can elp me ???
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000