Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP code running on dev server but not IIS

Reply
Thread Tools

ASP code running on dev server but not IIS

 
 
Viperv10
Guest
Posts: n/a
 
      02-10-2009
I have code that takes two phone numbers put in two text boxes and when a
button is clicked creates a skype call and conferences them together.

In VB.net (windows application) code works fine.
In ASP using development server code works fine

In IIS on VISTA nothing happens when you click the button.
If I change the onclick code to be response.write("hello") then HELLO is
written to the page

Here is the ASP code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>



<title>Untitled Page</title>


<script runat="server" language="vb">


Dim oskype As New SKYPE4COMLib.Skype
Dim oCall As New SKYPE4COMLib.Call
Dim oCon As New SKYPE4COMLib.Conference



Sub Button1_Click()
oCall = oskype.PlaceCall(TextBox1.Text, TextBox2.Text)
oskype.Mute = True
oCon = oskype.Conference(oCall.ConferenceId)

End Sub

Sub Button2_Click()
' Dim i As Integer

' For i = oCon.ActiveCalls.Count To 1 Step -1

' oCon.ActiveCalls(i).Finish()

' Next

End Sub





</script>


</head>
<body>
<form id="form1" runat="server">
<div>

</div>
<asp:TextBox ID="TextBox1" runat="server">+14165539701</asp:TextBox>
<p>
<asp:TextBox ID="TextBox2" runat="server">+19058587100</asp:TextBox>
</p>
<asp:Button ID="Button1" Text="Place Call" OnClick="Button1_Click"
UseSubmitBehavior="True" runat="server"/>
<p>
<asp:Button ID="Button2" Text="End Call" OnClick="Button2_Click"
UseSubmitBehavior="True" runat="server"/>
</p>
</form>

</body>
</html>
---------------------------------------------------------------------------------------------
I enabled ASP amd ASP.net and a ton of other features in control panel.

I also enabled failure auditing for security events figures it was a
permissions issue nothing...

I am very very new to ASP so a detailed explanation would be helpful.

Thanks.

 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      02-10-2009
On Feb 10, 5:41*am, "Viperv10" <(E-Mail Removed)> wrote:
> I have code that takes two phone numbers put in two text boxes and when a
> button is clicked creates a skype call and conferences them together.
>
> In VB.net (windows application) code works fine.
> In ASP using development server code works fine
>
> In IIS on VISTA nothing happens when you click the button.
> If I change the onclick code to be response.write("hello") then HELLO is
> written to the page
>
> Here is the ASP code:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
>
> * * <title>Untitled Page</title>
>
> <script runat="server" language="vb">
>
> * * Dim oskype As New SKYPE4COMLib.Skype
> * * Dim oCall As New SKYPE4COMLib.Call
> * * Dim oCon As New SKYPE4COMLib.Conference
>
> * * Sub Button1_Click()
> * * * * oCall = oskype.PlaceCall(TextBox1.Text, TextBox2.Text)
> * * * * oskype.Mute = True
> * * * * oCon = oskype.Conference(oCall.ConferenceId)
>
> * * End Sub
>
> * * Sub Button2_Click()
> * * * * ' Dim i As Integer
>
> * * * * ' * *For i = oCon.ActiveCalls.Count To 1 Step -1
>
> * * * * ' * * * oCon.ActiveCalls(i).Finish()
>
> * * * * ' *Next
>
> * * End Sub
>
> </script>
>
> </head>
> <body>
> * * <form id="form1" runat="server">
> * * <div>
>
> * * </div>
> * * <asp:TextBox ID="TextBox1" runat="server">+14165539701</asp:TextBox>
> * * <p>
> * * * * <asp:TextBox ID="TextBox2" runat="server">+19058587100</asp:TextBox>
> * * </p>
> * * <asp:Button ID="Button1" Text="Place Call" *OnClick="Button1_Click"
> UseSubmitBehavior="True" runat="server"/>
> * * <p>
> * * * * <asp:Button ID="Button2" Text="End Call" OnClick="Button2_Click"
> UseSubmitBehavior="True" runat="server"/>
> * * * * * *</p>
> * * </form>
>
> </body>
> </html>
> --------------------------------------------------------------------------- ------------------
> I enabled ASP amd ASP.net and a ton of other features in control panel.
>
> I also enabled failure auditing for security events figures it was a
> permissions issue nothing...
>
> I am very very new to ASP so a detailed explanation would be helpful.
>
> Thanks.


Check their forum:

http://forum.skype.com/index.php?showtopic=218011
http://forum.skype.com/index.php?showtopic=218711

Hope this helps
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple COM objects running on IIS 6.0, but not on IIS 5.0 =?Utf-8?B?Ymc=?= ASP .Net 0 12-30-2004 05:55 PM
Server.Transfer working for IIS 5.1 but not for IIS 6.0 =?Utf-8?B?VmljdG9yIFNvbmc=?= ASP .Net 1 06-01-2004 12:36 AM
ASP.NET application works in IIS PWS, but not in remote IIS. Matthew Louden ASP .Net 3 11-07-2003 09:58 PM
SQL Server connection string works with IIS 5.1 but not IIS 6 in ASP.NET John Kennedy ASP .Net Web Services 5 08-14-2003 12:15 AM
SQL Server connection string works with IIS 5.1 but not IIS 6 in ASP.NET John Kennedy ASP .Net Security 5 08-14-2003 12:15 AM



Advertisments