PROCUREMENT : The Ultimate Path Of Exile Companion Tool!

@stickymadness thats my error exactly

Procurement 1.5.4 Initialized.
                                                           
Authenticating ~~~~~~~~~@hotmail.com                                                [OK]

[Error] Δεν επιτρέπεται η πρόσβαση. (greek for access denied)
"
devia wrote:
@stickymadness thats my error exactly

Procurement 1.5.4 Initialized.
                                                           
Authenticating ~~~~~~~~~@hotmail.com                                                [OK]

[Error] Δεν επιτρέπεται η πρόσβαση. (greek for access denied)


You can see from the output that you've actually authenticated with pathofexile.com, hence the [OK] after "Authenticating ~~~~~~~~~@hotmail".

The next thing Procurement does after you've authenticated is encrypt the password or sessionID with user specific encryption (so your settings file won't work on someone else's machine). The access denied error you're seeing is happening because Windows is denying Procurement access.

This is the first time I've seen this specific error (CryptographicException: Access is denied.) and I would of expected that running as admin would be enough to resolve the issue. You can check to see if your user has permissions to the MachineKeys folder, see this article for reference.
Procurement  : The Ultimate Exile's Companion!
Forum Thread : https://www.pathofexile.com/forum/view-thread/172710/page/1
Github : https://github.com/Stickymaddness/Procurement/
Is there any way to view the weapon swap on a character?
"
MrSnowman wrote:
Is there any way to view the weapon swap on a character?


Now that you mention it, no there isn't actually, originally you weren't able to view it on the site either so there wasn't the data for it to be added to Procurement.
Procurement  : The Ultimate Exile's Companion!
Forum Thread : https://www.pathofexile.com/forum/view-thread/172710/page/1
Github : https://github.com/Stickymaddness/Procurement/
sigh i did what that article says created the iusrt and network service and gave em rights but still access denied i dont know what else to do s:
"
Stickymaddness wrote:
"
devia wrote:
@stickymadness thats my error exactly

Procurement 1.5.4 Initialized.
                                                           
Authenticating ~~~~~~~~~@hotmail.com                                                [OK]

[Error] Δεν επιτρέπεται η πρόσβαση. (greek for access denied)


You can see from the output that you've actually authenticated with pathofexile.com, hence the [OK] after "Authenticating ~~~~~~~~~@hotmail".

The next thing Procurement does after you've authenticated is encrypt the password or sessionID with user specific encryption (so your settings file won't work on someone else's machine). The access denied error you're seeing is happening because Windows is denying Procurement access.

This is the first time I've seen this specific error (CryptographicException: Access is denied.) and I would of expected that running as admin would be enough to resolve the issue. You can check to see if your user has permissions to the MachineKeys folder, see this article for reference.




sigh i did what that article says created the iusrt and network service and gave em rights but still access denied i dont know what else to do :S
how can i delete my session id? afer press f12 and log out in my account its still possible to login in procurement... why didnt i get a new session id?

Bayern des samma mia
Dafuq is going on in your code?

POEApi.Infrastructure -> Clear method -> location points to directory with procurement files. It tries to delete whole folder including POEApi.Infrastructure.dll but delete method is effectivly invoked from POEApi.Infrastructure.dll so file is locked and cannot be deleted so finally you ends with access denied error oO.

That error forced me to download whole solution to fix it :)

Anyway thanks gonna try it.
Last edited by Malwin#4303 on Jul 8, 2014, 11:52:23 AM
"
Malwin wrote:
Dafuq is going on in your code?

POEApi.Infrastructure -> Clear method -> location points to directory with procurement files. It tries to delete whole folder including POEApi.Infrastructure.dll but delete method is effectivly invoked from POEApi.Infrastructure.dll so file is locked and cannot be deleted so finally you ends with access denied error oO.

That error forced me to download whole solution to fix it :)

Anyway thanks gonna try it.


False.

https://github.com/Stickymaddness/Procurement/blob/master/POEApi.Infrastructure/CacheService.cs

location = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), email);

It clears the directory with your email address, POEApi.Infrastructure.dll is not in that directory.
Procurement  : The Ultimate Exile's Companion!
Forum Thread : https://www.pathofexile.com/forum/view-thread/172710/page/1
Github : https://github.com/Stickymaddness/Procurement/
"
Stickymaddness wrote:
"
Malwin wrote:
Dafuq is going on in your code?

POEApi.Infrastructure -> Clear method -> location points to directory with procurement files. It tries to delete whole folder including POEApi.Infrastructure.dll but delete method is effectivly invoked from POEApi.Infrastructure.dll so file is locked and cannot be deleted so finally you ends with access denied error oO.

That error forced me to download whole solution to fix it :)

Anyway thanks gonna try it.


False.

https://github.com/Stickymaddness/Procurement/blob/master/POEApi.Infrastructure/CacheService.cs

location = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), email);

It clears the directory with your email address, POEApi.Infrastructure.dll is not in that directory.


Fine but it does not work for me 'cos im using sessionID and leave alias empty. So Path.Combine returns the path to directory where main files are located not subdirectory in that directory.

Just have a debug look at location value when only sessionID is filled.

It works when alias is filled but its a little confusing 'cos if field is mandatory there should be some kind of validation checking if its not empty. Now we ends with nasty access denied exception.
Last edited by Malwin#4303 on Jul 8, 2014, 12:39:26 PM

Report Forum Post

Report Account:

Report Type

Additional Info