Hi,
I’m use VBNET, inside a Module with Wisej 2 Application.MapPath
return C:\Program Files (x86)\IIS Express\ , but in 1.5.x work
Application.StartupPath return empty string
how should i do now?
regards
Cristian
Hi Frank,
I have found the problem, solved!!! The file web.config
I realized that the problems were many more, for example it did not stop at the messagebox.
OLD web.config
<modules>
<add name=”Wisej” type=”Wisej.Core.HttpModule, Wisej.Core”/>
</modules>
<handlers>
<add name=”json” verb=”*” path=”*.json” type=”System.Web.HttpForbiddenHandler”/>
<add name=”wisej” verb=”*” path=”*.wx” type=”Wisej.Core.HttpHandler, Wisej.Core”/>
</handlers>
NEW web.config
<modules>
<add name=”Wisej” type=”Wisej.Core.HttpModule, Wisej.Framework”/>
</modules>
<handlers>
<add name=”json” verb=”*” path=”*.json” type=”System.Web.HttpForbiddenHandler” />
<add name=”wisej” verb=”*” path=”*.wx” type=”Wisej.Core.HttpHandler, Wisej.Framework”/>
</handlers>
when we migrate a project we need to edit web.config file
regards
Cristian
Hi Frank,
your are right, with the old project migrated from 1.5.x to wisej 2.x I have the problem, but if I do a new wisj2 project there is no problem.
I’m investigating, the project is large
thank you
Cristian
Hi Christian,
where is Application.StartupPath empty for you ? In 1.5. or 2.0 ?
Can´t reproduce here.
Can you please share a code snippet how you use it, when and where it is working and where it fails ?
Thanks in advance.
Best regards
Frank
Please login first to submit.