473,387 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

"Invalid Function" When accessing a 'MVFS' drive.

My project is an ASP-based web page, with C# as the language of choice.

I have written a simple tree view that displays the structure of a file
system mounted as 'MVFS' (On my system, it's W:/). This is a clearcase file
system that is version-aware.

The code populates the tree as folders and files very much like Explorer and
when a user clicks on a node that refers to a file, it will send the file to
the user to open or save as any normal web page would do.

This all works fine on my local XP workstation. However, the problem I have
run into is when I copy the web project onto a Windows 2003 Server. I can
load the web page and the tree populates with no issue. Folder and file names
are as expected. However, when I click on a file node, and exception "Invalid
Function" is thrown.

Now, I have noticed that if I get on the server and open a file in Notepad,
and then go back to the Web Page and click the file node, it will be
available for download as expected.

I have tried various things such as running the DOS "type" commanding from
C# on the file as the link is clicked to make it available. However, no file
action from within the ASP code seems to be effective until some external
application does an operation on it.

Another test I have done is to write a simple C# File.Copy() function to
copy a file from W:/ to C:/temp in the ASP code. This function throws
"Invalid Function". Then, I used the same File.Copy() in a tiny C#
application (non-ASP) and it works fine. After running that tiny app, the ASP
will copy the file with no problem.

It seems to be isolated to IIS on Windows2003. I would very much like to
hear any ideas regarding what I can do to get around the "Invalid Function"
exception.

Thanks in advance for any time you spend considering this puzzle.
Sep 29 '06 #1
0 1225

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

Similar topics

1
by: Christoph | last post by:
newFieldElement = document.createElement( 'INPUT' ); newFieldElement.onblur = new Function( "calculatePremiumOptionTotal( this );" ); In my (dynamically generated) javascript, I've never had a...
7
by: | last post by:
I found similiar issues in MS-KB but nothing that helped me; got the Windows and Office updates from the MS website but that hasn't changed the behavior of this problem, and I don't see anything...
1
by: mtanq | last post by:
My project is an ASP-based web page, with C# as the language of choice. I have written a simple tree view that displays the structure of a file system mounted as 'MVFS' (On my system, it's W:/)....
1
by: Java Guy | last post by:
I'm trying to view a web page. IE tells me there are (Java?) errors on the page. Here they are: Line: 15 Char: 7 Error: Wrong number of arguments or invalid propert assignment Code: 0 URL:...
4
by: chuaby | last post by:
Hi May i know is it possible to run a function when we pass in the function name as parameter ? eg retval = functionA(A) but i would like to have something like : varFun = functionA(A)
5
by: Grant Edwards | last post by:
I'm trying to use the py-gnuplot module on windows, and have been unable to get it to work reliably under Win2K and WinXP. By default, it uses popen(gnuplotcmd,'w'), but in some situations that...
10
by: jonathanemil | last post by:
Hello, I am a 1st semester Computer Science student in a Python class. Our current assignment calls for us to read a list from a file, create a 2-dimensional list from the file, and check to see...
0
by: Tyecom | last post by:
I have an application that was created in VB.Net 2005, using Windows Forms. The application has a DataGridView that is accessing its data from a SQL Database. One of the function of the application...
4
RMWChaos
by: RMWChaos | last post by:
Darnit all, I expect the code I steal from others to work! =D Below is some code that I got to initiate multiple javascripts on page load (rather than using the "onload=" attribute). According the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...

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.