I have a project, which is a WCF Web Service, which I want to use, but when I go to add this service to my Consumer Project by right clicking on the solution and selecting Add Service Reference, I am unable to see it. Selecting discover and typing in a URL hasn't helped either. I know must be missing some step out along the way. Can someone please explain to me how I can reference my service so I can use it?
I am creating a simple remoting application which uses a strongly typed data set to retrieve data and send it to the cliet when required.
This works fine when I have everything installed on my machine. Now I am trying to deploy the sever on a machine on my network ... but i have installed .net framework 3.5 on that machine ... no sql server or visual studio .. how can i make it work ..
also, i tried to create an odbc for my sql server on the other machine .. but was unable to do that .. anyone any idea??
I would like to make one point clear ..
Whenever my server is on vista machine ... nothing works ... but when i make my xp machine a server .. the same code works fine ...
so this time .. im making my server on xp machine with .net fw installed .. but my sql server is on vista machine .. so i need to access this sql server through n/w as i cannot install sql server on my xp machine
.. is my problem clear from this ..???
Greetings, I have just developed a content-managed, database-driven application application that makes heavy use of postbacks and session variables. We own the domain that the site was designed to be hosted on, however, the customer does not want our URL showing. The solution our firm has used in the past is to just put the entire application within a frameset with the top frameset at 0% and the bottom one at 100%, thus the only file that needs to live on the customer's site is the frameset itself. In this case, the frameset is a Cold Fusion page but there is no server-side logic--just the HTML frameset. It is a cold fusion page because I'm told this is what worked in the past. They are running the .NET framework on the server but I don't know if they have any .NET sites up there. I was told that this should work because all of the code to run the application should work fine because everything should be self-contained within the frame, however, anytime a postback is done, it tends to lose all of its session variables. To further complicate matters, the same frameset, let's call it frameset.cfm works fine when both the frameset page and application are hosted on the same server, but when only the frameset.cfm page is moved to the client's server, the sessions fail, especially on pages with postbacks.
Could someone explain to me what is going on and help me come up with a workaround? Because we need to contact the customer's IT department each time a file is placed on their server, we are hoping to involve them as little as possible. My next step is going to be to create a frameset.aspx page that will live on their server but I am told that our firm has never had a problem with the frameset.cfm files before...
Ohh, and lastly, It always works in Firefox, and sometimes works in IE. On some IE 8 machines it works all the time, on some IE 8 machines it works most of the time, and on some IE8 machines it fails most of the time...
I am in the same spot you are, only difference is the hosting site calling my frame is a PHP site. Same issues. If I host the parent site no problems. If they are the Parent site, then problems (not holding session variables).
The problem is introduced when you have cross domain sites communicating. You cannot access the parent information and the parent cannot access the child. That being said, I would think my session variables on my server would be maintained for that session.
Today, literally, I changed my response.redirect calls to server.transfer calls. Tonight I'll push the pages and begin testing. More to report tomorrow.
Good luck with that. Sadly I did that already too. I also neglected to mention that all of the pages where this problem occurs are master pages and things seem highly dependent on the postback. The fact that it works on Firefox has me more confused and wonder how much of it is client-side vs. server side. The next step that was suggested to me is changing all of the logic that involves session variables to query strings but that will prove to be a pretty intense over-haul on a site that has already been thoroughly tested.
Let me know if you have any luck with your conversion though, let me know if it works.
NO, I wont give the code. But I will tell you what you should do.
When you bind the datatable to the DDL, assign the text property as emp name and value property as emp number.
Till now, we have done the server side part.
That is it. Show it in the alert box.
Give it a try. Write some code, and if you still stuck somewhere, comeback and someone would be happy to help you.
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
Actually its a cascading DDL when selecting the Dept name in the 1st DDL the second DDL displays the corresponding Emp name , upto this i have done it,
Now i want emp no based on the second DDL in a alert box upon clicking a button.
I am facing a problem with ultrawebgrid that I used in my asp.net page. For one of the columns, say "Status" in the grid, there is an editor control - webcombo. Whenever the user clicks this column, I dynamically populate the webcomobo using an AJAX call (using XMLHttpRequest) in the "BeforeEnterEditModeHandler" client side event. The first click seems to be working fine. The subsequent clicks are not even invoking my Ajax page. I am not even hitting that break pointer in the Ajax page method. Instead once I make the send call of the XMLHttpRequest, while debugging, it takes me directly to igtbl_fireEvent - to this line:
if (gs.GridIsLoaded && result != true && eventObj >= 1 && !gs.CancelPostBack)
gs.CancelPostBack = false;
Finally, it sets the CancelPostBack to false....probably, this may be causing the problem because, the grid is trying to postback. I've this grid in an asp.net UpdatePanel. Can anybody help me with this? Am I doing wrong somewhere?
Any idea is highly appreciated. I am in a crucial stage of my project and I am unable to figure out what's happening.