Hello GroupDocs team!
http://localhost/gd-signature/embedded/images/mainbg.png
404 (Not Found)"http://localhost/
.Hello GroupDocs team!
http://localhost/gd-signature/embedded/images/mainbg.png
404 (Not Found)"http://localhost/
.Hi,
http://localhost/gd-signature/embedded/images/mainbg.png
404 (Not Found)"http://localhost/
.Hi,
Thanks for coming back.
While running the
project on my local IIS, it appends the project URL(and the virtual directory’s path) to the base address
like “http://localhost/ProjectURL
” (please have a look at this screenshot), So, we are not able to reproduce this issue at our end.
However, we have added the
information you have provided to the issue logged already and the concerned team
will investigate it. We will try to resolve the issue at our earliest and will update you on the issue’s status as soon
as possible.
Hi,
Hi,
I apologize for the confusion. When I said we weren’t able to reproduce the issue I was referring to the second question from your initial post where you said and I quote “There is no virtual directory name after http://localhost/.”. We are getting the virtual directory name at our end. Please let me know if I misunderstood your concern.
Now about the image URLs being incorrect, we really appreciate the research you have done and the points you have mentioned about the reasons behind the URL. Since this issue has been reproduced at our end we will try to resolve it at our earliest.<br style=“color: rgb(0, 0, 0); font-family: “Times New Roman”; font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;”><br style=“color: rgb(0, 0, 0); font-family: “Times New Roman”; font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;”><div style=“color: rgb(0, 0, 0); font-family: “Times New Roman”; font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;”>
Hi,
Sorry for being late in responding.
We have investigated the issue and reached at the conclusion that in the project we are referencing the static files using URLs like this: /images/file.jpg. Since your site is a virtual directory rather than an application in IIS, IIS will be looking in the “C:/inetpub/wwwroot” folder(The Default Website’s folder) for those static files and hence return a 404 error.
Now there can be a number of ways to handle this issue, the simplest one is explained here:
1- Change the Project Url to http://localhost/
2- You might get a message saying that localhost is mapped to a different folder and do you want to change it, select "Yes"
3- Now when you run the project, you can see the images(you can change the project url and append a name to it afterwards too)
What happens is that now you have changed the physical path of the default website running on local IIS and it now points towards your project’s directory instead of wwwroot. Another solution can be adding a new website using IIS Manager, with a physical address pointing towards your project’s path and having bound at some port other than 80, in this case you need to use a project URL like http://localhost:1024/name
where 1024 must be the port that is bound to the new website(port number may vary)
Hope this solves your issue, in case it doesn’t, feel free to ask again.
Looking forward to hear from you.
Best Regards,