Print Page | Close Window

Issues with the HttpAPI.asp / Upgrading to v11

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=31091
Printed Date: 30 March 2026 at 8:35am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Issues with the HttpAPI.asp / Upgrading to v11
Posted By: Romnus
Subject: Issues with the HttpAPI.asp / Upgrading to v11
Date Posted: 02 October 2014 at 2:16pm
I've come to the realization that the /HttpAPI.asp?action= script is causing me issues when a users signs up to my site. Sometimes it works and does not prevent the user from going through the sign up process, but most of the times, it either takes to long to complete or some other unexplained issues arises that prevent the user from going through my website sign up process. The code is on the sign up page of my site.

The sign up process is as follows:

Signuppage (Httpapi) - >Signup profile input - >Sign up Image upload - >Confirmation

Most of the time the users only is able to complete the signuppage. Since removal of the httpapi all is good.


So, I have decided on removing it and currently have no problems. 

My question are: 

1. What other means can I create a user with out using the HTTPAPI? 

2. Is it safe to just do it via code? 

3. What steps should be taken to ensure this vb.net coding works correctly?

4. Lastly, do you think upgrading version 11 may help the issue?




VB.NET CODE

 Dim objrequest As HttpWebRequest 'request from the remote server.
        Dim objresponse As HttpWebResponse 'Recieve the stream of data send from the remote server.
        Dim streamhtml As StreamReader
        Dim strhtml As String

        Try

            objrequest = CType((Net.WebRequest.Create(strURL)), HttpWebRequest)
            objrequest.Method = "GET" 'This method of http is request/get the data from the remote server.
            objresponse = CType(objrequest.GetResponse(), HttpWebResponse)
            streamhtml = New StreamReader(objresponse.GetResponseStream) 'Data stream from the response
            strhtml = streamhtml.ReadToEnd 'Place the stream(string data) into a string variable to manipulate.



            streamhtml.Close()
            streamhtml.Dispose()
            objresponse.Close()


        Catch ex As Exception

            'Used to enter in the error into the sql table to analysis.
            Dim slex As String = ex.Message.ToString
            EnterintoSQLerrorTable(slex, strURL) ' 
        End Try



Replies:
Posted By: WebWiz-Bruce
Date Posted: 02 October 2014 at 2:42pm
Do you get any errors in log files when you call the HttpAPI.asp file?


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Romnus
Date Posted: 02 October 2014 at 2:49pm
No errors whatsoever? I've checked numerous times. Below is the string I use. And I call the sub via

CreateForummember(username, "123456789", "", email)

CreateForummember(username, password, member_images, email)

Is it necessary to have a string value for image? I have used it with and without with same error result.


        Dim strURL As String = "http://forums.xxxxxxx.com/HttpAPI.asp?action=CreateNewMember&Username=xxxxxx&Password=xxxxxxxxx&memberName=" + username.Replace("'", "") + "&memberPassword=" + password.Replace("'", "") + "&Active=&Suspended=&GroupID=&Email=" + email.Replace("'", "") + "&RealName=&Gender=&Homepage=&Avatar=" + Avatarimage.Replace("'", "") + "&Signature=&SignatureAttach=&ICQ=&DateFormat=&WYSIWYGeditor=&NoOfPosts=&memberTitle=&AdminNotes=&Newsletter="



Posted By: Romnus
Date Posted: 18 October 2014 at 6:05pm
Solved. 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net