Click here to Skip to main content
15,897,334 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need a container like visual studio toolbox. Pin
hdv21220-Jun-09 12:01
hdv21220-Jun-09 12:01 
GeneralRe: Need a container like visual studio toolbox. Pin
Christian Graus20-Jun-09 12:48
protectorChristian Graus20-Jun-09 12:48 
QuestionWindows Service Controlle in VS2008 Pin
Whitaker.Mike20-Jun-09 5:10
Whitaker.Mike20-Jun-09 5:10 
AnswerRe: Windows Service Controlle in VS2008 Pin
ProtoBytes20-Jun-09 5:34
ProtoBytes20-Jun-09 5:34 
AnswerRe: Windows Service Controlle in VS2008 Pin
DaveyM6920-Jun-09 9:40
professionalDaveyM6920-Jun-09 9:40 
AnswerRe: Windows Service Controlle in VS2008 Pin
Shukla Rahul20-Jun-09 10:09
Shukla Rahul20-Jun-09 10:09 
GeneralRe: Windows Service Controlle in VS2008 Pin
Whitaker.Mike21-Jun-09 3:26
Whitaker.Mike21-Jun-09 3:26 
QuestionWeb service problem - error when binding to datagrid [modified] Pin
Gindi Bar Yahav20-Jun-09 4:29
Gindi Bar Yahav20-Jun-09 4:29 
Hey,
I am programing a program that uses a Web Service to connect between the Server and WinAPP forms.

I made the web service and active my IIS 7 (Using vista ultimate), then i enterd into my localost(using IP) and all go ok (check my defined methods and they returned void XML data)

But when i combine that web service to WinAPP and them bind data to datagrid i got error:
System.Net.WebException: ‏‏הבקשה נכשלה עם הודעת השגיאה:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="%2fUniversityWebServices%2fService.asmx%3fAspxAutoDetectCookieSupport%3d1">here</a>.</h2>
</body></html>

--.
   ב-  System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   ב-  System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   ב-  WindowsUniversityClient.UniversityWebReference.Service.GetGradesByStudentId(Int32 id) ב- C:\Users\יהב\Desktop\UniversityTestOrgnizer\UniversityTestOrgnizer\WindowsUniversityClient\Web References\UniversityWebReference\Reference.cs:שורה 83
   ב-  WindowsUniversityClient.Form1.searchgrades_btn_Click(Object sender, EventArgs e) ב- C:\Users\יהב\Desktop\UniversityTestOrgnizer\UniversityTestOrgnizer\WindowsUniversityClient\Form1.cs:שורה 24
the code i userd
UniversityWebReference.Service service = new WindowsUniversityClient.UniversityWebReference.Service();
try
{
    this.grades_dataview.DataSource = service.GetGradesByStudentId(int.Parse(this.studentid_txtbox.Text));
}
catch (FormatException format_e)
{
    MessageBox.Show(format_e.Message, "נוצרה שגיאה במהלך הצגת הנתונים", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
catch(Exception ee)
{
    MessageBox.Show(ee.Message, "נוצרה שגיאה במהלך הצגת הנתונים", MessageBoxButtons.OK, MessageBoxIcon.Error);
}


Gindi Bar Yahav - Web & Software defeloper.

modified on Saturday, June 20, 2009 10:43 AM

AnswerRe: Web service problem - error when binding to datagrid Pin
ProtoBytes20-Jun-09 5:23
ProtoBytes20-Jun-09 5:23 
GeneralRe: Web service problem - error when binding to datagrid Pin
Gindi Bar Yahav20-Jun-09 6:55
Gindi Bar Yahav20-Jun-09 6:55 
QuestionHow do I check whether the "X" button in the top right corner was clicked? Pin
Etienne_12320-Jun-09 2:39
Etienne_12320-Jun-09 2:39 
AnswerRe: How do I check whether the "X" button in the top right corner was clicked? Pin
Luc Pattyn20-Jun-09 2:42
sitebuilderLuc Pattyn20-Jun-09 2:42 
AnswerRe: How do I check whether the "X" button in the top right corner was clicked? Pin
0x3c020-Jun-09 2:45
0x3c020-Jun-09 2:45 
GeneralRe: How do I check whether the "X" button in the top right corner was clicked? Pin
Etienne_12321-Jun-09 11:52
Etienne_12321-Jun-09 11:52 
QuestionNeed Easy Insert Method Pin
M Riaz Bashir20-Jun-09 2:30
M Riaz Bashir20-Jun-09 2:30 
AnswerRe: Need Easy Insert Method Pin
Manas Bhardwaj20-Jun-09 3:11
professionalManas Bhardwaj20-Jun-09 3:11 
QuestionGDI+ how to not painting the background image [modified] Pin
cppwxwidgetsss20-Jun-09 1:44
cppwxwidgetsss20-Jun-09 1:44 
AnswerRe: GDI+ how to not painting the background image Pin
Luc Pattyn20-Jun-09 1:57
sitebuilderLuc Pattyn20-Jun-09 1:57 
GeneralRe: GDI+ how to not painting the background image [modified] Pin
cppwxwidgetsss20-Jun-09 2:11
cppwxwidgetsss20-Jun-09 2:11 
QuestionIP address in to varient Pin
sudhi16419-Jun-09 20:17
sudhi16419-Jun-09 20:17 
AnswerRe: IP address in to varient Pin
Christian Graus19-Jun-09 20:22
protectorChristian Graus19-Jun-09 20:22 
QuestionGetting Message: "Couldn't Update; Currently Locked" in mdb Pin
honeyashu19-Jun-09 20:03
honeyashu19-Jun-09 20:03 
AnswerRe: Getting Message: "Couldn't Update; Currently Locked" in mdb Pin
Christian Graus19-Jun-09 20:07
protectorChristian Graus19-Jun-09 20:07 
Questiongetting the parent control from a child control at runtime. Pin
Xandip19-Jun-09 19:32
Xandip19-Jun-09 19:32 
AnswerRe: getting the parent control from a child control at runtime. Pin
Christian Graus19-Jun-09 19:46
protectorChristian Graus19-Jun-09 19:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.