473,804 Members | 2,719 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mit ASP Fileserver (Directorylist) auslesen

Hallo

Ich möchte aus unserem Fileserver die Directorystrukt ur inkl Filenamen
via ASP auslesen und diese in eine DB Tabelle eintragen. Der Webserver
(IIS) läuft auf einem anderen Rechner.

Ich habe verschiedene Ansätze probiert, aber leider scheitert das
Vorhaben am Fehler "The Path parameter for the MapPath method must be
a virtual path. A physical path was used. "

Ich versuche mit rd = RecursiveDir
(server.mappath ("t:/Plandaten/Inhalte")) den Pfad rekeursiv
aufzulösen.

Kann mir jemand einen Ansatz für eine solche Aufgabenstellun g geben ?

Gruss aus Bern

Joe
Jul 19 '05 #1
1 2159
Ich kann Deutsche nicht gesprechen. If you have the physical path already,
you don't have to server.mappath. Also, is T a local drive? If not, use a
UNC path, \\server\share. But you will have to synchronize IUSR accounts on
the two machines, use a domain account, or create an account on \\server
with the same name and password as you use on the IIS server.

Ray nach Arbeit

"Josef Buergi" <jo**********@b ve.be.ch> wrote in message
news:fd******** *************** ***@posting.goo gle.com...
Hallo

Ich möchte aus unserem Fileserver die Directorystrukt ur inkl Filenamen
via ASP auslesen und diese in eine DB Tabelle eintragen. Der Webserver
(IIS) läuft auf einem anderen Rechner.

Ich habe verschiedene Ansätze probiert, aber leider scheitert das
Vorhaben am Fehler "The Path parameter for the MapPath method must be
a virtual path. A physical path was used. "

Ich versuche mit rd = RecursiveDir
(server.mappath ("t:/Plandaten/Inhalte")) den Pfad rekeursiv
aufzulösen.

Kann mir jemand einen Ansatz für eine solche Aufgabenstellun g geben ?

Gruss aus Bern

Joe

Jul 19 '05 #2

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

Similar topics

1
1867
by: Christoph Weis | last post by:
Hallo, folgendes kleines Skript zeigt leider kein Ergebnis an: <?PHP function getImagesFromPath($path) { $result = array(); $handle=opendir($path);
3
1565
by: Marco Aschwanden | last post by:
Hi I would like to install Python on a fileserver. All the machines (all Win2K) should afterwards use this Python installation. The (Python) apps I am developing will be as well placed on the fileserver. My advantages would be: - I have to keep only 1 Python installation up-to-date. - (Frequent) changes of the apps are easily distributed by copying them to the fileserver.
0
1001
by: Karl Rhodes | last post by:
Ok, we think we have a problem which SHOULD be simple to resolve but appears to be impossible (unless we're not as good as we thought we were!!!) We have seperate workstations on which we do our development. We have a seperate server running IIS which hosts all our development websites. We have a seperate fileserver where all our source code is kept in a very neat file structure.
5
2135
by: haltestelle | last post by:
Hallo, ist es möglich rauszufinden auf welchen filesystem sich meine datei befindet ? zbsp. habe eine datei auf nen nfsserver liegen. es möchte ich gerne rausfinden, das die datei auf nen nfsserver liegt oder
1
2661
by: Phane01 | last post by:
Hallo, ich habe eine Frage bezüglich des auslesens von Controls von Programmen. Ich schreibe an einem Programm, welches ein externes Tool starten soll. Das starten an sich ist kein Problem. In dem externen Programm soll nun ein bestimmer Menüpunkt ausgeführt werden. Dieser ist jedoch nicht über einen Shortcut zu erreichen, sondern nur über das Menü und einen Button in der Menüleiste. Ich möchte nun wissen ob es möglich ist, aus C# heraus,...
1
308
by: Adam aku | last post by:
Hi! I suppose this is an easy problem but despite searching through manuals I have not as yet been able to solve it I have a asp .net web form which needs to access files from our fileserver. The problem is that the IIS and web app are on a different server than the fileserver (both are win2003 servers) The IIS settings are set to windows authentication, my app has impersonation and windows authentication, yet still I receive an error when...
1
1277
by: Phane01 | last post by:
Hallo, ich habe eine Frage bezüglich des auslesens von Controls von Programmen. Ich schreibe an einem Programm, welches ein externes Tool starten soll. Das starten an sich ist kein Problem. In dem externen Programm soll nun ein bestimmer Menüpunkt ausgeführt werden. Dieser idt jedoch nicht über einen Shortcut zu erreichen, sondern nur über das Menü und einen Button in der Menüleiste. Ich möchte nun wissen ob es möglich ist, aus C# heraus,...
1
4283
by: marcel.stallmach | last post by:
Hallo, ich bin ehrlich schon am verzweifeln. Ich habe eine lokale Anwendung (Access) von wo aus eine HttpSendRequest an eine Website gesendet wird. Im HttpSendRequest werden die Daten per POST übermittelt. Die Website die aufgerufen wird ist eine ASPX-Seite und soll nun die geposteten Daten auslesen.
0
953
by: dotnettester | last post by:
Hi, I want to know, what will be a good solution to have indexing on a site. I want to provide users ability to search for documents on a fileserver, on the same network. IIS is running on server1 and files are located on server2. Should I place the catalog on IIS server - server1, (using a mapped network drive to point to server2) or should I create the catalog on the fileserver-server2, and provide the search results through a...
0
9577
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
10569
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10075
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...
0
9140
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
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
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
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
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.