Flux rss
Search : in
By : Relevance Date Username
Statut : Not resolved

Asp, database problem in server

  imi, on Saturday August 30, 2008 04:15:52 AM
Hello,

I made a site which is working good in localhost. but when i upload files in site it giving problem to sign in.
The error message i getting is here:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

/imranmohiddin/rihana/login.asp, line 14.

I giving my code which i used for the signing in page in my site below
<%
// *** Validate request to log in to this site.
var MM_LoginAction = Request.ServerVariables("URL");
if (Request.QueryString!="") MM_LoginAction += "?" + Server.HTMLEncode(Request.QueryString);
var MM_valUsername=String(Request.Form("username"));
if (MM_valUsername != "undefined") {
var MM_fldUserAuthorization="";
var MM_redirectLoginSuccess="welcome.asp";
var MM_redirectLoginFailed="login.asp";
var MM_flag="ADODB.Recordset";
var MM_rsUser = Server.CreateObject(MM_flag);
MM_rsUser.ActiveConnection = MM_dbase_STRING;
MM_rsUser.Source = "SELECT username, password";
if (MM_fldUserAuthorization != "") MM_rsUser.Source += "," + MM_fldUserAuthorization;
MM_rsUser.Source += " FROM users WHERE username='" + MM_valUsername.replace(/'/g, "''") + "' AND password='" + String(Request.Form("password")).replace(/'/g, "''") + "'";
MM_rsUser.CursorType = 0;
MM_rsUser.CursorLocation = 2;
MM_rsUser.LockType = 3;
MM_rsUser.Open();
if (!MM_rsUser.EOF || !MM_rsUser.BOF) {
// username and password match - this is a valid user
Session("MM_Username") = MM_valUsername;
if (MM_fldUserAuthorization != "") {
Session("MM_UserAuthorization") = String(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value);
} else {
Session("MM_UserAuthorization") = "";
}
if (String(Request.QueryString("accessdenied")) != "undefined" && false) {
MM_redirectLoginSuccess = Request.QueryString("accessdenied");
}
MM_rsUser.Close();
Response.Redirect(MM_redirectLoginSuccess);
}
MM_rsUser.Close();
Response.Redirect(MM_redirectLoginFailed);
}
%>

Please let me know the reason why this error is showing.
Configuration: Windows XP
Firefox 1.0.7
Reply to imi  Report this message to moderators

Results for

Networking - 3-Tier Client/Server Architecture 2-tier architecture is used to describe client/server systems where the client requests resources and the server responds directly to the request, using its own resources. This means that the server does not call on another application in order to... en.kioskea.net/cs/cs3tier.php3
Reliability - Database Replication Replication consists in ensuring data availability by synchronising copies of a data source on different servers. Replication is mainly used for database management systems that manage thousands or even millions of pieces of information whose... en.kioskea.net/surete-fonctionnement/replication-bases-donnees.php3
Opening a asp file on a pc with dynamic ip Hello, i have a asp file hosted on a local pc (lets call it serverpc) in our office lan, that needs to be accessible to my team 24/7. The problem i have is that, due to a security policy i cannot assign a static ip and have to rely on the dynamic ip... en.kioskea.net/forum/affich-27157-opening-a-asp-file-on-a-pc-with-dynamic-ip

Results for

MySQL real time monitoringMySQL real time monitoring You are administrating a MySQL database and you want to analyze in real time the operations taking place in order to have a diagnostics over probable problems, errors or to monitor server activity. PhpMyAdmin... en.kioskea.net/faq/sujet-561-mysql-real-time-monitoring
RCP Server not availableRCP Server not available RCP stands for Remote Procedure Call and if the computer displays “Operation could not be completed. The RPC server is unavailable” while trying to access the printers installed on the computer or trying to... en.kioskea.net/faq/sujet-356-rcp-server-not-available

Results for

Add more users to a XP pro networkHello, I have 10 computers linked into a XP pro based server, all using a database programme loaded into a virtual drive on the server. I have tried to add more computers to the network but it all crashes. How can I add more computers to see the... en.kioskea.net/forum/affich-8942-add-more-users-to-a-xp-pro-network
Windows forms and MySQLHello, I have been given the task of developing a program that will run on a clent machine and interact with a MySQL database on an internal server. It is for a phone call loggin system. Basically, each day when the first phone call is made, a csv... en.kioskea.net/forum/affich-4107-windows-forms-and-mysql
Date Format issue in my Local MS_XP machineHello, Kindly help me. In My Server Machine having the SQL Database and Server machine Date Format as 'dd/MM/yyyy' and in my Client machine having to run my windows based application where showing the date format as 'mm/dd/yyyy'... en.kioskea.net/forum/affich-9370-date-format-issue-in-my-local-ms-xp-machine

Results for

Download MovampMovamp is an environment of development to be taken. MovAMP was conceived to hold on a key USB or any other support of weak capacity. Connect it up in a computer equipped with Microsoft Windows and you have access to a server web,a database and... en.kioskea.net/telecharger/telecharger-191-movamp
Download Filezilla ServerFileZilla Server is a waiter FTP for Windows developed there open source. It includes numerous functionalities such as the support of SSL, the possibility of taking back cancel downloads, management of directories,... en.kioskea.net/telecharger/telecharger-172-filezilla-server

Results for

Network equipment - Proxy servers A proxy server is a machine which acts as an intermediary between the computers of a local area network (sometimes using protocols other than TCP/IP) and the Internet Most of the time the proxy server is used for the web, and when it is, it's an HTTP... en.kioskea.net/lan/proxy.php3
Networking - Client/Server Architecture Numerous applications run in a client/server environment, this means that client computers (computers forming part of the network) contact a server, generally a very powerful computer in terms of input/output, which provides services to the client... en.kioskea.net/cs/csintro.php3
Intranet - Installing a mail server The most commonly used e-mail server in Linux is Sendmail; however, as it is very hard to configure, we will use Qmail, an alternative e-mail server, instead. Qmail is made up of a group of programs that work with different UID/GIDs, in order to... en.kioskea.net/intranet/resmail.php3