I have a asp.net 1.1 website that works fine when I hit it from within
the lan remotely, but when I am on the same machine and hit it, it
seems that the app isn't able to use the session object.
For example, the machine's name is "backup". If I am on another
machine inside the subnet and go the the url http://backup/default.aspx
then it works fine. If however I try to hit the web page on that
machine, using either http//localhost/default.aspx or http://backup/default.aspx
then I get a .net error. The error is:
FormatException : Input string was not in a correct format.]
System.Number.P arseInt32(Strin g s, NumberStyles style,
NumberFormatInf o info) +0
In other words it is a .net error and not a networking/connectivity
issue.
The app is compiled as a release binary so I am not 100% sure exactly
where the error is, but there is only one place in the page that
parses out out an int. And that is where it reads a value in from the
session object, so I am pretty sure that is the line that is failing.
Here is the session state part of my web config:
<sessionState
mode="InProc"
stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data
source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se"
timeout="60"
/>
Anybody have any ideas on this? I could definitely use some help on
this one.