Fairly new to Visual Web Developer. I have a data entry form, and when
I click Submit, the record is not created in the database, but I don't
know where to turn. Nothing happens when the submit button is clicked,
so I have nothing to go on. I'm sure the insert statement is crapping
out somewhere, but where do I go to see that info? Debugging? Tracing?
thanks very much.
PaulWhen debugging, you can see more info when trace is turned on. There are
several attributes in various areas of the web.config file that will display
extra info, here are the ones I find the most useful:
<compilation defaultLanguage="vb" debug="true" /
<trace enabled="true" requestLimit="10" pageOutput="true"
traceMode="SortByTime" localOnly="false" /
These tags should already exist in your web.config file, just change/add the
attributes. For more information on the web.config file, see the
documentation. Good Luck!
--
Nathan Sokalski
njsokalski@.hotmail.com
http://www.nathansokalski.com/
<paulmac106@.gmail.com> wrote in message
news:1137705991.348195.270700@.g43g2000cwa.googlegr oups.com...
> Hi,
> Fairly new to Visual Web Developer. I have a data entry form, and when
> I click Submit, the record is not created in the database, but I don't
> know where to turn. Nothing happens when the submit button is clicked,
> so I have nothing to go on. I'm sure the insert statement is crapping
> out somewhere, but where do I go to see that info? Debugging? Tracing?
> thanks very much.
> Paul
Hi Nathan,
Thanks for the reply. I did what you instructed. But nothing really
happened. Do I go to some log file to see the results?
Thanks very much,
Paul
Does it give an error, or just not do anything? Does it look like it is
performing the postback at all, or does it seemed like it is locked up? One
good debugging method that you sometimes need to resort to is commenting out
code and gradually uncommenting it. If you are recieving an error message,
please post it in your reply. If it seems to be locking up, I would try
commenting out code and seeing if it works then, sometimes displaying
variable values in a Label to make sure everything is what you think it is
can help you pinpoint the problem. (NOTE: It makes it easier for people to
help if you include the message you are replying to in your reply so that we
can see the original problem and what you have already tried)
--
Nathan Sokalski
njsokalski@.hotmail.com
http://www.nathansokalski.com/
<paulmac106@.gmail.com> wrote in message
news:1137765758.906707.258720@.g44g2000cwa.googlegr oups.com...
> Hi Nathan,
> Thanks for the reply. I did what you instructed. But nothing really
> happened. Do I go to some log file to see the results?
> Thanks very much,
> Paul
0 comments:
Post a Comment