kmatthews Posted May 11, 2009 Share Posted May 11, 2009 is there a way to reset a c1013 error once network server is back up and running. if i have a problem with server and have to reboot, i get c1013 error and have to shut down and restart all my applications. is there a way to automatically check when server is back up and reconnect or maybe a way to reconnect without restarting application? Link to comment Share on other sites More sharing options...
AzeoTech Posted May 12, 2009 Share Posted May 12, 2009 I'm not sure. Its more a windows thing I'm afraid. Do you have Continue on Error checked? This will cause it to keep retrying. Alternatively, if its the name, you might try changing the logging set name to get the logging set to close the current file and start a new one on the rebooted server. I don't know of a good way to determine when the server is back up other than by retrying the logging. Link to comment Share on other sites More sharing options...
kmatthews Posted May 18, 2009 Author Share Posted May 18, 2009 i do have continue on error checked and it just gives you an error message every time it retries. the only way i can start logging again is to shut down application and restart. Link to comment Share on other sites More sharing options...
AzeoTech Posted May 18, 2009 Share Posted May 18, 2009 Can you change the logging set name? Link to comment Share on other sites More sharing options...
kmatthews Posted May 18, 2009 Author Share Posted May 18, 2009 i'm not sure what you're asking. do you mean can i change when i have rebooted server and have error? if so i'm sure i can. Link to comment Share on other sites More sharing options...
AzeoTech Posted May 18, 2009 Share Posted May 18, 2009 I mean dynamically change the logging set name in code: logging.mylog.strFileName = "xxx" This will close the current file and reopen a new one. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.