UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  eUKhost's Official Web Hosting Forum > Technical Support > Windows Dedicated Server

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 16-10-2008, 12:26
new member
 
Join Date: Oct 2008
Posts: 1
Default i cant run python scripts on my dedi HELP!

k, the titlte says it all. i have probs when i try to run python scripts on my dedi.

It shows me:

Traceback <mostly recent call last<:
File "C:\mplampla", line 50 module>
import urllib,sys,re,os,socket,httplib,urllib2,time,rando m
File "C:\Python26\lib\urllib.py",line 26, in <module>
import socket
File "C:\Python26\lib\socket.py", line 46 in <module>
import _socket

ImportError: DLL load failed:This application has failed to start because application configuration is
incorrect. Reinstalling the application may fix the problem.

Help guys i really need to run this script.

I reinstalled python but same it keeps showing me the same retarded error.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 16-10-2008, 14:39
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 5,641
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

Hi,

I'm not able to figure out IP address of your server as the email address you have used to signup on forum does not match with any account in our billing system.

Please let me know your client ID or the email address which you have in our billing system. Alternatively, you can open a ticket on our helpdesk eUKhost Helpdesk :: Shared Reseller VPS Dedicated Server Hosting Support
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 16-10-2008, 21:39
Rock's Avatar
System Administrator (eUKhost.com)
 
Join Date: Dec 2006
Location: localhost
Posts: 2,484
Send a message via MSN to Rock
Cool

to the forums..

It's clear from your post that you're running Python on a Windows platform.
The error occurred here is caused by the Python interpreter not being able to find the pywintypes26.dll file, which is located in C:\Python26 directory, the reason behind this is the PATH environment variable not defining the exact location of the Python installation directory.

To add the Python installed folder to your path variable, follow these simple steps:
1) Open command prompt [Start > Run > CMD].
2) Check the existing environment settings for the PATH variable using this "echo %PATH%".
3) Now copy/paste the following text without the quotes & press enter "path = %PATH%;C:\Python26"
4) Check the changes we did above worked or not using "echo %PATH%". This should show up the Python directory along with the original system paths.

Now try running the Python scripts, they should work..
Another workaround for this is to copy all the DLL's from the Python's BIN directory to the C:\Windows\System32 directory, but I'd suggest avoiding this..

Thanks for registering at EUKHost - Community Forums! We are glad you have chosen to be a part of our community and we hope you enjoy your stay.

All the best,
__________________

Rock _a.k.a._ Jack L.
Windows Hosting || Windows Reseller Hosting
Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
Follow eUKhost on Twitter || Join eUKhost Community on Facebook
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 15:08.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
UK Web Hosting by eUKHosting 3.1.0
Copyright © 2001-2010, eUKhost LTD. All rights reserved.

 
 
UK VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

VoIP Dedicated Servers
Asterisk, Trixbox Dedicated Servers

Business Web Hosting
100% uptime Hosting

UK Cpanel Hosting
cPanel Shared Hosting

Domain Hosting
Cheap Domains & Hosting Plans

UK Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

ColdFusion Hosting
ColdFusion Web Hosting


 
Reseller Web Hosting UK
 
knowledgebase articles
eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting

Joomla Hosting
Joomla Web Hosting

Mambo Hosting
Mambo Web Hosting

Magento Hosting
Magento Web Hosting

Wordpress Hosting
Wordpress Web Hosting


popular blog categories

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles