.NETGURU
Could not find installable ISAM
Messages   Related Types
This message was discovered on ASPFriends.com 'ngfx-oledb' list.


kamills
-- Moved from [aspngfreeforall] to [ngfx-oledb] by Marcie Jones <Click here to reveal e-mail address> --

Hello Guys

I am getting this error: Could not find installable ISAM. I am
getting it when I do this line: objcmd.Connection.Open (third
from the bottom). What can be causing this problem? Thank you
for any help.

dim intID As Integer = 0
dim objConn As New OleDbConnection
("Provider=Microsoft.Jet.OLEDB.4.0;DataSource=" & Server.MapPath
("bankingDB.mdb"))
dim objCmd As OleDbCommand = New OleDbCommand("spValidateUser",
objConn)
objCmd.CommandType = CommandType.StoredProcedure

dim objParam As OleDbParameter
objParam = objCmd.Parameters.Add("@UserName", OleDbType.BSTR)
objParam.direction = ParameterDirection.Input
objParam.Value = tbUserName.Text
        
objParam = objCmd.Parameters.Add("@Password", OleDbType.BSTR)
objParam.direction = ParameterDirection.Input
objParam.Value = tbPassword.Text
        
objCmd.Connection.Open
intID = CType(objCmd.ExecuteScalar, Integer)
objCmd.Connection.Close

Reply to this message...
 
    
I got that, I found that I had too many spaces in my connection string
between 'DATA' and 'SOURCE'. Make sure there are no extra spaces and you
should be alright.

Neil
----- Original Message -----
From: "kamills" <Click here to reveal e-mail address>
To: "ngfx-oledb" <Click here to reveal e-mail address>
Sent: Tuesday, February 12, 2002 2:30 PM
Subject: [ngfx-oledb] Could not find installable ISAM

> -- Moved from [aspngfreeforall] to [ngfx-oledb] by Marcie Jones
<Click here to reveal e-mail address> --
[Original message clipped]

Reply to this message...
 
    
kamills
That was the problem. I had it as DataSource, instead of Data
Source. Thank you very much for the help.

Andy

---------- Original Message ----------------------------------

I got that, I found that I had too many spaces in my connection
string between 'DATA' and 'SOURCE'. Make sure there are no extra
spaces and you should be alright.

Neil

Reply to this message...
 
 
System.Data.CommandType
System.Data.OleDb.OleDbCommand
System.Data.OleDb.OleDbConnection
System.Data.OleDb.OleDbParameter
System.Data.OleDb.OleDbType
System.Data.ParameterDirection




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification