File Association

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Tripledrop
Newbie
Newbie
Posts: 5
Joined: September 30th, 2016, 6:07 am

File Association

Post by Tripledrop »

Hi all,

I'm having a problem opening Sab today... For some reason it didn't open earlier, and then somehow I managed to associate Edge browser with the .exe, and now whenever I try to load Sab, I get this error in Edge:

SABnzbd detected a fatal error:
"C:\Users\Mike\AppData\Local\sabnzbd\sabnzbd.ini" is not a valid configuration file
Error message: Invalid line at line "1".

Specify a correct file or delete this file.


Program did not start!


I re-installed too, but still; the same.

Any ideas?

Cheers

Mike
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: File Association

Post by shypike »

Something went wrong with your settings files.
There should be a file called C:\Users\Mike\AppData\Local\sabnzbd\sabnzbd.ini.bak also.
Make sure SABnzbd is not running.
Then remove C:\Users\Mike\AppData\Local\sabnzbd\sabnzbd.ini
and rename C:\Users\Mike\AppData\Local\sabnzbd\sabnzbd.ini.bak to C:\Users\Mike\AppData\Local\sabnzbd\sabnzbd.ini
The easiest way is to use WindowsKey-R and then type C:\Users\Mike\AppData\Local\sabnzbd
Press Enter.
Should the .bak file also be invalid, erase both files.
You will need to configure SABnzbd again.
Tripledrop
Newbie
Newbie
Posts: 5
Joined: September 30th, 2016, 6:07 am

Re: File Association

Post by Tripledrop »

Thanks for the quick reply, however even after deleting both ini files, Edge still opens with the same error. The .exe seems to load Edge rather than the actual Sab program?

FYI I NEVER use Edge, only Chrome

EDIT: Re-associated .html files with Chrome, now opens in Chrome, issues with the backup ini, so removed and starting from scratch.

Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: File Association

Post by shypike »

Reading your first message again.
You should not associate the SABnzbd.EXE file with a web browser.
SABnzbd will (at startup) just start the system's default web browser.

What you can let SABnzbd installer do, is associate the .nzb filename extension with SABnzbd.exe
The effect is that when you double-click on an NZB file in Windows Explorer, the NZB file will be sent to SABnzbd.
That also happens when you tell a web-browser to "execute" an NZB file.
Post Reply