Call Web Service, Pass Value to It ( a way to integrate Gemini with Vault.)
Hi, to everyone.
I am a newbie to creating a C# coding applying inside .aspx file .
I did faced a lot of problem while i doing a way to integrate Gemini with Vault.
Now the situation is, i need to pass value from software name --> Vault Client to another software with name --> Gemini
Both of their data were stored seperately into different database.
Now i would like to create a .aspx file which will be called by the IIS i create name Fogbugz .
Below is the source should be worked. However, due to the version of Gemini changed, the method to be used i need to change.
http://gemini.countersoft.com/issue/ViewIssue.aspx?ID=470&PROJID=2
I am creating a aspx file with following code:
<!-- /* Font Definitions / @font-face {font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:宋体; mso-font-charset:134;
mso-generic-font-family:auto; mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;} @font-face
{font-family:"\@SimSun"; panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134; mso-generic-font-family:auto;
mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;}
/ Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:""; margin:0in; margin-bottom:.0001pt;
mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New
Roman"; mso-fareast-font-family:SimSun;} @page Section1 {size:8.5in
11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in;
mso-footer-margin:.5in; mso-paper-source:0;} div.Section1
{page:Section1;} --> <% @ Import Namespace ="System" %>
But after i execute it inside IIS, it show error of
The remote server returned an error: (500) Internal Server Error.
Server Error in '/FogBugz' Application.
The remote server returned an error: (500) Internal Server Error.
Description:
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
Exception Details: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
Source Error:
Line 67: }
Line 68:
Line 69: WebResponse response = req.GetResponse();
Line 70:
Line 71: Stream responseStream = response.GetResponseStream();
Is any professional can teach me? I am helpless now... Thank you a lot..
Appreciate from bottom of my heart..
Regards, Jim
keansuai
· 1 |
|
Tuesday, April 7, 2009, 4:35:09 AM |