Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 28th, 2005, 05:48 AM
warstormer warstormer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 7 warstormer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 16 sec
Reputation Power: 0
Angry Error '80040e10'

Hi, trying to query a SQL 2000 d-base from an asp page form on my development site and I get the wonderfully useful error '80040e10'. The live site with exactly the same code works fine. Could this be a permissions problem?

Reply With Quote
  #2  
Old January 28th, 2005, 06:04 AM
A2k's Avatar
A2k A2k is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 166 A2k User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 h 44 m 10 sec
Reputation Power: 4
yes, it could be permissions. try writing your sql string onto the page, and executing it in query analyser using the anonomous account or one with similar priviledges and see what the actual error is.

Reply With Quote
  #3  
Old January 28th, 2005, 06:21 AM
warstormer warstormer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 7 warstormer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 16 sec
Reputation Power: 0
Quote:
Originally Posted by A2k
yes, it could be permissions. try writing your sql string onto the page, and executing it in query analyser using the anonomous account or one with similar priviledges and see what the actual error is.


Thanks, I'll give that a try and check back...

Reply With Quote
  #4  
Old February 4th, 2005, 06:51 AM
warstormer warstormer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 7 warstormer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 16 sec
Reputation Power: 0
OK, bit more info here... This code in the page is referencing a stored procedure. The error pinpoints line 36 (Set rs = cmd.Execute).

cnn.Open connSQL
cmd.ActiveConnection = connSQL
cmd.CommandText = "spRegion_Search"
cmd.CommandType = 4
cmd.Parameters.refresh
cmd.Parameters("@vRegion").Value = Request.Form("area")
cmd.Parameters("@vLanguage").Value = Request.Form("lang")
cmd.Parameters("@vEndorsement").Value = Request.Form("endorsement")
cmd.Parameters("@vEndorsement2").Value = Request.Form("endorsement2")
cmd.Parameters("@vEndorsement3").Value = Request.Form("endorsement3")
cmd.Parameters("@vTopic").Value = Request.Form("topic")
cmd.Parameters("@vTopic2").Value = Request.Form("topic2")
cmd.Parameters("@vLocation").Value = Request.Form("location")
cmd.Parameters("@vDriver").Value = Request.Form("driver")
Set rs = cmd.Execute

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > Error '80040e10'


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT