Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

data source not inserting data .net 2.0 1

Status
Not open for further replies.

gtjr921

Programmer
Aug 30, 2006
115
I have an encrypted page that had a detailsview to insert data.
Problem it the page only works half the time for some reason.
I have a click event that inserts data via a sql datasource.
It used to work great I have it set to do a response direct to another page when it is done inserting.
Now it seems like since I encrypted my site with certificate it
Only works 1/2 the time. When it does not work it says done in the browser and give me a blank white page no errors or anything.
No data is inserted into the DB either.
I am not sure how to figure out what is causing this, since my code does work, but just not all the time.
I a using IE 7, VB and .net 2.0


 
any server event logs entry relating to IIS?
what happens when you refresh the page?
are you redirecting using absolute or relative paths?
does your code explicitly call Response.End() or Response.Clear() anywhere?

Jason Meckley
Programmer
Specialty Bakers, Inc.
 


what happens when you refresh the page?
Is reloads and stays a blank white page

are you redirecting using absolute or relative paths?
Just a response redirect to mypage.aspx?action=NEW
I do not call response.end or clear
the only clear i have is a datasource clear after the insert is done InsertParameters.Clear()

any server event logs entry relating to IIS?
I do not see any related erros in the windows application event log

 
have you stepped through the code using the debugger to determine where the error occurs?

what is the url of the blank page? the current page or mypage.aspx?action=NEW? if it's the current page then the redirect is not firing.

Not knowing how big your IT staff is; has anyone made adjustments to IIS?


Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Haven't stepped through the code yet
I am the IT staff so I can check IIS but i haven't changed anything in it.
The url of the blank page is the current page.
Since the insert is not firing or at least not completing hmm Not sure the best way to test this.
I could try to do a trace on the insert event.
It's just odd that it works sometimes and other times not.
What do you think the best course of action would be?
Thanks
 
What do you think the best course of action would be?
Stepping through the code using the debugger and determining where the error occurs. In fact, this should always be your first course of action especially before posting a question on the subject.


____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244.
 
well this has something to do with encryption. I stepped through code and did not get any errors.
If i remove the require ssl from IIS the page works just fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top