.asp page and Contribute CS4

I have a member.asp page that site members are redirected to once logging in to the site through login.asp. Within the member.asp page is a text area that my client would be able to upload additional text and mp3 files for members to view using Contribute. The problem I'm having is that the member.asp page looks correct when I view it in Dreamweaver both local and remote, but when I view that page in Contribute it looks like the login.asp page.
I'm sure I'm missing something. I had the .asp set up performed by a programmer and everything seems to be working fine with the database and login functions.

Open a URLConnection
Read from the connection for the response.
URL url = new URL( "mysite/x.asp?PARAMETER1=VALUE&PARAMETER2=VALUE" );
URLConnection conn = url.openConnection();
InputStream is = conn.getInputStream();
//read the response.

Similar Messages

  • .asp and Contribute CS4

    I have a customer site that contains a folder titled "Members". Within this folder is a page titled members.asp and index.html. Whenever I try to open and edit the members.asp page the index.html opens up. Am I missing something. I can see both pages in my Choose directory.I can choose either one, but members.asp opens up as index.html.
    Any help would be appreciated.

    1. start Contribute
    2. main menu >Edit>Administer Websites>Choose
    website
    3. choose Administration from the list on the left
    4. click the button 'Remove Administration'

  • ASP pages and Oracle ODBC Driver

    I have a number of ASP pages that need to be updated to connect to Oracle using the ORACLE ODBC driver. Currently, these pages connect using the Microsoft ODBC driver for Oracle. I do not know of all the details yet as I havent seen the pages or network for which they reside on and I havent been supplied with details on version information. I would assume I am working with recent versions of all software.
    What Im curious about is if anyone has done this sort of driver change before and if you have any suggestions on how I would go about doing this, or if there are things that I need to be aware of that arent evident at first glance.
    Again, I am switching from the odbc driver provided by Microsoft to a version of the odbc driver provided by Oracle.
    Thanks for any and all information.

    I'll assume that there is some reason that necessitates switching drivers. If there's not going to be a benefit, I'd suggest not changing.
    That said, changing drivers should be relatively painless. If your ASP makes database connections using DSN's, simply go to the ODBC Data Source Administrator, rename the old Microsoft DSN, and create a new DSN using the Oracle driver with the name your ASP is looking for. If your ASP specifies the ODBC driver in its connect string, you'll have to modify all the ASP connect strings to use the Oracle driver. If all goes well, your ASP will now be up & running using the Oracle driver.
    As we all know, however, reality and theory are often at odds with each other. While your ASP should be connecting to the database correctly when you make these changes, please do some thorough testing to verify that everything works like you expect. The ODBC specification permits drivers to have a variety of behaviors in certain conditions. Applications written with one ODBC driver often end up relying on one of these behaviors, and may break when the ODBC driver changes.
    Justin Cave
    ODBC Development

  • HttpConnection.POST to an ASP page

    First - I'm new to J2ME & I'm a novice to java in general. I'm an ASP programmer & I need to write an app for a nextel phone in J2ME.
    I have written a test application that just sends an http request to my asp page and the page should send back the appropriate response to be displayed on the phone, however the asp page does not seem to be receiving the data. However it IS sending back a response. I have tried removing flush() from the dataOutputStream, but that didn't fix the problem. Here is the code inside my MIDlet:
    private void loginViaHTTPConnection(String strLogin) throws IOException {
    HttpConnection hconn = null;
    InputStream is = null;
    OutputStream os = null;
    StringBuffer data = new StringBuffer();
    try {
    hconn = (HttpConnection)Connector.open(url);
    hconn.setRequestMethod(HttpConnection.POST);
    hconn.setRequestProperty("IF-Modified-Since",
    "20 Jan 2001 16:19:14 GMT");
    hconn.setRequestProperty("User-Agent",
    "Profile/MIDP-2.0 Configuration/CLDC-1.0");
    hconn.setRequestProperty("Content-Language", "en-CA");
    os = hconn.openOutputStream();
    // send request to the ASP script
    String str = "PIN=" + strLogin;
    byte postmsg[] = str.getBytes();
    for(int i=0;i < postmsg.length;i++) {
    os.write(postmsg);
    //os.flush();
    //receive response
    is = hconn.openDataInputStream();
    int ch;
    while((ch = is.read()) != -1) {
    data.append((char) ch);
    } finally {
    if(is!= null) {
    is.close();
    if(os != null) {
    os.close();
    if(hconn != null) {
    hconn.close();
    resultItem.setText(data.toString());
    display.setCurrent(resultScreen);
    The ASP code is:
    <%
    PIN = request("PIN")
    If PIN = "" Then
    response.write "INVALID"
    Else
    response.write "GOOD"
    End If
    %>
    The response returned is always "INVALID" no matter what I pass it.
    Any help would be greatly appreciated.

    deepspace
    Thank you, Thank you, Thank you!!!
    That worked like a charm.
    Working Code in case anyone's interested:
    private void loginViaHTTPConnection(String strLogin) throws IOException {
            HttpConnection hconn = null;
            InputStream is = null;
            OutputStream os = null;
            StringBuffer data = new StringBuffer();
            try {
                String str = "PIN=" + strLogin + '\r';
                hconn = (HttpConnection)Connector.open(url);
                hconn.setRequestProperty("IF-Modified-Since",
                        "20 Jan 2001 16:19:14 GMT");
                hconn.setRequestProperty("User-Agent",
                        "Profile/MIDP-2.0 Configuration/CLDC-1.0");
                hconn.setRequestProperty("Content-Language", "en-CA");
                hconn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");          
                hconn.setRequestMethod(HttpConnection.POST);
                // Send request to ASP page
                os = hconn.openOutputStream();
                os.write(str.getBytes());
                os.flush();
                //receive response
                is = hconn.openDataInputStream();
                int ch;
                while((ch = is.read()) != -1) {
                    data.append((char) ch);
            } finally {
                if(is!= null) {
                    is.close();
                if(os != null) {
                    os.close();
                if(hconn != null) {
                    hconn.close();
            resultItem.setText(data.toString());
            display.setCurrent(resultScreen);
        }

  • Cannot see ASP pages with IIS7.5

    I've just installed DW CS5 onto my W7 system.
    I write ASP pages, and need to use IIS to view my pages locally. I'm having
    real difficulties doing this in W7. I've enabled all the correct program
    add-ons (i.e asp) and I've allowed all read/write permissions to the wwwroot
    folder where my local server is. However, I still get an error message when
    trying to view my pages locally.
    The help artical on the Adobe site wasn't much help!
    Is there anyone who can help or give advice, or point me to the website that
    tells you what to do? There must be a fool-proof way of setting this up!
    Cheers,
    Seb
    I should add that I had exactly the same problem last year, but a correspondant, Mooreski, kindly sorted out the problem fo me. (This was my laptop). The ISS on my laptop has stopped working, so I'm guessing that an update to W7 has changed the settings needed to run classic asp pages on IIS.
    Message was edited by: Seb John

    You need to create a classic asp setting that allows 32-bit apps. I am not infront of my PC when I get home I will screen shot steps to get classic asp to work in Win 7
    B

  • ADOBE AIR USING ASP PAGES??

    Hi all,
    does anyone know if I can use adobe air with ASP pages? I
    want to create a app using my websit at
    MovieRepliCars. It run
    using asp pages. Please email me at
    [email protected]
    thanks

    You
    can write an AIR app that
    accesses those ASP pages. AIR/Flash/Flex come with several
    classes for accessing web services. If your site isn't already
    factored out to provide generic web services, it's a good thing to
    do anyway. Then your ASP pages and your AIR app both get their data
    from the same source. This also lets you choose to open up the API
    you've created to outside users, potentially increasing the
    popularity of your site.

  • Running my first ASP page

    HI
    I have my Web server (Sun One Web server 6.1) running and my First ASP Page ready, where do i store my .asp pages and how do i run the first ASP Page?

    Take a look at:
    http://docs.sun.com/source/817-1829-10/gsgasp.html
    Thanks
    Manish

  • DW CC Not applying template updates to ASP pages

    HI,
    Im having a problem with DW CC
    I have added the server behavours back in so I can work with my asp pages and it seems to be ok.
    BUT  if i use Templates to make the pages when I update the template if the pages that were created have .asp extensions the template doesnt update it only updates the .htm or .html files.
    Can someone suggest what I can do?
    I have no other issues with my .asp pages, but I have to manually update by foing to the menu and " Modify> Apply Template To Page "  and its fine but this is tiresome if there are a few pages..
    Thanks in advance for any thoughts or adviice as to where im going wrong.
    Regards
    Tag

    Thanks Ben..
    Its a thought for sure , I just hoped that I could get it to work the way It did for me in CS6.
    Thanks again :-)

  • Merge pdf form data to an ASP page via HTTP

    I am using Adobe LiveCycle.
    Using LiveCycle has anyone been able to collect data from a PDF form posted on their web page, submit via submit button, that data to an ASP page and use the ASP page to do record manipulation.
    I have successfully created a PDF page and collected the data with JavaScript and updated the database. I'm looking for an alternative solution.

    Hi Robert,
    I am trying to design form to interact with an ODBC.
    Do you have any working example that uses following methods?
    xfa.sourceSet.DataConnection1.addNew();
    xfa.sourceSet.DataConnection1.update();
    xfa.sourceSet.DataConnection1.delete();

  • Problems running asp pages on windows 7 IIS local host

    Hi,
    I've just put DW CS5 onto my new Windows 7 machine, and am having problems trying to run asp pages on the IIS local host. With DWmx and windows XP I had no problems, but with the new DW and the new operating system - W7 - it's impossible!
    I fill in the all the basics, and am able to set up a remote local site in the wwwroot folder under a new file I have created called "websites". However I keep getting an error 401.3 Unauthorized message in IE9 when trying to view the site I'm working on locally.
    It suggests that I check the ACLs for the file that is being requested, which I have done and have given all the files full permissions - but I still get the same message.
    I'm going to a trade fair where I can't connect the interet, so I have to find a way of showing my site on my local machine.
    Has anyone had this problem with the new version of IIS for W7 and asp pages - and can anyone help? I'm desperate!!
    Cheers,
    Seb

    Hi Mooreski,
    No, I don't have Skype - but I did what you suggested, and now I get the following:
    I have given all the files in the IIS folder - including the website folder all the permissions necessary, but I still get this!
    This is the IIS app and what I have set up...
    Am I doing the right thing here?
    I will set up a skype account - and contact you
    Cheers,
    Seb

  • Contribute CS4 and CS5 file transfer (publish) problem on Windows 7 64 bit

    Have a problem with Contribute CS5 and CS4  on Windows 7 64 bit where upon editing a webiste for example to add a new page (or edit an existing one) and then clicking on "publish" a blank page appears on the website. To explain this further, If i make the required changes to the page and select the option to publish the file later then the file wirtten to the PC appears to be ok and has all the changes, but as soon as I publish it, only a blank page appears on the web server.  ie the upload (ftp) process does happen but the content of the page is being stripped out somewhere during the filt transfer process.
    I have editied the same site with CS4 on windows XP without any problems.
    Any suggestions would be appreciated
    Thank you
    Chris

    I seem to have solved the issue by downloading this install file
    ftp://ftp.adobe.com/pub/adobe/reader/win/9.x/9.2/enu/AdbeRdr920_en_US.exe
    which installs successfully.

  • Contribute CS4 on Windows 7 64 bit - Attempting to edit existing website results in a blank page

    Hi,
    I am an IT Tech and not an Adobe Contribute user so my apologies in advance for wrong terminology.
    I just installed a new Windows 7 64 bit PC for a client and installed their copy of CS4 Contribute.
    When they attempt to edit their website the page being edited ends up blank.  We can't work out why.
    The same software was on an Windows XP PC and is the same website that they could edit previously without any problems.
    Can anyone assist with settings or advice on potential incompatibility issues?
    Thanks
    Chris

    Chris
    This one is most likely related to permissions - Contribute simply does not have access to write the temporary file, but still attempts to anyway (resulting in a file being created / cleared on the server, but no actual information being written to the file).
    This still appeared to be a problem even when running the application in Administrator mode.
    I may get flamed by the super security-concience techs, but this worked for me:
    Find the location of the temporary site / draft folder (default is C:\Users\username\AppData\Local\Adobe\Contribute CS4\en_US\Sites)
    Select the folders in the "Sites" folder
    Right-click one of them and go to "Properties"
    Click the security tab and click "Edit"
    Add the user "Everyone"
    Select the "Everyone" user and check "Full Control"
    Hit OK, then OK again
    I can't guarantee it will work, but see how you go.
    Thanks
    Dan

  • Contribute CS4 is overwriting my files with a blank page

    Hello,
    I'm hoping that someone can help resolve this issue we're having with Contribute CS4. My client has successfully used the software for several months and recently the issue started.
    Now, when he tries to publish a page that he has made edits to, Contribute overwrites the previous file (HTML file) and puts a completely blank HTML page in it's place. He's using a Windows XP PC and the hosting (Network Solutions) is fine. I can connect using my FTP client and am able to make edits using Dreamweaver CS4.
    He gets an error message that says:
    “Contribute encountered a network or file system error.  Please try the operation again, and contact the administrator if the problem continues to occur.”
    Thanks for any help in advance!
    - Al
    http://www.ampatentdrawings.com/

    Do you Know how to Close a app in the Background? Try this at First
    If Same issue, restart
    If still Same issue, reset (hold Home+powerbutton for a VEW seconds, Till you See the Apple)

  • VB CS4 - How send many textframe to a document to fill page and then another

    Hi,
    Sorry by my bad english, I'm using CS4 and vbscript.
    Need to take information from several fields in a database and send it to an Indesign document. Progressively fill a page and then another.
    How do you add a textframe automatically for each field and the pages needed.
    With my current code, I can put a box on every page. But I want to put the text fields below and once you fill the page, switch to another.
    Thanks.
    Jorge
    Current code:
     For i As Integer = 0 To myDataSet.Tables(0).Rows.Count - 1myPage = myDocument.Pages.Item(i + 1)
    myTextFrame = myPage.TextFrames.Add
    Dim myArray1 As String() = {"4p", "4p", "60p", "20p"}myTextFrame.GeometricBounds = myArray1
    myTextFrame.Contents = myTextFrame.Contents + (myDataSet.Tables(0).Rows(i).Item("name")).ToString + vbCrmyTextFrame.Contents = myTextFrame.Contents + (myDataSet.Tables(0).Rows(i).Item(
    "adress")).ToString + vbCrmyDocument.Pages.Add(idLocationOptions.idAfter, myDocument.Pages.Item(i + 1))
    Next

    The Quiz Results slide's Continue button actions are set under Quiz Preferences > Pass or Fail > If Passing Grade etc. By default, the Continue button is set to just continue on to the next slide after the Quiz Results.
    After the user clicks the Continue button on the Quiz Results slide any Pass/Fail actions you've set up there will be evaluated and executed.
    So if the user achieved a passing score, and you set up an action such as Go to URL in Current Window for that case, then the user should find themselves redirected to that URL.  If there was a different action for Failure, and the user failed, then that should happen.  But either of these will only happen after the Continue button is clicked.
    I tested this by setting www.google.com as the go to URL and it worked.  To see if the URL is the issue, try using another URL that you know everyone can get to.  If that works, try to find out why the URL you want to use is not working.  If no URL works, something else is interfering with the action.

  • I have a pdf file 50 pages and want add to 1st page a logo (icon png or gif or jpg), well I have cs4

    I have a pdf file 50 pages and want add to 1st page a logo (icon png or gif or jpg), well I have cs4 master collection... how do it?

    what is "pinch"? what cs4 program(s)
    to use for this?

Maybe you are looking for