Windows Web Hosting
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWindows Web Hosting

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 October 29th, 2006, 10:28 AM
kaid kaid is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 81 kaid User rank is Corporal (100 - 500 Reputation Level)kaid User rank is Corporal (100 - 500 Reputation Level)kaid User rank is Corporal (100 - 500 Reputation Level)kaid User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 1 h 58 m 28 sec
Reputation Power: 5
Why?

when I'm using my asp pages and the databases in my localhost that work but in my online website which I buyed
I got error thats not work are there is common problem or I'm the first????????????? that got problem in my database in the website?????????????????? and how to fix that I'm sure I m choosed to enable the active server page in my package

THANKS YOU !!

Reply With Quote
  #2  
Old October 29th, 2006, 09:06 PM
lewy's Avatar
lewy lewy is offline
Alter Ego Wizard
ASP Free Specialist (4000 - 4499 posts)
 
Join Date: Jun 2004
Location: Edinburg Tx
Posts: 4,395 lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)lewy User rank is General 10th Grade (Above 100000 Reputation Level)  Folding Points: 1009 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 2 Days 5 h 10 m 51 sec
Reputation Power: 1652
What's the error?
__________________
................... ASCII and ye shall receive ..................
Knowledge is the only resource on earth that multiplies when shared


Support the Shemzilla Project
Powered by C#

Reply With Quote
  #3  
Old October 31st, 2006, 06:46 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information
 
Join Date: Sep 2004
Location: Israel
Posts: 29,260 Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)  Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 3 Months 2 Weeks 2 Days 32 m 33 sec
Reputation Power: 2509
this has nothing to do with your host.
something with your code is wrong.
yes there are some common problems when moving servers,
one of the most common is database connection: you have
to get proper connection string sample from your host and
then change your connection string in the ASP code.

Reply With Quote
  #4  
Old November 1st, 2006, 05:47 AM
kaid kaid is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 81 kaid User rank is Corporal (100 - 500 Reputation Level)kaid User rank is Corporal (100 - 500 Reputation Level)kaid User rank is Corporal (100 - 500 Reputation Level)kaid User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 1 h 58 m 28 sec
Reputation Power: 5
Quote:
Originally Posted by Shadow Wizard
this has nothing to do with your host.
something with your code is wrong.
yes there are some common problems when moving servers,
one of the most common is database connection: you have
to get proper connection string sample from your host and
then change your connection string in the ASP code.


can you tell me how to change my connection string to my database to work in the website ?

Reply With Quote
  #5  
Old November 1st, 2006, 05:52 AM
kaid kaid is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 81 kaid User rank is Corporal (100 - 500 Reputation Level)kaid User rank is Corporal (100 - 500 Reputation Level)kaid User rank is Corporal (100 - 500 Reputation Level)kaid User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 1 h 58 m 28 sec
Reputation Power: 5
Question

Quote:
Originally Posted by Shadow Wizard
this has nothing to do with your host.
something with your code is wrong.
yes there are some common problems when moving servers,
one of the most common is database connection: you have
to get proper connection string sample from your host and
then change your connection string in the ASP code.


do you mean to change this ?
Code:
<%
Set adoCon = Server.CreateObject("ADODB.Connection")
src = Server.MapPath("db/login.mdb")
sConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & src
adoCon.Open  sConnStr
%>

Reply With Quote
  #6  
Old November 1st, 2006, 05:54 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information
 
Join Date: Sep 2004
Location: Israel
Posts: 29,260 Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)  Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 3 Months 2 Weeks 2 Days 32 m 33 sec
Reputation Power: 2509
you first have to locate your connection string.
you can find it in the line of code where you Open
the connection, e.g.
Code:
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open "something comes here"

change the "something come here" and you change
the connection string.

Reply With Quote
  #7  
Old November 1st, 2006, 05:56 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information
 
Join Date: Sep 2004
Location: Israel
Posts: 29,260 Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 23rd Grade (Above 100000 Reputation Level)  Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2Folding Points: 587377 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 3 Months 2 Weeks 2 Days 32 m 33 sec
Reputation Power: 2509
yes in your case this is the connection string.
it expects the database file to be located in folder
"db" and be named "login.mdb" and it also try to
use OLEDB drivers - not all hosts will have such
drivers available.
what error you get when using this code?

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWindows Web Hosting > Why?


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





 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

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





© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 11 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek