INSERT not working from the client, but works within the server... http://forums.asp.net/t/1796120.aspx/1?INSERT+not+working+from+the+client+but+works+within+the+server+Tue, 24 Apr 2012 05:34:35 -040017961204947405http://forums.asp.net/p/1796120/4947405.aspx/1?INSERT+not+working+from+the+client+but+works+within+the+server+INSERT not working from the client, but works within the server... <p>Hello, about 2 years ago I developed a simple logging system, that does INSERT, Authentication, Csharpt post back commands and field validation.&nbsp;&nbsp; Now that windows 7 PC'S came out and possibly more updates and security.&nbsp; Now my application's INSERT command doesn't work on PC's using it's browser, but the application works properly if I access it on the server.&nbsp;&nbsp; I thought it was security, so I turned off AV, firewall&nbsp;etc, but without any luck.&nbsp; I eliminated the field &amp; range validation, but it still wouldn't work.&nbsp; I re-created a simple insert command, and that one works.&nbsp;&nbsp; I have a feeling it has something to do with the C# commands, not being passed from client to server.&nbsp; Can anybody help me on this?&nbsp;&nbsp; Please bare with me, I used ASP.net about 2 years ago so I'm refreshing too.&nbsp;&nbsp; Please help me.&nbsp; Thank you!!!</p> 2012-04-24T00:16:58-04:004947415http://forums.asp.net/p/1796120/4947415.aspx/1?Re+INSERT+not+working+from+the+client+but+works+within+the+server+Re: INSERT not working from the client, but works within the server... <p>check to make sure you put the schema name in your query when running from browser</p> 2012-04-24T00:47:49-04:004947417http://forums.asp.net/p/1796120/4947417.aspx/1?Re+INSERT+not+working+from+the+client+but+works+within+the+server+Re: INSERT not working from the client, but works within the server... <p>Hi Thank you for your reply.&nbsp;&nbsp; This is the first time I've heard of it.&nbsp; What query is this?&nbsp; It's an INSERT command, so it just writes to the SQL Express.&nbsp;&nbsp; If it's on the source code, where do I put it?&nbsp;&nbsp;&nbsp;I may sound&nbsp;slow, but please bare with me.&nbsp; Thanks.&nbsp;</p> 2012-04-24T00:52:56-04:004947424http://forums.asp.net/p/1796120/4947424.aspx/1?Re+INSERT+not+working+from+the+client+but+works+within+the+server+Re: INSERT not working from the client, but works within the server... <p>Hi</p> <p>Does is your connection string is set corretly?</p> <p>You can to place a try...catch in your code, and write the Exception in someplace (response.write in asp.net, console.write in consoleapplication or trace.write).</p> <p>I holp this help.</p> 2012-04-24T01:12:10-04:004947648http://forums.asp.net/p/1796120/4947648.aspx/1?Re+INSERT+not+working+from+the+client+but+works+within+the+server+Re: INSERT not working from the client, but works within the server... <p>Please note&nbsp;:&nbsp;&nbsp;From Asp.net web forms &nbsp;inserting (most of the actions)&nbsp;&nbsp;happens always from server side&nbsp; and never from client side.&nbsp;Your &nbsp;issue is when the local host is used as the&nbsp; sever it does not insert. So definitely it it is an issue related to your local host.</p> <p>You said when you re created the insert&nbsp; it worked. Then Your problem is solved. Have you made any change while recreating it?</p> <p>B</p> 2012-04-24T05:34:35-04:00