INI from a webserver problems

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
James
Observer
Observer
Posts: 6
Joined: Wed Jul 20, 2005 2:33 pm

INI from a webserver problems

Post by James »

I'm using 2.08 and trying to use an INI from a webserver. When I click my custom shortcut, I get the error box:

The wrong version of INI file or Registry settings was used.

The INI is returning as the version. This version of PWB requires version 2.08 of the INI file.

Check your INI file or Registry and try again


Then crashes when I click OK.

However, it does download the proper INI file which shows:

IniFileVersion=2.08

Any idea why it doesn't recognize the version number? (By the way, I disabled checking the version in the INI file itself.)

Thanks,
James

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Are you specifying both the command line INI options?

…\PWB.exe /INI=”Other.INI” /URLINI=http://www.web.com/PWB.INI

If you do not have the "/INI" switch it may cuase this type of problem.

--Scott

James
Observer
Observer
Posts: 6
Joined: Wed Jul 20, 2005 2:33 pm

Post by James »

Yes, here is the command line of my shortcut:

"C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\PWB.exe" /INI="internet.INI" /URLINI=http://www.seminolecountyfl.gov/lls/lib ... /xxxxx.INI

It does create the internet.INI file before crashing.

James

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Try changing the /INI="internet.INI" to the full path to the file.

For example:

...PWB.EXE /INI="C:\PWB\Interent.INI" /URLINI=...

The error message indicates PWB is not finding the INI file specified in the command line.

"The INI is returning as the version. This version..."

Normally this will read:

"The INI is returning 2.07 as the version. This version..."


--Scott

James
Observer
Observer
Posts: 6
Joined: Wed Jul 20, 2005 2:33 pm

Post by James »

That fixed it. 8)

Thanks a lot, Scott!

James

Post Reply