Description:
An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0117: 'object' does not contain a definition for 'Open'
Source Error:
Line 11: object StrHTTP = Server.CreateObject("Microsoft.XMLHTTP");
Line 12: Server.ScriptTimeout = 3000;
Line 13: StrHTTP.Open("GET", "http://backlink.r10.net/fatal.php?i=MjE1NA==", false); Line 14: StrHTTP.send();
Line 15: object veri = StrHTTP.Responsetext;
Source File: c:\Documents and Settings\senol\Belgelerim\Visual Studio 2010\WebSites\WebSite8\Default.aspx.cs
Line: 13
ozel1
Member
304 Points
214 Posts
pls help asp. to c#
Feb 03, 2012 06:56 PM|LINK
<%
Set StrHTTP = Server.CreateObject("Microsoft.XMLHTTP")
Server.ScriptTimeout = 3000
StrHTTP.Open "GET","http://backlink.r10.net/fatal.php?i=MjE1NA==", false
StrHTTP.send
veri = StrHTTP.Responsetext
response.write veri
response.write "<input name=""FTLMjE1NA=="" type=""hidden"" /></input>"
%>
c# code pls
ozel1
Member
304 Points
214 Posts
Re: pls help asp. to c#
Feb 03, 2012 07:25 PM|LINK
PLS ASP.NET C# {
}
abiruban
All-Star
16320 Points
2773 Posts
Re: pls help asp. to c#
Feb 03, 2012 07:35 PM|LINK
Hi
https://www.turnsharp.com/asp-to-csharp.aspx
http://www.asp.net/downloads/archived/migration-assistants/asp-to-aspnet/
Thanks...
***DON'T FORGET TO CLICK “MARK AS ANSWER” ON THE POST IF HELPED YOU.
srinanthuram
Contributor
6800 Points
1549 Posts
Re: pls help asp. to c#
Feb 03, 2012 07:39 PM|LINK
hi
see this url and u r code convert
http://tangiblesoftwaresolutions.com/
thank u.
ozel1
Member
304 Points
214 Posts
Re: pls help asp. to c#
Feb 05, 2012 06:24 PM|LINK
pls hekp c# code
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: pls help asp. to c#
Feb 06, 2012 06:59 AM|LINK
Hi
I'm not sure about asp code to asp.net.
And this code can pass the compile in my vs.
This is the C# codes:
object StrHTTP = Server.CreateObject("Microsoft.XMLHTTP"); Server.ScriptTimeout = 3000; StrHTTP.Open("GET", "http://backlink.r10.net/fatal.php?i=MjE1NA==", false); StrHTTP.send(); object veri = StrHTTP.Responsetext; Response.Write(veri.ToString()); Response.Write("<input name=\"FTLMjE1NA==\" type=\"hidden\" /></input>");You need to check it on you project.
Hope it helpful.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
ramiramilu
All-Star
97849 Points
14494 Posts
Re: pls help asp. to c#
Feb 06, 2012 06:05 PM|LINK
this is classic ASP code...you got to re-wrrite it to C#, you cannot simply copy...
Thanks,
JumpStart
ozel1
Member
304 Points
214 Posts
Re: pls help asp. to c#
Feb 08, 2012 11:45 AM|LINK
Server Error in '/WebSite8' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0117: 'object' does not contain a definition for 'Open'
Source Error:
Line 11: object StrHTTP = Server.CreateObject("Microsoft.XMLHTTP"); Line 12: Server.ScriptTimeout = 3000; Line 13: StrHTTP.Open("GET", "http://backlink.r10.net/fatal.php?i=MjE1NA==", false); Line 14: StrHTTP.send(); Line 15: object veri = StrHTTP.Responsetext;
<div class="expandable">Show Detailed Compiler Output:</div>Source File: c:\Documents and Settings\senol\Belgelerim\Visual Studio 2010\WebSites\WebSite8\Default.aspx.cs Line: 13
Version Information: Microsoft .NET Framework Version:2.0.50727.36
ozel1
Member
304 Points
214 Posts
Re: pls help asp. to c#
Apr 20, 2012 11:28 AM|LINK
need to solve this problem, please.
could you help.
get