Google Search Results

Clear Results

WebCOBRA.com Community Message Boards

Creating Apps with the API

chrisrt
Posts: 2
Since: 10/15/2009

VB.NET Application
01/12/2010 02:15 PMReply

I'm trying to Log to WebCOBRA in my VB.NET application but my application says an error.

WebException error: The request failed with an empty response.

This errors ocurrs when the program executes the

Credentials = API.Login(AdminCode, Username, Password)

Can anybody help ??



sszelei
Posts: 53
Since: 09/02/2009

RE: VB.NET Application
01/13/2010 08:00 AMReply

Christian,

We may need to see get your VB project to see what it is that is going on. Please contact support and open a ticket. They will give you directions on getting us the information required to look into this.

Regs,

Steven



sszelei
Posts: 53
Since: 09/02/2009

RE: VB.NET Application
02/25/2010 01:38 PMReply

Sorry I have taken so long with this. I was just able to get to it today.

If you add the line:
API.Url = "https://app.webcobra.com/exec/api. asmx"
just before this:
Credentials = API.Login(AdminCode, Username, Password)

I will let our support team know also.

Regs,

Steven



chrisrt
Posts: 2
Since: 10/15/2009

RE: VB.NET Application
02/25/2010 04:24 PMReply

Yes, now is working !!. Thanks



dwgross
Posts: 7
Since: 08/22/2008

RE: VB.NET Application
06/07/2010 01:47 PMReply

We are trying to create a sign on page on our site using the code listed under IT Resources.
Add Login Form to your site:

However, using this code,the sign on page does not display consistantly. It appears that the code may have an open tag or an incorrect address in the post tag. Please review and advise what solutions you can offer.



KCook
Posts: 3
Since: 06/17/2010

RE: VB.NET Application
06/18/2010 09:52 AMReply

The HTMLin the IT Resources sections was missing a couple of closing tags. Please try the HTML below.

<form action="https://app.webcobra.com/ex ec/default.aspx" method="post"><a href="http://app.webcobra.com/exec/ " class="nodec"></a>
<table class="topborder"><tr><td class="text">Administrator Code</td></tr><tr><td class="text"><input type="text" name="companyshortname" id="companyshortname" maxlength="50" class="searchbox" value=""/></td></tr><tr><td class="text">Username</td></tr><tr><td class="text"><input type="text" name="username" id="username" maxlength="50" class="searchbox" value=""/></td></tr><tr><td class="text">Password</td></tr><tr><td class="text"><input type="password" name="password" id="password" maxlength="50" class="searchbox"/></td></tr><tr><td colspan="2" align="center"><input type="submit" name="submit" id="submit" value="Sign In" class="SearchGO"/></td></tr></table>
</form>

Regs,

Kevin



Return to Forum