New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running as vitrual directory in iis #20
Comments
If you want to run the application under a virtual path in IIS (not as a web site), then you should include this script to head section of your page:
This defines abp.appPath javascript variable as your virtual path. Then, ABP's javascripts use it to resolve absolute paths. |
I'm having trouble with this issue, even after I included that piece of code to define appPath. When I run the application hosted in IIS (using virtual directory), if I try to change localization, I get the error: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Requested URL http://localhost:80/AbpLocalization/ChangeCulture?cultureName=en |
Hi @florianotf
to this line:
It should work. |
Hi @hikalkan! I changed that line and now it almost works! But it doesn't return to App main page. It show IIS localhost page. (my aplication is in localhost/OMC.Web/) Thanks again for the support ang congratulations for this excellent project. |
Fixed it. It will be redirect to root page in next version. For now, you can change it like:
|
Now it works! Great! Thank you! |
Currently, ABP samples work properly in IIS if we deploy as web site. But there may be some problems if it's deployed in a virtual directory.
The text was updated successfully, but these errors were encountered: