Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 31st, 2003, 08:12 PM
benos benos is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 233 benos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Article Dicussion: Writing Secure Dreamweaver MX Applications

If you have any questions or comments about this article please post them here.

This forum post relates to this article

Reply With Quote
  #2  
Old April 2nd, 2003, 01:54 PM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 7
Can't run a .mdb file renamed to .asp

I have tried this earlier (and also today) to rename my Access Database from mydatabase.mdb to mydatabase.asp. It run's without problem locally on my computer (XP Pro), but when I upload it to the server (Windows 2000) I get an 500 Internal Server Error.

In the article this possibility was called a "bug"? Is it anything my ISP can do to make it possible to run a renamed .mdb file?

EiSa

Reply With Quote
  #3  
Old April 4th, 2003, 12:05 PM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 7
Ok, this is what happens. I convert an Access Database to a asp file as described. (From mydatabase.mdb to mydatabase.asp). It runs without problem locally on my computer.

When I ftp mydatabase.asp to the server the file becomes empty (0 Kb). Any idea why this happens?

I'm using Macromedia MX.

I have fixed it by renaming the .mdb file directly on the server, but I'm still wondering why I'm not able to ftp the file.

Forget it, I will answer this myself:
When you upload an ASP page, it uploads in ASCII and when you upload a program, picutre ect, it uploads in binary. If you upload your mdb as an asp page, it will upload it in ascii rendering it immediately corrupted.

EiSa

Last edited by EiSa : April 5th, 2003 at 04:00 AM.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > Article Dicussion: Writing Secure Dreamweaver MX Applications


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 4 hosted by Hostway
Stay green...Green IT