I am getting error while connected to Mssql server in asp

This is a discussion on I am getting error while connected to Mssql server in asp within the ASP / ASP.NET forums, part of the Web Development category; Hello I am getting error while connected to Mssql server in asp. How to resolve it. Microsoft OLE DB Provider ...
 
Members Login.
 

Please register HERE to be part of our Community

ASP / ASP.NET » Current Topics
 

Popular Social Groups.
 
The active BRL users
cwp (web development)
Malaysia Member
Richest Members

Contest of the Day.
 
Contest # 8 (Longest Thread Contest)

Invite Your Friends...
 

Invite your contacts from social groups / email address book to Join BRL.
Information is transmitted over secure channel.
We don't store any information.


Sponsors.
 



BRL Webmaster Forum » Programming & Web Development » Web Development » ASP / ASP.NET » I am getting error while connected to Mssql server in asp

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.

Reply
  #1 (permalink)  
Old November 14th, 2008, 03:46 AM
Jr. Member

developer's Avatar
Join Date: Dec 2006
Posts: 163
BRL$: 378.76
Thanks: 1
Thanked 2 Times in 2 Posts
Rep Power: 67
developer is on a distinguished road
Send a message via MSN to developer Send a message via Yahoo to developer Send a message via Skype™ to developer
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old November 14th, 2008, 22:06 PM
Senior Member

smartzkool's Avatar
Join Date: Aug 2008
Location: India
Posts: 2,405
BRL$: 124.31
Thanks: 22
Thanked 74 Times in 74 Posts
Rep Power: 250
smartzkool is on a distinguished road
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 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
Sandeep is on a distinguished road
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old December 18th, 2008, 11:07 AM
Jr. Member

a2zorkut's Avatar
Join Date: Dec 2008
Posts: 165
BRL$: 37.61
Thanks: 0
Thanked 3 Times in 3 Posts
Rep Power: 18
a2zorkut is on a distinguished road
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
asp, connected, error, mssql, server


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adobe ColdFusion8 prashuaishu Cold Fusion 0 October 22nd, 2008 12:33 PM
Best Deals for “All Managed – All the time.” Rss_Feeds Dedicated Server Offers 0 September 22nd, 2007 01:51 AM
Swiftway: Amazing dedicated server offers, low prices, from 25 euro monthly! Rss_Feeds Dedicated Server Offers 0 September 15th, 2007 16:15 PM
All Managed – All the time. Great Deals! Rss_Feeds Dedicated Server Offers 0 September 14th, 2007 21:43 PM
* $99 Dual Xeon Servers * $49 Servers * Dual & Quad Cores Too * All $0 Setup * Rss_Feeds Dedicated Server Offers 0 July 20th, 2007 20:50 PM


 
Terms Of Usage

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106