#114 Ashita.dll missing; cannot inject

Open
opened 2 weeks ago by inmanab · 12 comments
inmanab commented 2 weeks ago

System.Exception: Ashita.dll is missing; cannot inject!
at Ashita.Classes.AshitaInjector.<>c__DisplayClass1_0.b__0()

Keeps popping up, I am running Ashita as an admin and should have anything on my Windows blocking it. I cannot find the .dll application anywhere in my Ashita folder, and have tried re-installing multiple times.

System.Exception: Ashita.dll is missing; cannot inject! at Ashita.Classes.AshitaInjector.<>c__DisplayClass1_0.<LaunchConfiguration>b__0() Keeps popping up, I am running Ashita as an admin and should have anything on my Windows blocking it. I cannot find the .dll application anywhere in my Ashita folder, and have tried re-installing multiple times.
atom0s commented 2 weeks ago
Owner

Ashita self-updates when its opened, if your anti-virus / firewall is blocking Ashita from properly updating it wont download the Ashita.dll itself.

Be sure that you can access the following site properly:
https://update.ashitaxi.com/

(You don't need to do anything with this site, this is how Ashita tells what to update and such. Just making sure you can access it to be sure that Ashita can see it properly.)

Then be sure that your AV (including Windows Defender) is not blocking Ashita from updating and that it's not automatically deleting any of Ashita's components.

Ashita self-updates when its opened, if your anti-virus / firewall is blocking Ashita from properly updating it wont download the Ashita.dll itself. Be sure that you can access the following site properly: https://update.ashitaxi.com/ (You don't need to do anything with this site, this is how Ashita tells what to update and such. Just making sure you can access it to be sure that Ashita can see it properly.) Then be sure that your AV (including Windows Defender) is not blocking Ashita from updating and that it's not automatically deleting any of Ashita's components.
atom0s added the
question
label 2 weeks ago
atom0s self-assigned this 2 weeks ago
inmanab commented 2 weeks ago
Poster

I have tried what you have recommended, and allowed Ashita through Windows Defender. I am still getting the same error that Ashita.dll is missing and cannot inject. Not sure what to do at this point.

I have tried what you have recommended, and allowed Ashita through Windows Defender. I am still getting the same error that Ashita.dll is missing and cannot inject. Not sure what to do at this point.
atom0s commented 2 weeks ago
Owner

You can try adding an exception to Windows Firewall to ensure that its not blocking Ashita from accessing its servers. Along with any additional AV/Firewall software as well.

You can try adding an exception to Windows Firewall to ensure that its not blocking Ashita from accessing its servers. Along with any additional AV/Firewall software as well.

I too am having this problem, I don't know if I'm having the same issue as OP or not;
What I've noticed is that whenever I re-install eden and launch ashita it deletes the ashita.dll file and several other files that we're already there to begin with and then attempts to re-download them but doesn't at all, so I'm kinda stuck in a loop of that, over and over.... (The same 20 files every time)

I did download the ashita launcher from this site and tried that instead and I just got the same results. I'm pretty sure it's not an issue with any anti-virus, because defender is turned off and also made sure the update site is not being blocked by the firewall.

I too am having this problem, I don't know if I'm having the same issue as OP or not; What I've noticed is that whenever I re-install eden and launch ashita it deletes the ashita.dll file and several other files that we're already there to begin with and then attempts to re-download them but doesn't at all, so I'm kinda stuck in a loop of that, over and over.... (The same 20 files every time) I did download the ashita launcher from this site and tried that instead and I just got the same results. I'm pretty sure it's not an issue with any anti-virus, because defender is turned off and also made sure the update site is not being blocked by the firewall.
atom0s commented 2 weeks ago
Owner

Make sure that you have Ashita in a location that you have proper write access to. Most private servers incorrectly place Ashita in a system folder such as: C:\Program Files (x86)\... which is wrong.

Instead, Ashita should be installed to a non-system folder such as: C:\Ashita\

Outside of that, AV/Firewall are generally the only other factors that would cause this kind of problem. Our services are all up and working fully.

Make sure that you have Ashita in a location that you have proper write access to. Most private servers incorrectly place Ashita in a system folder such as: `C:\Program Files (x86)\...` which is wrong. Instead, Ashita should be installed to a non-system folder such as: `C:\Ashita\` Outside of that, AV/Firewall are generally the only other factors that would cause this kind of problem. Our services are all up and working fully.

Make sure that you have Ashita in a location that you have proper write access to. Most private servers incorrectly place Ashita in a system folder such as: C:\Program Files (x86)\... which is wrong.

Instead, Ashita should be installed to a non-system folder such as: C:\Ashita\

Outside of that, AV/Firewall are generally the only other factors that would cause this kind of problem. Our services are all up and working fully.

Unfortunately, that made no difference. I can only guess that this is a problem with the files being downloaded themselves (though i doubt it), because this just began happening last night.

> Make sure that you have Ashita in a location that you have proper write access to. Most private servers incorrectly place Ashita in a system folder such as: `C:\Program Files (x86)\...` which is wrong. > > Instead, Ashita should be installed to a non-system folder such as: `C:\Ashita\` > > Outside of that, AV/Firewall are generally the only other factors that would cause this kind of problem. Our services are all up and working fully. Unfortunately, that made no difference. I can only guess that this is a problem with the files being downloaded themselves (though i doubt it), because this just began happening last night.
atom0s commented 2 weeks ago
Owner

Some other things you can try, be sure that Ashita.exe is in: C:\Ashita\Ashita.exe when doing any of this.

  1. Double check your anti-virus / firewall to be sure that it is not automatically deleting Ashita's files as it downloads. Also be usre that your firewall is not blocking the app or our domains, which would be:
  1. Fully delete your browser cache on Internet Explorer + Edge. Even if you don't use them, delete their cache and such.

  2. Delete the updates folder in your Ashita folder and try running Ashita.exe again.

  3. Go to this URL: https://update.ashitaxi.com/json/2.json Look for the text:
    {"name":"Ashita.dll","path":"/Ashita.dll","hash":"","size":0},

Tell me what you see for 'hash' and 'size' on this line for Ashita.dll.

Some other things you can try, be sure that Ashita.exe is in: `C:\Ashita\Ashita.exe` when doing any of this. 1. Double check your anti-virus / firewall to be sure that it is not automatically deleting Ashita's files as it downloads. Also be usre that your firewall is not blocking the app or our domains, which would be: - https://ashitaxi.com/ - https://git.ashitaxi.com/ - https://update.ashitaxi.com/ 2. Fully delete your browser cache on Internet Explorer + Edge. Even if you don't use them, delete their cache and such. 3. Delete the updates folder in your Ashita folder and try running Ashita.exe again. 4. Go to this URL: https://update.ashitaxi.com/json/2.json Look for the text: `{"name":"Ashita.dll","path":"/Ashita.dll","hash":"","size":0},` Tell me what you see for 'hash' and 'size' on this line for Ashita.dll.
atom0s commented 2 weeks ago
Owner

Would also suggest if you are on Windows 10, do a 'hard' restart. To do that do the following:

  1. Restart your system like normal.
  2. Shutdown your system after it boots back up from the restart.
  3. Start it back up again and restart it after it is back up again.

So in short: Restart > Shutdown > Start > Restart

Would also suggest if you are on Windows 10, do a 'hard' restart. To do that do the following: 1. Restart your system like normal. 2. Shutdown your system after it boots back up from the restart. 3. Start it back up again and restart it after it is back up again. So in short: Restart > Shutdown > Start > Restart

I tried all three of those to no avail, here is the text:

{"name":"Ashita.dll","path":"/Ashita.dll","hash":"141920063F13227493A2AC06886E2C32CB192E24ED7ABE46E92825EE751C1899","size":2013184},

So after trying what you suggested and that not working, I copied all files in the Entire folder to a separate one and after the Ashita laucher had deleted all the files, sent me to the config selection screen, I copied all the files back so that every file the launcher deleted and didn't download was back in the folder; this has fixed it.
And able play the game normally now after doing that... though it seems I would need to do that every time I launch ashita.

I will try the restart method now, in case that helps in any way.

I tried all three of those to no avail, here is the text: {"name":"Ashita.dll","path":"/Ashita.dll","hash":"141920063F13227493A2AC06886E2C32CB192E24ED7ABE46E92825EE751C1899","size":2013184}, So after trying what you suggested and that not working, I copied all files in the Entire folder to a separate one and after the Ashita laucher had deleted all the files, sent me to the config selection screen, I copied all the files back so that every file the launcher deleted and didn't download was back in the folder; this has fixed it. And able play the game normally now after doing that... though it seems I would need to do that every time I launch ashita. ~~I will try the restart method now, in case that helps in any way.~~

So I did a quick search about ashita not downloading files, I saw a old forum post saying that their ISP was blocking the ashita from accessing the update site. They suggested downloading a vpn becuase that fixed it for them.

It turns out after simply downloading a vpn and using that alongside ashita has meant I'm able to download the files normally and that was the issue all along, meaning that it was never any of the windows settings causing this issue in the first place. Quite irritating that my ISP has done that.

Hopefully this can be suggested to others having similar issues.

Thanks for all the help atm0s.

So I did a quick search about ashita not downloading files, I saw a old forum post saying that their ISP was blocking the ashita from accessing the update site. They suggested downloading a vpn becuase that fixed it for them. It turns out after simply downloading a vpn and using that alongside ashita has meant I'm able to download the files normally and that was the issue all along, meaning that it was never any of the windows settings causing this issue in the first place. Quite irritating that my ISP has done that. Hopefully this can be suggested to others having similar issues. Thanks for all the help atm0s.
atom0s commented 2 weeks ago
Owner

So I did a quick search about ashita not downloading files, I saw a old forum post saying that their ISP was blocking the ashita from accessing the update site. They suggested downloading a vpn becuase that fixed it for them.

It is more likely that there is a caching issue going on for you than your actual ISP being the issue. Since your setup was still seeing the updater and saw the proper updated data, it was just downloading a cached older version. Using a VPN will alter (and in some cases bypass) the caching information as it will be seen from a different connection and thus yield the newer files.

I would say this is more than likely a cache issue with the .NET WebClient which lands up using the base browser object of the system, which for Windows is what's built into IE.

> So I did a quick search about ashita not downloading files, I saw a old forum post saying that their ISP was blocking the ashita from accessing the update site. They suggested downloading a vpn becuase that fixed it for them. It is more likely that there is a caching issue going on for you than your actual ISP being the issue. Since your setup was still seeing the updater and saw the proper updated data, it was just downloading a cached older version. Using a VPN will alter (and in some cases bypass) the caching information as it will be seen from a different connection and thus yield the newer files. I would say this is more than likely a cache issue with the .NET WebClient which lands up using the base browser object of the system, which for Windows is what's built into IE.

Yeah that sounds significantly more likely.

Yeah that sounds significantly more likely.
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.