jerryhoff / WebGoat.NET

OWASP WebGoat.NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Struggling to Get it running without Visual Studio

farhan3777 opened this issue · comments

Hello All,
I have followed the steps written here and got the application running, but I am struggling to run the application through IIS directly. Is there a way to do that?

I know this is dated, but could you explain the errors you are getting?

i have a try and i can run application through IIS directly
First, publish the application to your folder (use visual stdio to publish)
then add it to iis

the project use .net3.5 default, i use .net4.8 have some errors and i resolved

  1. duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
    图片

you have two solutions
a.change your apppool .net version to 2.0

图片

b. delete the section from web.config
图片

if you choose solution B(use .net4.0 or later), maybe have another error
图片

then, modify web.config and add
<system.web>
...
< siteMap >
< providers >
< remove name="MySqlSiteMapProvider" />


</ system.web>
图片

the default.aspx will be ok
图片

then if have this error, change the apppool authority
图片
图片

click rebuild database
then everything will be ok
图片

@tcsecchen
I'm stuck on the last bit as I don't know where that is located in the visual studio.
image
Are you able to explain how you got the MYSQL section working?