Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot write to the INI file
Message
From
17/08/2006 09:30:28
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01146174
Message ID:
01146345
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform