Click here to Skip to main content
15,908,909 members
Home / Discussions / C#
   

C#

 
QuestionWhere is the connection string settings? URGENT Pin
evlxtc5-May-06 1:27
evlxtc5-May-06 1:27 
I get the following error when trying to run my ASPX page on my live server but it works FINE on my local test server. Where is the database connection settings for this as I can ONLY think that is the problem?
ERROR

System.Data.OleDb.OleDbException: Could not find installable ISAM.
at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
at System.Data.OleDb.OleDbConnection.InitializeProvider()
at System.Data.OleDb.OleDbConnection.Open()
at DreamweaverCtrls.DataSet.DoInit()
--------------------------------------------------------------------------------
System.Data.OleDb.OleDbException: Could not find installable ISAM.
at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
at System.Data.OleDb.OleDbConnection.InitializeProvider()
at System.Data.OleDb.OleDbConnection.Open()
at DreamweaverCtrls.DataSet.DoInit()
--------------------------------------------------------------------------------
System.Exception: The DefaultView was requested but no tables yet exist.
at DreamweaverCtrls.DataSet.get_DefaultView()
--------------------------------------------------------------------------------
System.Data.OleDb.OleDbException: Could not find installable ISAM.
at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
at System.Data.OleDb.OleDbConnection.InitializeProvider()
at System.Data.OleDb.OleDbConnection.Open()
at DreamweaverCtrls.DataSet.DoInit()
--------------------------------------------------------------------------------
System.Exception: The DefaultView was requested but no tables yet exist.
at DreamweaverCtrls.DataSet.get_DefaultView()



Other than this my files are as follows.
ASPX file:
--------------------------------------
<%@ Page Language="C#"%>
<%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral"

%>
<mm:dataset
id="DataSet1"
runat="Server"
isstoredprocedure="false"
connectionstring="<%# System.Configuration.ConfigurationSettings.AppSettings["MM_CONNECTION_STRING_GKAUser"] %>"
databasetype="<%# System.Configuration.ConfigurationSettings.AppSettings["MM_CONNECTION_DATABASETYPE_GKAUser"] %>"
commandtext="<%# "SELECT * FROM tblWOL WHERE usern = ? ORDER BY usern ASC" %>"
failureurl="<%# "noaccess.htm" %>"
debug="true"
=""><parameters><parameter name="@usern" value="<%# (Request.Cookies["AuthenticateGKDUser"] != null) ? Request.Cookies["AuthenticateGKDUser"].Value :

"" %>" type="WChar">

<mm:pagebind runat="server" postbackbind="true">

<%@ Register TagPrefix="Portal" TagName="ImageCanvas" Src="ImageCanvas.ascx" %>
<%@ import Namespace="System.Drawing" %>


void Page_Load(Object sender, EventArgs e)
{

HttpCookie UserCookie = Request.Cookies["AuthenticateGKDUser"];
if (null == UserCookie){
Response.Write("No cookie");

//string UserCookieValue = "evlxtc";
}
else{
string UserCookieValue = UserCookie.Value.ToString();
//Response.Write(UserCookieValue);
};
//Response.Write(UserCookieValue);

int WOLScr1StrX, WOLScr1StrY, WOLScr2StrX, WOLScr2StrY, WOLScr3StrX, WOLScr3StrY, WOLScr4StrX, WOLScr4StrY, WOLScr5StrX,

WOLScr5StrY, WOLScr6StrX, WOLScr6StrY, WOLScr7StrX, WOLScr7StrY, WOLScr8StrX, WOLScr8StrY, WOLScr9StrX, WOLScr9StrY, WOLScr10StrX, WOLScr10StrY,

WOLScr11StrX, WOLScr11StrY, WOLScr12StrX, WOLScr12StrY, WOLScr13StrX, WOLScr13StrY;
int pWOLScr1StrX, pWOLScr1StrY, pWOLScr2StrX, pWOLScr2StrY, pWOLScr3StrX, pWOLScr3StrY, pWOLScr4StrX, pWOLScr4StrY,

pWOLScr5StrX, pWOLScr5StrY, pWOLScr6StrX, p.........etc
----------------------------------------------------------------

<b>location of my DB </b>is : C:\Domains\gkabayete.com\wwwroot\login\db\GKA.mdb (ON the live server)
-----------------------------------------------------------------

<b>web.config is :</b>
----------------
<configuration>
- <appSettings>
<add key="MM_CONNECTION_HANDLER_GKAUser" value="default_oledb.htm" />
<add key="MM_CONNECTION_STRING_GKAUser" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Domains\gkabayete.com\wwwroot\login\db\GKA.mdb;Persist Security Info=False" />
<add key="MM_CONNECTION_DATABASETYPE_GKAUser" value="OleDb" />
<add key="MM_CONNECTION_SCHEMA_GKAUser" value="" />
<add key="MM_CONNECTION_CATALOG_GKAUser" value="" />
</appSettings>
- <system.web>
<customErrors mode="Off" />
</system.web>
</configuration>
--------------------------

and my <b>connection file </b>is GKAUsers.asp:
--------------------
<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_GKAUsers_STRING
MM_GKAUsers_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Domains\gkabayete.com\wwwroot\login\db\GKA.mdb;Persist Security Info=False"
%>

-----------------------------------------

WHERE else can there be a problem that I get this error? All my files is in wwwroot\login folder and connection file is in wwwroot\login\connection folder

----------

Should the location be in quotes or something since the one dir has a dot (.) in "gkabayete.com"???



this is me
AnswerRe: Where is the connection string settings? URGENT Pin
Josh Smith5-May-06 4:31
Josh Smith5-May-06 4:31 
AnswerRe: Where is the connection string settings? URGENT Pin
Rob Philpott5-May-06 8:20
Rob Philpott5-May-06 8:20 
Questionhow does accelerate drawing operation? part 2 Pin
Sasuko5-May-06 0:49
Sasuko5-May-06 0:49 
AnswerRe: how does accelerate drawing operation? part 2 Pin
Guffa5-May-06 2:41
Guffa5-May-06 2:41 
GeneralRe: how does accelerate drawing operation? part 2 Pin
Sasuko5-May-06 3:56
Sasuko5-May-06 3:56 
QuestionStringSplitOptions Pin
eyalso5-May-06 0:24
eyalso5-May-06 0:24 
AnswerRe: StringSplitOptions Pin
jeyapandian5-May-06 0:29
jeyapandian5-May-06 0:29 
AnswerRe: StringSplitOptions Pin
alexey N5-May-06 0:40
alexey N5-May-06 0:40 
QuestionShow ScrollBars on Image Pin
Greeky5-May-06 0:16
Greeky5-May-06 0:16 
AnswerRe: Show ScrollBars on Image Pin
alexey N5-May-06 0:45
alexey N5-May-06 0:45 
QuestionClickOnce robust, reliable ? Pin
BillWoodruff5-May-06 0:12
professionalBillWoodruff5-May-06 0:12 
Questionchanging C# program into installers Pin
relsirc4-May-06 23:53
relsirc4-May-06 23:53 
AnswerRe: changing C# program into installers Pin
Josh Smith5-May-06 1:28
Josh Smith5-May-06 1:28 
QuestionLogin/Authentication Pin
Insane D4-May-06 23:53
Insane D4-May-06 23:53 
AnswerRe: Login/Authentication Pin
User 98856-May-06 5:24
User 98856-May-06 5:24 
AnswerRe: Login/Authentication Pin
User 98856-May-06 5:26
User 98856-May-06 5:26 
GeneralRe: Login/Authentication Pin
Insane D6-May-06 23:24
Insane D6-May-06 23:24 
GeneralRe: Login/Authentication Pin
User 98856-May-06 23:53
User 98856-May-06 23:53 
GeneralRe: Login/Authentication Pin
Insane D7-May-06 20:37
Insane D7-May-06 20:37 
Questioncount words Pin
eyalso4-May-06 23:41
eyalso4-May-06 23:41 
AnswerRe: count words Pin
alexey N4-May-06 23:50
alexey N4-May-06 23:50 
GeneralRe: count words Pin
eyalso5-May-06 0:00
eyalso5-May-06 0:00 
GeneralRe: count words Pin
alexey N5-May-06 0:22
alexey N5-May-06 0:22 
QuestionChanging Colors Pin
Greeky4-May-06 22:54
Greeky4-May-06 22:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.