I have never worked with ISAPI before but it appears that you (or the user that the code is running as ) does not have permission to create a file on the server.
 
Hylton
----- Original Message -----
Sent: Tuesday, November 29, 2005 8:56 AM
Subject: Re: [msvc] problems with database in ISAPI

HI,
  If I insert the below lines of code in the contructor I get the following error on the web browser:
 
Invalid access to memory location.
 
Neil
 
----- Original Message -----
Sent: Tuesday, November 29, 2005 6:47 AM
Subject: [msvc] problems with database in ISAPI

Hi,
   I am using VC++ 6 , and using a 3rd party database library. Im having problems when trying to open / create a database, Im getting a error code just saying cant be created/opened. So I tried a simple file creation within the Default(..) function of the ISAPI as follows:
 FILE *fp=fopen("c:\\Test.txt","wb");
 char t[90];sprintf(t,"neil");
 fwrite(t,10,10,fp);
 fclose(fp);
Now when I ran the extension I got HTTP 500 internal server error on the web page. If I remove the above lines all works.  Anyone Any Idea?
 
Im using IIS 5.1 on XP pro
 
Many Thanks
Neil
 


_______________________________________________
msvc mailing list
msvc@beginthread.com
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.


_______________________________________________
msvc mailing list
msvc@beginthread.com
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
_______________________________________________
msvc mailing list
msvc@beginthread.com
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to