The Official Forums for the Multiverse MMO Development Platform
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  The Wiki  Website  github Project  
Share | .
 

 Unable to access

View previous topic View next topic Go down 
AuthorMessage
darkdragon
Newbie
Newbie


Posts: 1
Join date: 2012-04-07
Location: Boston

PostSubject: Unable to access   Sat 7 Apr - 1:29

Hi, we are recieving the message in an alert pop-up box that said: "an exception occured during a web client request"
We tried to reinstall but no luck! We tried another computer with a different configuration and again no luck. Any ideas of what we are doing wrong? Thanks! The computers both had windows but one had vista and the other had 7. The message did not change.
Back to top Go down
Tristan
Head of Communications


Posts: 294
Join date: 2011-08-02
Location: Liverpool, UK

PostSubject: Re: Unable to access   Sat 7 Apr - 12:55

You'll need to be more specific about the circumstances, before we can help.

Which program, at what time during program startup?
Is this occurring when you attempt to run the Multiverse Client, or another program?


Depending on which proigram it is, have you checked the logs?

The general logs are kept in the logs/yourprojectname, and you should check each of them.
For the Client, you should also check in My Documents/Multiverse World Browser/Logs.
In all the log files, do a search (using the Find function in your text editor of choice) for 'error'.

Then, tell us what errors you come up with.

Tristan
Back to top Go down
http://www.3dmodeller.info
Xangis
Foundation Developer


Posts: 124
Join date: 2011-12-30
Location: Beaverton, OR

PostSubject: Re: Unable to access   Fri 20 Apr - 1:53

I came across this too, assuming it's the same thing.

Windows 7 x64 with UAC enabled, when running the client, displays a dialog titled "Alert" with the text:
"An exception occurred during a WebClient request."

Looking in the log files, you'll see something like this:

Code:
ERROR [2012-04-19 17:44:38,948] Exception            Unable to determine local version: System.IO.FileNotFoundException: Could not find file 'C:\Program Files (x86)\Multiverse Client\patch_version.txt'.
File name: 'C:\Program Files (x86)\Multiverse Client\patch_version.txt'
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at System.IO.File.Open(String path, FileMode mode)
  at Multiverse.MultiverseClient.Patch(String updateUrl, String patcherUrl, String[] extraArgs, Boolean forceScan, Boolean exit_after_patch)
INFO  [2012-04-19 17:45:04,442] MultiverseClient    Downloading patcher...
ERROR [2012-04-19 17:45:04,445] Exception            Version determination failed: System.Net.WebException: An exception occurred during a WebClient request. ---> System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\Multiverse Client\patcher.exe' is denied.
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
  at System.Net.WebClient.DownloadFile(Uri address, String fileName)
  --- End of inner exception stack trace ---
  at System.Net.WebClient.DownloadFile(Uri address, String fileName)
  at System.Net.WebClient.DownloadFile(String address, String fileName)
  at Multiverse.MultiverseClient.Patch(String updateUrl, String patcherUrl, String[] extraArgs, Boolean forceScan, Boolean exit_after_patch)
  at Multiverse.MultiverseClient.Main(String[] args)
ERROR [2012-04-19 17:45:04,451] Exception            Exited client due to exception: System.Net.WebException: An exception occurred during a WebClient request. ---> System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\Multiverse Client\patcher.exe' is denied.
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
  at System.Net.WebClient.DownloadFile(Uri address, String fileName)
  --- End of inner exception stack trace ---
  at System.Net.WebClient.DownloadFile(Uri address, String fileName)
  at System.Net.WebClient.DownloadFile(String address, String fileName)
  at Multiverse.MultiverseClient.Patch(String updateUrl, String patcherUrl, String[] extraArgs, Boolean forceScan, Boolean exit_after_patch)
  at Multiverse.MultiverseClient.Main(String[] args)
INFO  [2012-04-19 17:45:42,818] MultiverseClient    Cleaning up
INFO  [2012-04-19 17:45:42,818] MultiverseClient    Exiting Client


The problem is that the patcher doesn't have rights to write to C:\Program Files. It's just part of the locked-down restrictions of modern Windows. The easiest way around it is to run the OS in "god mode" (UAC off and admin rights). This isn't a good solution for most users, so that's why programs tend to install to <home>\AppData\Local\ when administrative priveleges aren't available.

Plenty of programs do this now -- the Chrome browser, for instance installs to C:\Users\<username>\AppData\Local\Google\Chrome\Application, and lots of self-patching MMOs install into the home directory now. The trick is to design your installers to do non-administrative installs. I know how to do this with InnoSetup, but haven't done it with other installers.
Back to top Go down
http://zetacentauri.com
AWM Mars
Well-Known Member
Well-Known Member


Posts: 78
Join date: 2012-02-22
Location: Wiltshire, United Kingdom

PostSubject: Re: Unable to access   Fri 20 Apr - 9:37

Back to top Go down
 

Unable to access

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» Banned from Vent, Want to Appeal? Unable to Log In? Post here!
» Access to the site
» Forum access
» how to insert/add record in ms access using vb.net
» Miz Arie of OTG requesting Secure Access

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Bugs and Issues-