question

MohammadQasim-1438 avatar image
0 Votes"
MohammadQasim-1438 asked ·

error not to access site using virtual directory

Greetings

I have deployed publish code on Virtual directory, its not working giving below error

Note: I have teste same application on local machine while creating virtual directory, its working fine

Solution required: How can i deploy this code to access project using virtual directory ( remove this error )


73674-image.png


windows-server-iis-general
image.png (14.2 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MohammadQasim-1438 avatar image
0 Votes"
MohammadQasim-1438 answered ·

Is any one help me out on this please ?

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MohammadQasim-1438 According to your description, I can't reproduce your problem, i need more details information about your question. can you show me your web.config file? rr you can try to use failed request tracking to get detailed error information. troubleshooting-failed-requests-using-tracing-in-iis-85.


0 Votes 0 ·
MohammadQasim-1438 avatar image
0 Votes"
MohammadQasim-1438 answered ·

Here u go

74443-webconfiggroup.png



webconfiggroup.png (52.5 KiB)
· 5 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MohammadQasim-1438 The problem cannot be found from your web.config, but you can try to check the app pool and see what user it is configured to run as. Check the directory and see if that user has appropriate rights to it. While you're at it, check the event log and see if IIS logged any more detailed diagnostic information there.

0 Votes 0 ·

not solved yet, can you help me out this please ?

0 Votes 0 ·
SamWu-MSFT avatar image SamWu-MSFT MohammadQasim-1438 ·

@MohammadQasim-1438 Have you tried the methods I said above?

0 Votes 0 ·
Show more comments