Jump to content

Gotten This Far


This topic is 4978 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have gotten this far with a lot of help. One last problem to solve.

here is the code that I am using:

Let ( setup = WAReset and

WASetInputValue( "TextBCID" ; "00" ) and

WASetInputValue( "TextSpecial" ; "700" ) and

WASetInputValue( "TextCustID" ; "666666" ) and

WASetInputValue( "TextSeq" ; "123000001" ) and

WASetInputValue( "TextRouting" ; "974027547" ) and

WASetInputValue( "ButtonEncode"; "Encode" ) and

WASetInputValue("__VIEWSTATE"; "dDwtMTEyNDk2MDIxMTt0PDtsPGk8MT47PjtsPHQ8O2w8aTwyOT47aTwzMz47PjtsPHQ8cDxwPGw8VGV4dDs+O2w8U3BlY2lhbCBTZXJ2aWNlcyBtYXkgbm90IGJlIGJsYW5rIG9yIGluY29tcGxldGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4+Oz47Oz47Pj47Pj47Psv4UmUq6hIjoYeMNE2CNgnSjrb8") and

WASetInputValue("customeridlength"; "6")

;

WAGetURL( "http://ribbs.usps.gov/onecodesolution/Barcode_Encoder.Aspx" )

)

The page is now returning the following error:

See the following post for the error message.

Thanks mfero for getting the correct error message posted for me.

If some one could give me a pointer as to how to solve this it would be greatly appreciated.

Thanks

Have changed the sequence of entering the lines of code with no change in behavior.

Edited by Guest
Link to comment
Share on other sites

You posted a bunch of unintelligible HTML into your post. The error message is as follows:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

[NullReferenceException: Object reference not set to an instance of an object.]

USPS_4SCBCode_Client.Barcode_Encoder.ButtonEncode_Click(Object sender, EventArgs e) +933

System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +58

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33

System.Web.UI.Page.ProcessRequestMain() +1292

Does that help?

Link to comment
Share on other sites

Sorry about the HTML. You manage to get posted what I was trying to do.

That is the message that I get when I run this code from the plug-in. How do I correct so that it does not return an error message but returns the correct data. Which would be the same as if you filled out the form in a browser and and click the encode button.

Thanks

Link to comment
Share on other sites

This topic is 4978 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.