Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging problems (!)
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00672911
Message ID:
00672985
Vues:
12
Have you tried creating a new file and copying the code from the file and pasting it into another file?

>I just restarted my computer and got the same thing (the server and my test environment are on the same machine).
>
>Here's a bit more info that may or may not help:
>
>It appears my problem may be with a file operation I'm attempting. Here's the code:
>
>
>dim gnfilehandle  as system.io.filestream
>gnfilehandle = fopen(str_savedfile)   'this works fine at this point...file opens normally
>dim g_len as integer = gnfilehandle.length -1  'this is the line that stops
>
>
>Once I hit the last line there, the system sits for about 15 seconds, then my watch box shows that the gnfilehandle.length now shows "error:cannot obtain value." Between the fopen statement and the bottom line, the watch showed the correct length. My file "disappears"
>
>the file is in the Windows/temp directory.
>
>Remember that yesterday this all worked correctly.
>
>ugh.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform