Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot write to the INI file
Message
De
17/08/2006 09:30:28
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01146174
Message ID:
01146345
Vues:
16
>It's probably permissions. ASP.NET is bound by your server's (or Application Pools) Identity account. That account may have write permissions, but maybe not create permissions...
>
>The API calls will create the INI file if it doesn't exist, given they have permission to do so, so if they are failing you should trap the GetLastError() API to see what error code comes back.

But, in my case, the Main.ini file was already there. I was just replacing a value in it. However, I will add error trapping by the use of GetLastError().

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform