Would you like to react to this message? Create an account in a few clicks or log in to continue.

Official Community Forums
 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  The Wiki  Website  github Project  

 

 Unable to access

Go down 
4 posters
AuthorMessage
darkdragon
Newbie
Newbie
darkdragon


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

Unable to access Empty
PostSubject: Unable to access   Unable to access EmptySat 7 Apr - 11: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
Administrator
Administrator
Tristan


Posts : 306
Join date : 2011-08-03
Location : Liverpool, UK

Unable to access Empty
PostSubject: Re: Unable to access   Unable to access EmptySat 7 Apr - 22: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
Xangis


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

Unable to access Empty
PostSubject: Re: Unable to access   Unable to access EmptyFri 20 Apr - 11: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
AWM Mars


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

Unable to access Empty
PostSubject: Re: Unable to access   Unable to access EmptyFri 20 Apr - 19:37

Back to top Go down
Sponsored content





Unable to access Empty
PostSubject: Re: Unable to access   Unable to access Empty

Back to top Go down
 
Unable to access
Back to top 
Page 1 of 1
 Similar topics
-
» Unable to run client
» Unable to connect to demo server
» 10 second connect time/unable to connect

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