473,625 Members | 2,853 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

COM on a network drive can't find pywintypes23.dl l

Hi

I have installed Python (2.3.4) on a shared network drive. I use it to run
a bunch of application on the workstations (Win2K).

Now I am running into the first problem ever. I try to use COM to generate
a word-file. It runs fine on my machine (Python installed locally). When I
deploy it and start the app on another workstation from the fileserver -
it runs but as soon as it comes to the COM part it exits saying:

The procedure entry point
?PyWinObject_As DEVMODE@@YAHPAU _object@@PAPAU_ devicemodeA@@H@ Z could not be
located in the dynamic link library pywintypes23.dl l
Heck... I copied the files:

pythoncom23.dll
pywintypes23.dl l

to about "1000" locations to make it run (Application's dir, Workstation's
System Dirs, Fileserver's Python main and bin dir, ...). I tried setting
the path on the workstations. But nothing seems to solve the problem.

Do you have any proposals how to solve this problem?

Thanks in advance,

Marco

Jul 18 '05 #1
1 1799
This means the machine is finding an older verion
of pywintypes23.dl l first, rather than not finding it at all.
You may have an old version hanging around in the
\system32 directory on that machine. (or anywhere else
that it would be found first). You might also want to
verify that the dll's you're copying around both come
from the same distribution.

Roger

"Marco Aschwanden" <PP**********@s pammotel.com> wrote in message
news:ma******** *************** *************** *@python.org...
Hi

I have installed Python (2.3.4) on a shared network drive. I use it to run
a bunch of application on the workstations (Win2K).

Now I am running into the first problem ever. I try to use COM to generate
a word-file. It runs fine on my machine (Python installed locally). When I
deploy it and start the app on another workstation from the fileserver -
it runs but as soon as it comes to the COM part it exits saying:

The procedure entry point
?PyWinObject_As DEVMODE@@YAHPAU _object@@PAPAU_ devicemodeA@@H@ Z could not be
located in the dynamic link library pywintypes23.dl l
Heck... I copied the files:

pythoncom23.dll
pywintypes23.dl l

to about "1000" locations to make it run (Application's dir, Workstation's
System Dirs, Fileserver's Python main and bin dir, ...). I tried setting
the path on the workstations. But nothing seems to solve the problem.

Do you have any proposals how to solve this problem?

Thanks in advance,

Marco



----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3637
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore my settings if my profile became tampered with or corrupt. Is there any sample code available out there? -Robert
2
5790
by: giloosh99 | last post by:
Hello, Im grabbing tables via VB code using visual foxpro ODBC drives. The tables directory is in a mapped network drive. The code works fine and does the job, however if the computer is idle for a while the network drive apears to have a red X on the icon and the drive becomes disconnected. this seems to effect the VB code from grabbing the tables. I get an error saying the specific table cannot be found. If i manually open the mapped...
5
21557
by: Niloday | last post by:
Hi All, I am trying to access a mapped network drive from a service that I have created. The service needs to create/delete folders/files on a network drive. When I tried to connect to a folder on mapped network drive (eg. N:\Storage that corresponds to \\FS1NS\SharedDir\), I get an error as "Could not find part of path N:\".
8
11840
by: Lam | last post by:
HI anyone knows how can I open a mapped network file in C#? I try string file = @"T:\file.txt"; it shows me the error: "Could not find a part of the path" but if I copy the file to my C dirve, and use @"C:\file.txt"; it worked Thanks a lot
5
4461
by: Nirosh | last post by:
Hi All, Can any one suggest me a best way to do this .. I have a thrid party tool "EXE" that we need to use with our web service to manipulate some complex XML files, which reside in a seperate files server. we have mapped the fodler to a different folder and need to allow the EXE to process on the mapped drive. When I trigger the EXE via web service the EXE get the permission of the launching user (mean ASP.NET user) resulting a...
2
2666
by: .Net Believer | last post by:
I using the routine below to copy file to a network drive for a regular backup process. Before calling this routine I using another function to check the presence of the LAN connection and the server where the network drive exists. Although of this check I am sometimes getting an exception (in 5% of times)saying "Could not find the U:\...\File.ext" or part of its path" Although the network dirve is available and accessible by windows...
10
5764
by: mukeshhtrivedi | last post by:
Hi, I have some MDB (MS Access 2000) files on our server. It is small application created by one of our employee long time ago. I see this application is on Network Drive G: and H: (both drive has same databases, I don't know why). When user accesses this aplication it opens Timecard.MDB from H: drive. (when I disconnect computer from Network I get error saying couldn't find H: Drive). I have copied all these MDBs to my XP computer on...
10
11009
by: =?Utf-8?B?Z3JlYXRiYXJyaWVyODY=?= | last post by:
Sorry about that previous one. I pressed enter too early. How does one go about mapping a network drive in C#. i know you use MapNetworkDrive in scripting languages, but i'm not sure how to do it in C#. It doesnt seem like C$ would use MapNetworkDrive.
5
3565
by: Phil | last post by:
A file used by my application may be stored on a shared network drive, so that it can be accessed by different people using the same application. I have written some code that uses an OpenFileDialog to allow the user to specify the location of the file (I then store the filename in the registry). This all works fine from when the application is run normally, but I would like to force the user to do this when the software is first...
0
8253
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8189
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8635
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8354
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8497
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6116
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4192
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2621
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.