| | |
ASP / ASP.NET » Current Topics | | | |
Sponsors.
|  | | | ASP / ASP.NET Discussion related to web development using ASP & ASP.NET. Tutorials, source code, tips and tricks related to ASP and ASP.NET programming. |  | 
November 14th, 2008, 03:46 AM
| | Jr. Member
Join Date: Dec 2006
Posts: 163
BRL$: 378.76 Thanks: 1
Thanked 2 Times in 2 Posts
Rep Power: 67 | | I am getting error while connected to Mssql server in asp Hello
I am getting error while connected to Mssql server in asp. How to resolve it. Microsoft OLE DB Provider for ODBC Drivers error '80004005' Quote:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionRead (WrapperRead()).
| | |
__________________ Web Developer
( To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. - To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. - To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ) █ Jobs In !!! - Post Jobs, Hire Employees, Create Blogs and
Earn Money. | | | | 
November 14th, 2008, 22:06 PM
| | Senior Member
Join Date: Aug 2008 Location: India
Posts: 2,405
BRL$: 124.31 Thanks: 22
Thanked 74 Times in 74 Posts
Rep Power: 250 | | Re: I am getting error while connected to Mssql server in asp I don't know what you are talking about as I don't know much about the MSSQL part. I tried to help you out by searching google. I got a list of sites. To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. |
__________________ Best PayPal PTC Sites - To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
Hit the Thanks Button If you Find My Post Useful... To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Jobs In !!! - Post Jobs, Hire Employees, Create Blogs and
Earn Money. | | | | 
December 17th, 2008, 08:40 AM
| | New Foot Prints
Join Date: Dec 2008
Posts: 57
BRL$: 199.34 Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 7 | | Re: I am getting error while connected to Mssql server in asp Hello,
It seems that it is due to some permissions level issue you are getting this error message. You can refer below mentioned URL for reference which I have found from various search engines: To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts.
To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts.
As an alternative you can use DNS Less connection string. I have posted sample code here:
====================================
Dim SqlConn
Set SqlConn = Server.CreateObject("ADODB.Connection")
SqlConn.ConnectionString="Driver={SQL Server};" & "Server=MS SQL Server IP;" & _"Database=dbname;" & "Uid=username;" & "Pwd=password;"
SqlConn.Open
Response.Write "SQL Connection Successful"
====================================
Thanks,
Sandeep Gandhi | █ Jobs In !!! - Post Jobs, Hire Employees, Create Blogs and
Earn Money. | | | | 
December 18th, 2008, 11:07 AM
| | Jr. Member
Join Date: Dec 2008
Posts: 165
BRL$: 37.61 Thanks: 0
Thanked 3 Times in 3 Posts
Rep Power: 18 | | Re: I am getting error while connected to Mssql server in asp First of all, what is the need of using ODBC when there is an option of OLEDB/SQLOLEDB? In Asp, we should have a practice to use OLEDB/SQLOLEDB providers for MS ACCESS and MS SQL. | █ Jobs In !!! - Post Jobs, Hire Employees, Create Blogs and
Earn Money. | | | |  | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | |