ASP code running on dev server but not IIS

Discussion in 'ASP .Net' started by Viperv10, Feb 10, 2009.

  1. Viperv10

    Viperv10 Guest

    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.
    Viperv10, Feb 10, 2009
    #1
    1. Advertising

  2. On Feb 10, 5:41 am, "Viperv10" <> 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
    Alexey Smirnov, Feb 10, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matthew Louden
    Replies:
    3
    Views:
    5,862
    Sherif ElMetainy
    Nov 7, 2003
  2. =?Utf-8?B?VmljdG9yIFNvbmc=?=

    Server.Transfer working for IIS 5.1 but not for IIS 6.0

    =?Utf-8?B?VmljdG9yIFNvbmc=?=, May 31, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,683
    clintonG
    Jun 1, 2004
  3. =?Utf-8?B?Ymc=?=
    Replies:
    0
    Views:
    336
    =?Utf-8?B?Ymc=?=
    Dec 30, 2004
  4. John Kennedy
    Replies:
    5
    Views:
    203
    Carl Prothman [MVP]
    Aug 14, 2003
  5. John Kennedy
    Replies:
    5
    Views:
    419
    Carl Prothman [MVP]
    Aug 14, 2003
Loading...

Share This Page