A
AbsolutG
This is not exactly a show-stopper but I am concerned about it. I was
hoping someone could shed some light on it.
I have a web service that I've been programming on my local machine
using Visual Studio 2008 for a while. Whenever it's ready for
deployment I simply upload it to a web server using the Publish tool
in VS2008. Client applications running from other machines (neither
mine, nor the server) consume the web service from the server just
fine.
The thing that is making me nervous, though, is that whenever those
clients get an exception from my web service and look at the stack
trace, they see the complete path of the code files in my local
machine!
An example would be that I have a file in my web service project in
the following path:
C:\Documents and Settings\Administrator\My Documents\Visual Studio
2008\Projects\MyWebService\MyWebService\Service.asmx.cs
When the clients get an exception, in the stack trace they see
something like this:
etc...
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions
o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions
options)
at System.Xml.Linq.XDocument.Load(XmlReader reader)
at C:\Documents and Settings\Administrator\My Documents\Visual Studio
2008\Projects\MyWebService\MyWebService\Service.asmx.cs:line 57
etc...
This means (I believe) that somehow, somewhere, the web service I'm
publishing to the web server is saving information about where my
local files are located in my hard drive.
Is there a way to avoid having this information from being shown?
Please don't pay attention to the exception handling. That is not what
worries me right now. What worries me is that the web service seems to
have a reference to my local files, even though the it is running on
the web server.
Thanks!
hoping someone could shed some light on it.
I have a web service that I've been programming on my local machine
using Visual Studio 2008 for a while. Whenever it's ready for
deployment I simply upload it to a web server using the Publish tool
in VS2008. Client applications running from other machines (neither
mine, nor the server) consume the web service from the server just
fine.
The thing that is making me nervous, though, is that whenever those
clients get an exception from my web service and look at the stack
trace, they see the complete path of the code files in my local
machine!
An example would be that I have a file in my web service project in
the following path:
C:\Documents and Settings\Administrator\My Documents\Visual Studio
2008\Projects\MyWebService\MyWebService\Service.asmx.cs
When the clients get an exception, in the stack trace they see
something like this:
etc...
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions
o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions
options)
at System.Xml.Linq.XDocument.Load(XmlReader reader)
at C:\Documents and Settings\Administrator\My Documents\Visual Studio
2008\Projects\MyWebService\MyWebService\Service.asmx.cs:line 57
etc...
This means (I believe) that somehow, somewhere, the web service I'm
publishing to the web server is saving information about where my
local files are located in my hard drive.
Is there a way to avoid having this information from being shown?
Please don't pay attention to the exception handling. That is not what
worries me right now. What worries me is that the web service seems to
have a reference to my local files, even though the it is running on
the web server.
Thanks!