Skip to content
Discussion options

You must be logged in to vote

I had this problem too. Finally I found a way. Check your appsettings.json for EnvironmentSettings and write your Url like this
for local
"EnvironmentSettings": {
"SiteExternalUrl": "https://localhost:yourport/"
},
for publish
"EnvironmentSettings": {
"SiteExternalUrl": "yourexternalurl/"
},
and after add this pasage to your webconfig
for local

<appSettings>
		<add key="EnvironmentSettings" value="{ SiteExternalUrl: 'https://localhost:yourport/' }" />
	</appSettings>

for publish

<appSettings>
		<add key="EnvironmentSettings" value="{ SiteExternalUrl: 'yourexternalurl/' }" />
	</appSettings>

If you have problem still, you must sure wkhtmltopdf.exe (true version) in your solution main fol…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ahmadfauzanarif
Comment options

@VictorTomaili
Comment options

@ahmadfauzanarif
Comment options

Answer selected by ahmadfauzanarif
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants