Author Topic: ODBC / XML  (Read 10498 times)

0 Members and 1 Guest are viewing this topic.

Offline OisteinR

  • Full Member
  • ***
  • Posts: 104
  • Why not...
ODBC / XML
« on: October 26, 2004, 01:23:15 PM »
I've been trying to change from ODBC to XML, but I keep getting this error:

26.10.2004   12:49:00   1098787740   SYSTEM   1180   During the parsing of C:\Program Files\Alwil Software\Avast4\DATA\avast4.xml XML document, following error occurred: C.

There is no avast4.xml file present at any time.

Everything works, but my settings are not saved.

I've seen this question asked several times, but have found no answer.

I've tried repair, uninstall, re-install.......you name it.
How can I change to avast4.xml???

Regards
OisteinR



i7 860 2.8GHZ, 8GB RAM, 1x250Gb Corsair SSD, 5x2TB HD, Windows 7 Professional 64bit, avast! V7.0.1401 AIS

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9369
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:ODBC / XML
« Reply #1 on: October 26, 2004, 01:34:45 PM »
Hm,use my avast! External Control Tweaker and switch between XML and ODBC. You can't miss the function on the functions selection list :)
Visit my webpage Angry Sheep Blog

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11801
    • AVAST Software
Re:ODBC / XML
« Reply #2 on: October 26, 2004, 01:53:52 PM »
Does the error message really ends with "C."? Isn't there anything else, possibly not visible with given column width, after that?

Offline OisteinR

  • Full Member
  • ***
  • Posts: 104
  • Why not...
Re:ODBC / XML
« Reply #3 on: October 26, 2004, 02:09:17 PM »
Does the error message really ends with "C."? Isn't there anything else, possibly not visible with given column width, after that?

Yes, the error message ends with C.     nothing else.

When I do a search for avast4.xml, this is mentioned in many of the threads.

Btw: I exported avast4.mdb to avast4.xml, and the errormessage doesn't show anymore, but the settings are not saved.
i7 860 2.8GHZ, 8GB RAM, 1x250Gb Corsair SSD, 5x2TB HD, Windows 7 Professional 64bit, avast! V7.0.1401 AIS

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11664
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:ODBC / XML
« Reply #4 on: October 27, 2004, 02:29:04 PM »
Is there write access to the DATA directory?
Error "C" is quite as expected, meaning that the file cannot be read (which is no surprise as it does not exist). BTW This message is not emitted when the file is being saved but when it's being read...


If at first you don't succeed, then skydiving's not for you.

Offline OisteinR

  • Full Member
  • ***
  • Posts: 104
  • Why not...
Re:ODBC / XML
« Reply #5 on: October 27, 2004, 04:29:02 PM »
Is there write access to the DATA directory?
Error "C" is quite as expected, meaning that the file cannot be read (which is no surprise as it does not exist). BTW This message is not emitted when the file is being saved but when it's being read...

Write access should be ok, as Avast4.mdb works in the same directory.
....but how can the file be created?
As I said earlier, everything seems to work ok except the settings for the On-Access Scanner.
i7 860 2.8GHZ, 8GB RAM, 1x250Gb Corsair SSD, 5x2TB HD, Windows 7 Professional 64bit, avast! V7.0.1401 AIS

Offline ziffete

  • Newbie
  • *
  • Posts: 15
Re:ODBC / XML
« Reply #6 on: October 27, 2004, 04:35:50 PM »
I'm trying to use xml database too.
how did you created the avast4.xml file ?
and shouldn't avast create itself if it isn't found ?
(is this a bug or I'm missing something?)
thanks.

Offline OisteinR

  • Full Member
  • ***
  • Posts: 104
  • Why not...
Re:ODBC / XML
« Reply #7 on: October 27, 2004, 05:32:49 PM »
I'm trying to use xml database too.
how did you created the avast4.xml file ?
and shouldn't avast create itself if it isn't found ?
(is this a bug or I'm missing something?)
thanks.

Maybe we both are missing something....
I just opend avast4.bdm in Access, and exported to a XML-file.
Of course the content in that file is not correct, but at least I got rid of the error message in the log on every reboot.
If you use default settings in the On-Access Scanner, you won't notice that the file don't keep the settings.

How do we get a correct XML-file????
i7 860 2.8GHZ, 8GB RAM, 1x250Gb Corsair SSD, 5x2TB HD, Windows 7 Professional 64bit, avast! V7.0.1401 AIS

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67250
Re:ODBC / XML
« Reply #8 on: October 27, 2004, 07:33:00 PM »
I attached my avast4.xml file. Can you try it, renaming from avast4.xml.txt to avast4.xml  ;)
The best things in life are free.

Offline OisteinR

  • Full Member
  • ***
  • Posts: 104
  • Why not...
Re:ODBC / XML
« Reply #9 on: October 27, 2004, 08:55:59 PM »
I attached my avast4.xml file. Can you try it, renaming from avast4.xml.txt to avast4.xml  ;)

Thank you.
I saved the file, used the avast!ExternalControl.exe to change to XML.
After the restart, the Network Shield was terminated.
The errormessage in the log is gone, but at startup you can actually have ANY XML-file to get rid of that.

Started NetworkShield, and changed sensitivity to High on the Standard Shield.
After rebooting the computer, the NetworkShield was again terminated, and StandardShield changed to Normal.

Avast4.xml seems untouched. (Size and timestamp).



i7 860 2.8GHZ, 8GB RAM, 1x250Gb Corsair SSD, 5x2TB HD, Windows 7 Professional 64bit, avast! V7.0.1401 AIS

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67250
Re:ODBC / XML
« Reply #10 on: October 27, 2004, 09:14:27 PM »
I'm lost...  :-[ I did all that I can  :-\ Sorry, don't know what more can I do...  :'(
The best things in life are free.

Offline ziffete

  • Newbie
  • *
  • Posts: 15
Re:ODBC / XML
« Reply #11 on: October 27, 2004, 09:20:51 PM »
I tried your avast.xml too, but settings aren't saved.

Offline Cochise

  • Jr. Member
  • **
  • Posts: 81
  • I'm a llama!
Re:ODBC / XML
« Reply #12 on: November 02, 2004, 08:59:44 PM »
I tried your avast.xml too, but settings aren't saved.


I have tried changing to xml and I do not get errors but my settings are not saved either. I know that before, if you made the changes and then terminated the provider and then re-booted, the changes were then saved but that trick has not seemed to work for me anymore.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67250
Re:ODBC / XML
« Reply #13 on: November 02, 2004, 09:13:56 PM »
Cochise, are you using version 4.5.504 ?
This error is supposed to be corrected there...  8)
The best things in life are free.

Offline Cochise

  • Jr. Member
  • **
  • Posts: 81
  • I'm a llama!
Re:ODBC / XML
« Reply #14 on: November 02, 2004, 09:21:40 PM »
Cochise, are you using version 4.5.504 ?
This error is supposed to be corrected there...  8)

Isn't 4.5 the Beta Version? If it is, I am still on the latest non Beta Version. I was waiting for the new release to come out. I did download the Beta version but was afraid to install it.

It seems that when using XML, my Win98se re-start problem seems to go away. It hangs every once in a while and I have to shut down manually and restart it myself. Pc shutdown always seems to work fine though.