R: (forte-users) ASP and Forté

Hi Kenny,
I suggest you to use XML in order to publish your Forté services.
There is a Forté Library called HTTPDC that let you start up a listener that
answer to HTTP Request.
So you will have a ASP/Forté integration via HTTP/XML
Hope this helps.
----- Original Message -----
From: BOLIVARD Kenny <BOLIVARDPREVIADE.FR>
To: <forte-userslists.xpedior.com>
Sent: Friday, February 23, 2001 8:43 AM
Subject: (forte-users) ASP and Fort&eacute;
Hi everybody!
I'm a new Fort&eacute; developer, so i have some question about it, speciallyone:
I want to access Fort&eacute; service objects through an ASP script. To be more
precise, I want to get back some informations (like, for exemple, the
information of a customer's account) from the Fort&eacute; world and to make-upthe
web page in my ASP script.
Is it possible writing an ASP script (in VisualBasic for example) witch
calls Fort&eacute; service objects?
How can I do that? Maybe by using Web Enterprise's libraries, but itseems
to me that Web access service objet returns only HTLM pages.
Any suggestions and explanations would be appreciated.
Thank's in advance for your replies,
Kenny,
PREVIADE.
France.
Ps: Sorry for my bad english. ;))
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

Sorry for the mistake... I talked about the notification patner.
Daniel Nguyen a &eacute;crit:
Hi,
Use the Notication patner. You can find a sample and some explanation on
http://perso.club-internet.fr/dnguyen/
Hope this helps,
Daniel Nguyen
DARTIGUENAVE Antoine a &eacute;crit:
Bonjour,
la gestion d'un cache de donn&eacute;es de r&eacute;f&eacute;rence dans une application TP
serveur permet le raffraichissement
du cache quand l'appli a signifi&eacute; un update .
Or un batch ( appli distincte ) mettra aussi &agrave; jour ces donn&eacute;es.
Comment signifier &agrave; l'IHM qu'une donn&eacute;e a &eacute;t&eacute; updat&eacute;e ce qui lui permettra
de rafraichir le cache &agrave; la lecture ?
merci d'avance pour toute id&eacute;e sur ce sujet !
Antoine Dartiguenave
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com--
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

Similar Messages

  • RE: (forte-users) R: (forte-users) ASP andForté

    I think you should also be able to publish the Forte Service Objects as DCOM
    services. Then you can access them from within VB-scripts.
    Pascal Rottier
    Atos Origin Nederland (BAS/West End User Computing)
    Tel. +31 (0)10-2661223
    Fax. +31 (0)10-2661199
    E-mail: Pascal.Rottiernl.origin-it.com
    ++++++++++++++++++++++++++++
    Philip Morris (Afd. MIS)
    Tel. +31 (0)164-295149
    Fax. +31 (0)164-294444
    E-mail: Rottier.Pascalpmintl.ch
    -----Original Message-----
    From: Massimiliano Delsante [mailto:delsanteotconsulting.com]
    Sent: Friday, February 23, 2001 9:54 AM
    To: BOLIVARD Kenny; forte-userslists.xpedior.com
    Subject: (forte-users) R: (forte-users) ASP and Fort&eacute;
    Hi Kenny,
    I suggest you to use XML in order to publish your Fort&eacute; services.
    There is a Fort&eacute; Library called HTTPDC that let you start up a listener that
    answer to HTTP Request.
    So you will have a ASP/Fort&eacute; integration via HTTP/XML
    Hope this helps.
    ----- Original Message -----
    From: BOLIVARD Kenny <BOLIVARDPREVIADE.FR>
    To: <forte-userslists.xpedior.com>
    Sent: Friday, February 23, 2001 8:43 AM
    Subject: (forte-users) ASP and Fort&eacute;
    Hi everybody!
    I'm a new Fort&eacute; developer, so i have some question about it, speciallyone:
    I want to access Fort&eacute; service objects through an ASP script. To be more
    precise, I want to get back some informations (like, for exemple, the
    information of a customer's account) from the Fort&eacute; world and to make-upthe
    web page in my ASP script.
    Is it possible writing an ASP script (in VisualBasic for example) witch
    calls Fort&eacute; service objects?
    How can I do that? Maybe by using Web Enterprise's libraries, but itseems
    to me that Web access service objet returns only HTLM pages.
    Any suggestions and explanations would be appreciated.
    Thank's in advance for your replies,
    Kenny,
    PREVIADE.
    France.
    Ps: Sorry for my bad english. ;))
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Il suffit de mettre les BTD/BTX sur un drive r&eacute;seau (net use X:
    \\server\share_point),
    puis d'installer des ic&ocirc;nes pour les clients: ftexec -fi bt:x:\MyApp.
    Pour que les noeuds ne s'auto-enregistrent pas, peut-&ecirc;tre mettre un password
    Ou bien d&eacute;finir les noeuds comme un 'groupe' et donc seul le groupe est
    connu.
    Si mettre le mot de passe suffit pas, et si vraiment le model node g&ecirc;ne,
    alors il
    faut un autre environment manager.
    I think that to avoid install, the software could be located on a shared
    drive,
    and users linking to it through running 'ftexec' or directly the compiled
    binaries.
    For nodes not to appear in the environment as nodes, they could be defined
    as members
    of a model node '(which then would be in the environmnet)'
    Putting a password in the environment could prevent nodes to be registered
    there, but
    might prevent the apps from being executed.
    Cheers,
    j-paul gabrielli
    Sema DTS
    -----Message d'origine-----
    De: Thomas Felix [mailto:tfelixaxialog.fr]
    Date: mardi 2 mai 2000 14:14
    &Agrave;: forte-userslists.xpedior.com
    Objet: (forte-users)
    bonjour a tous
    je souhaites installer une application distribu&eacute;e sur des postes clients.
    Y'a t'il moyen de ne pas installer les noeuds de ces postes clients sur l'
    active environnement li&eacute; au d&eacute;veloppement et si oui comment?
    hi
    I would like to install an application on clients workstation
    Can i install this nodes in a different Active environnement than this one
    that we use for the developpement ?
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Re: (forte-users) SAXParser and InputSource

    Michael Beaulieu wrote on Mon November 8:
    Hello,
    I was wondering if anyone has any experience using the XMLParser
    Library!? in Forte. I have no problem parsing a file using the
    forte parser but when I try to parse a message/TextData object I get
    the error " element not found " ( which is not due to my xml file )
    The class InputSource has a method that takes SeekStream in its
    setCharacterStream method:
    str : MemoryStream = new();
    str.open(SP_AM_READ_WRITE);
    str.WriteText(myMessage);
    theSource : InputSource = new();
    theSource.setCharacterStream(str);
    myParser.parse(theSource);Add this line after you're done writing to the MemoryStream:
    str.Seek(position=0);
    When the SAX parser is reading, it's reading from the current position
    forward; after writing to the stream the current position is at the
    end, so you have to rewind it to the beginning before giving it to the
    SAX parser.
    Cliff Draper
    Forte Engineering
    Forte Software, a subsidiary of Sun

    Why not this:
    while myText.moveToString(' ') do
    myText.ReplaceRange('-', myText.Offset, myText.Offset+1);
    end while;
    or if you prefer verbosity:
    while myText.moveToString(source=' ') do
    myText.ReplaceRange(source='-', startOffset=myText.Offset,
    endOffset=myText.Offset+1);
    end while;
    -----Original Message-----
    From: FatchJeBAM.com [mailto:FatchJeBAM.com]
    Sent: Wednesday, January 12, 2000 2:51 PM
    To: Troy.Burnsvacationclub.com; kamranaminyahoo.com
    Subject: RE: (forte-users) search and replace within a TextData
    How about this?? May have to play with start/end on ReplaceRange as I
    didn't really test this
    Anybody got a better way??
    -- replace space with underscore
    For x in 1 to myTextdata.LengthToEnd() do
    If myTextData.IsSpace() then
    MyTextdata.ReplaceRange('_'. Startoffset=myTextdata.offset,
    endoffset=myTextdata.offset+1);
    End if;
    MyTextdata.MoveNext;
    End for;
    Jerry Fatcheric
    -----Original Message-----
    From: Burns, Troy [mailto:Troy.Burnsvacationclub.com]
    Sent: Wednesday, January 12, 2000 9:40 AM
    To: kamranaminyahoo.com
    Subject: (forte-users) search and replace within a
    TextData
    Hello all,
    I need to search within a textdata object, replacing all
    occurrances of a
    space
    with another character. Can you give a quick code example
    of how I would do
    this?
    Thanks in advance,
    Troy
    Troy Burns
    Marriott Vacation Club Intl.
    E-mail: troy.burnsvacationclub.com
    Phone: (941) 688-7700 ext. 4408
    For the archives, go to: http://lists.sageit.com/forte-users
    and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.sageit.com
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

  • RE: (forte-users) search and replace within aTextData

    Welll, you're both right. The MoveToChar makes it unnecessary (if a little
    sloppy) to MoveNext as long as you've changed the character. thus,
    outStr: TextData = new;
    outStr.SetValue(inStr);
    while (outStr.MoveToChar(' ')) do
    outStr.ReplaceRange('_', outStr.Offset, outStr.Offset+1);
    end while;
    return outStr;
    works fine to change blanks to underscores.
    Regards,
    David
    -----Original Message-----
    From: Campbell, Dave [mailto:DCampbellpurolator.com]
    Sent: Friday, 14 January 2000 0:58
    To: 'Matthew Middleton'
    Cc: kamranaminyahoo.com
    Subject: RE: (forte-users) search and replace within a TextData
    If you do not use the MoveNext method to skip beyond the "found" character,
    a subsequent invocation of MoveToChar will find the same character, located
    at exactly the same offset.
    If there is no match, MoveToChar returns FALSE and the current offset does
    not change.
    ----- Original Message -----
    From: Matthew Middleton <mathew.middletonlawpoint.com.au>
    To:kamranaminyahoo.com
    Unless I'm missing something here...you needn't go through every
    character...use MoveToChar()...as per Help...
    while (TextdataObj.MoveToChar (' ')) do
    end while;
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

    Why not this:
    while myText.moveToString(' ') do
    myText.ReplaceRange('-', myText.Offset, myText.Offset+1);
    end while;
    or if you prefer verbosity:
    while myText.moveToString(source=' ') do
    myText.ReplaceRange(source='-', startOffset=myText.Offset,
    endOffset=myText.Offset+1);
    end while;
    -----Original Message-----
    From: FatchJeBAM.com [mailto:FatchJeBAM.com]
    Sent: Wednesday, January 12, 2000 2:51 PM
    To: Troy.Burnsvacationclub.com; kamranaminyahoo.com
    Subject: RE: (forte-users) search and replace within a TextData
    How about this?? May have to play with start/end on ReplaceRange as I
    didn't really test this
    Anybody got a better way??
    -- replace space with underscore
    For x in 1 to myTextdata.LengthToEnd() do
    If myTextData.IsSpace() then
    MyTextdata.ReplaceRange('_'. Startoffset=myTextdata.offset,
    endoffset=myTextdata.offset+1);
    End if;
    MyTextdata.MoveNext;
    End for;
    Jerry Fatcheric
    -----Original Message-----
    From: Burns, Troy [mailto:Troy.Burnsvacationclub.com]
    Sent: Wednesday, January 12, 2000 9:40 AM
    To: kamranaminyahoo.com
    Subject: (forte-users) search and replace within a
    TextData
    Hello all,
    I need to search within a textdata object, replacing all
    occurrances of a
    space
    with another character. Can you give a quick code example
    of how I would do
    this?
    Thanks in advance,
    Troy
    Troy Burns
    Marriott Vacation Club Intl.
    E-mail: troy.burnsvacationclub.com
    Phone: (941) 688-7700 ext. 4408
    For the archives, go to: http://lists.sageit.com/forte-users
    and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.sageit.com
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

  • Re: (forte-users) DateTimeData and time zones, I need amagictrick !

    You might try externalizing as textdata whenever its passed between partitions.
    kelsey.petrychynsasktel.sk.ca on 04/26/2000 03:45:28 PM
    To: "Guylain Rochon" <GRochonInfluatec.ca>
    cc: kamranaminyahoo.com (bcc: Charlie Shell/Bsg/MetLife/US)
    Subject: Re: (forte-users) DateTimeData and time zones, I need a magic trick !
    I haven't done a lot of work with time zones, but I have some ideas that just
    may work. If it is important for this object to pass in and out of time-zones
    untouched by the destination try passing it by reference. The idea is that the
    actual object will remain in one time zone. You may need to "anchor it down"
    somehow where it resides (Make it private, READ_ONLY or ??).
    Another thing to try is: If it is passed via a method set the mechanism as
    "input". I believe this will stop the destination from changing it. (i.e. It
    will receive it as input only).
    Just some ideas. Good luck.
    Kelsey PetrychynSaskTel Technical Analyst
    ITM - Technology Solutions - Distributed Computing
    Tel (306) 777 - 4906, Fax (306) 359 - 0857
    Internet:kelsey.petrychynSasktel.sk.ca
    Quality is not job 1. It is the only job!
    Guylain Rochon <GRochonInfluatec.ca> on 04/26/2000 01:15:47 PM
    To: "\[FORTE\] Maling list" <kamranaminyahoo.com>
    cc: (bcc: Kelsey Petrychyn/SaskTel/CA)
    Subject: (forte-users) DateTimeData and time zones, I need a magic trick !
    Help, I'm drowning and Fort

    I haven't done a lot of work with time zones, but I have some ideas that just
    may work. If it is important for this object to pass in and out of time-zones
    untouched by the destination try passing it by reference. The idea is that the
    actual object will remain in one time zone. You may need to "anchor it down"
    somehow where it resides (Make it private, READ_ONLY or ??).
    Another thing to try is: If it is passed via a method set the mechanism as
    "input". I believe this will stop the destination from changing it. (i.e. It
    will receive it as input only).
    Just some ideas. Good luck.
    Kelsey PetrychynSaskTel Technical Analyst
    ITM - Technology Solutions - Distributed Computing
    Tel (306) 777 - 4906, Fax (306) 359 - 0857
    Internet:kelsey.petrychynSasktel.sk.ca
    Quality is not job 1. It is the only job!
    Guylain Rochon <GRochonInfluatec.ca> on 04/26/2000 01:15:47 PM
    To: "\[FORTE\] Maling list" <kamranaminyahoo.com>
    cc: (bcc: Kelsey Petrychyn/SaskTel/CA)
    Subject: (forte-users) DateTimeData and time zones, I need a magic trick !
    Help, I'm drowning and Fort

  • RE: (forte-users) XML and XSL in Forte

     

    We too (at Viking Freight) would also be very interested to see if anybody
    has produced such a useful series of classes...
    Frank Lees, Developer
    -----Original Message-----
    From: Amin, Kamran [mailto:kamran.aminframeworkinc.com]
    Sent: Wednesday, January 19, 2000 12:11 PM
    To: 'Forte User'
    Subject: (forte-users) XML and XSL in Forte
    Has anybody integrated an XSL parser with Forte. I know Forte provides us
    with an XML parser but that does not help with parsing XSL. There a lot of
    parsers written in JAVA but that will not integrate well with Forte. We
    need something that will be easy to integrate with Forte. This parser will
    take our XML and XSL to give us a result set. If anybody can comment on the
    subject or share some information I would appreciate it.
    thanks in advance.
    ka
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

  • Trying to simply connect to Oracle with VBscript/ASP - and I cannot.

    This is rather embarrassing. I am pretty fluent with ASP and VBscript, and I have written many a web application connecting to Microsoft SQL Server. Now I have a need to connect to an Oracle database, and I'm beating my head against the wall.
    1) Web server is Windows Server 2003 SP1
    2) Using ASP (not ASP.NET) & VBscript
    3) I have installed the Oracle drivers on the server - it is version 10g
    4) The administrator of the Oracle database to which I want to connect has created a username and password for me to use from within my code
    5) Here is the code I am trying to run:
    Set objConn = Server.CreateObject("ADODB.Connection")
    objConn.Open "Provider=MSDAORA;Data Source=XXXXXXX;User Id=YYYYYYY;Password=ZZZZZZZ;"
    That's it. 2 lines of code just trying to establish a connection. Using the user name and password provided to me by the administrator, and for Data Source I am using the IP address of the Oracle server (like I have done in the past when connecting to SQL Server). I receive the following error message when viewing this in a browser:
    Microsoft OLE DB Provider for Oracle error '80004005'
    ORA-12154: TNS:could not resolve the connect identifier specified
    Evidently, the Data Source I am using is not correct, but I was provided no other information from the admin. This is the first time any of us have tried to connect to Oracle using ASP/VBScript, so the administrator isn't sure what I need to do ... any help would be so appreciated.

    Hello,
    I got mine to work by setting up an ODBC System DSN and connecting to it. I think this bypasses the Microsoft driver, which might be what's causing the problem.
    Set Db = Server.CreateObject("ADODB.Connection")
    Db.Open "DSN=TEST;User ID=userid;Password=password;"
    Good luck, I've found it requires a lot of persistence...
    Al
    Springfield, MO

  • Error when trying to access the RBAC User editor and Message tracking

    Hi,
    I am getting an error when trying to access the RBAC User editor and Message tracking on the Web Mgmt interface. I verified that the admin account trying to access is in the Organization Management group and has the correct Role Assignment Policy applied.
    I searched through this thread below and saw that matching the msExchRoleLink and msExchUserLink attributes fixed the issue. 
    https://social.technet.microsoft.com/Forums/exchange/en-US/fc568cc6-8691-4127-b70b-bcc82f9b1f7f/first-2010-cas-server-no-administrator-rights-emc-permissions-gone?forum=exchange2010
    However I have another environment where this is not the case and works just fine; the msExchUserLink attribute has a value of CN=Organization Management,OU=Microsoft Exchange Security Groups,DC=Domain,DC=Local which is different as per the issue outlined in
    the above thread so I am not convinced that this will work and also don’t want to blindly edit something in adsiedit without being sure.
    I then checked the event logs on the server and saw the below error logged;
    Current user: 'Domain/Server Services Accounts/administrator'
    Request for URL 'https://server.domain.com/ecp/default.aspx?p=AdminDeliveryReports&exsvurl=1' failed with the following error:
    System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the
    page. Please contact your administrator for the required credentials. For new credentials to take effect, you have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       --- End of inner exception stack trace ---
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at ASP.default_aspx.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the page. Please contact your administrator for the required credentials. For new credentials to take effect, you
    have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I then had a look at the IIS permissions for ecp and owa. The account did not have permissions so I added them there but still got the same error. I’ve also tried all of the above with a newly-created account but still got the same issue.
    Any ideas as to what the above event log is specifically referring to?

    Hi,
    From your description, I would like to clarify the following thing:
    If you want to search message tracking logs, the account you use should be a member of the role groups below:
    Organization Management role group, Records Management role group, Recipient Management role group.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • How to add a new user property and then retrieve it  from a portlet

    Trying to add a user property and then retrieve it form a remote web service?
    Add a user property and map it
    1. Create a property2. Go to Global Object Property Map3. Go to users, edit and select the new property.4. Go to User Profile Manager5. For portlets, go to the "Position Information" section and add it. (for the purpose of this test, add it to the profile section as well)6. Under the "User Profile Manager" go to the "User Information - Property Map" step in the wizard and 7. Go to the "User Information Attribute" and add the property.8. Click on the pencil to the right of it and give it a name (The name is what's going to appear in the list of user information under the portlet web service)9. Click finish10. Now create/edit the web service for the portlet from which you want to displays user properties. 11. Under the "User Information", click "add existing user Info" and select the property you want.12. From the portal toolbar, edit the user profile under "My Account" and then "Edit user Profile" and give the new property a value. 13. Test code below: ================================in C# IPortletContext context = PortletContextFactory.CreatePortletContext(Request,Response);IPortletRequest portletRequest = context.GetRequest();System.Collections.IDictionary UserInfoVariables = portletRequest.GetSettingCollection(SettingType.UserInfo);System.Collections.IDictionaryEnumerator UserInfo = UserInfoVariables.GetEnumerator();
    while(UserInfo.MoveNext()){   //to display in a listbox   ListBox1.ClearSelection();   ListBox1.Items.Add(UserInfo.Key.ToString() + ": " + UserInfo.Value);}===========================in ASP: <%Dim objSettings, dUserInfo, sEmpIDSet objSettings = Server.CreateObject("GSServices.Settings") ' get the user info settings, get employee ID from user infoSet dUserInfo = objSettings.GetUserInfoSettings
    for each item in dUserInfo response.Write "<BR>" & item & ": " & dUserInfo(item)next%>

    IPortletContext portletContext = PortletContextFactory.createPortletContext(req, res);
    IPortletRequest portletReq = portletContext.getRequest();
    String value = portletReq.getSettingValue(SettingType.Portlet,settingName);

  • Problem with getting Dreamweaver CC to support ASP and ASPX

    My company and our developers have been using Dreamweaver for more than 10 years and over that time have used DW to build an ASP and SQL server based system with a code base of over 200 programs and literally thousands of web pages in many, many currently active business websites.  We subscribed to Creative Cloud upon upgrading our workstations to Wondows 8 but found to our consternation that DW CC does not support ASP or ASP.NET.  We have followed instructions provided in this forum in June and attempted to edit the Extensions file to include ASP and ASPX, but either DW or Windows 8 refuses to allow the change to be saved, even with have Administrator access.  What can we do now, apart from cancel our CC subscriptions?

    Thanks Nithya.MV for your earlier response.
    We have now found a solution at http://helpx.adobe.com/dreamweaver/kb/change-add-recognized-file-extensions.html which applies to Dreamweaver CS6 but can be adapted to DW CC.  The solution was:
    1. Go to C\Users\username\AppData\Roaming\Adobe\Dreamweaver CC\en_US\Configuration\Extensions.txt
    2. Open the file in say NotePad (visit Preferences first to turn off Read Only if necessary).
    3. Add ASP, ASPX, to the front of the list of extensions in the first line.
    4. Save the Extensions.txt file (then resent the file to Real Only in Preferences)
    5. Close Dreamweaver CC if it's open.
    6. (Re)start Dreamweaver CC and open the required .asp or .aspx file.
    This worked a treat.
    Unfortunately all the other intructions provided on the Support Forum had us looking in the wrong place at:
    C\Program files (x86)\Adobe\Adobe Dreamweaver CC\configuration\Extensions.txt

  • Asp and databases

    I am a novice at asp and have been working with an
    administrator to build an asp form that submits an order to a
    database. For illustration purposes, this form is allows a user to
    make a purchase based on a certain amount of "dollars". When the
    user accesses the form, the database should be displaying how many
    "dollars" the user has left, so they know how much they have to
    spend. My form is successfully accessing the database and updating
    it based on the purchase, but I do not know the code or script
    required to display the "dollars" currently available. Can someone
    help me with this? Thanks so much!

    Right now I have it set up so it points to the same server.
    Here are my settings:
    Under the advanced tab-
    Remote Info:
    Access = FTP
    FTP Host = xxxxxx
    Host directory = xxxxxxx
    Login = xxxxxx
    Password = xxxxxx
    Testing Server
    Server Model = ASP VBScript
    Access = FTP
    FTP host = xxxxxx
    host directory = xxxxxxx
    Login = xxxxx
    Password = xxxxxx
    On both accounts the ftp host and the host directory are the
    same.
    I don't receive any errors when I finish. Alos everything
    tests correctly to the server.

  • Vbscript / asp and DATEs in recordset query

    I've been using dreamweaver for about 5 years now, and its all be mostly vbscript - classic asp based stuff....   mostly small scale stuff using MS Access db as backend datasource.
    i've always had issues with using the recordset building dialogue window/box under server behaviors in terms of building a query using the 'advanced' tab/option and having a date field from my database (formatted like mm/dd/yyyy) used  in the filtering of records... the text based  queries are all a cinch and very easy to do, but for dates I always run into issues.
    right now im simply trying to make sure all the returned records are AFTER the 'current date'  - date() ...
    and dw cs5 has this line added for the default value: RS_Events_cmd.Parameters.Append RS_Events_cmd.CreateParameter("param3", 135, 1, 1, RS_Events__MMColParam3) ' adDBTimeStamp
    in my query im asking And EventDate > ?     ---- basically, where the date of the record in the database is GREATER than or AFTER the current date or a user-defined variable for the date... the default is the current date though.
    something tells me the problem is probably related to the 135,1,1 area  of that string, but i dont know what to try... i've tried changing the last 1 to -1 and 0  but still same error "Application uses a value of the wrong type for the current operation." and it cites that same line of code i just mentioned.
    i might add the database has the date field formatted correctly and im able to use hand-written code to query it just fine, but i know there has to be a way for dw to handle it so my code isnt 'tacked' on and making a mess of the dw routines.
    anyone familiar with any of these issues as relates specifically to vbscript / asp and the use of date() in dw recordset queries?

    Hi,
    <i>I need to use a date to calculate a key figure.</i>
    Here you will use the formula variable with replacement path.
    <i> Can I filter these null values at the query level.</i>
    Yes, it is possible in query level.
    For example, in the formula :
    (0calday = '')* (do what ever you wan to do in case date is null) + (NOT (0calday = ''))* (do what ever you wan to do in case date is not null)
    With rgds,
    Anil Kumar Sharma .P

  • ASP and FTP commands

    ASP and FTP commands to use CHMOD or similar to change folder
    permissions before uploading a file via a web form?
    Is there a script or commands that can do this?
    Are there any other settings that is avaiable on a domain
    that can make sure that the user has access even though the folders
    are set to "0755"?
    This is all from a web form in a controlled area with
    Username and Password.
    I know that this is possible in PHP with two systems:
    suPHP (installed by hosts with a rewrite_module or ftp_module
    not really sure) or
    FTP modules (I write a script with this "$conn =
    ftp_connect("$host");,blah blah...")
    Any ideas unless you have something already?
    Cheers

    I found this code, apparently it can reset but not change it
    for my purposes.
    '========================================================================================= ======
    'RevokeRights
    ' denied specified users access to files specified by file
    mask in folder specified by
    ' "Folder" parameter and its folders.
    'Parameters:
    ' Folder - string. specify target folder
    ' Users - string array. Each string specified user or group
    ' FileMask - string. specified processing files: example
    "C:\*.txt"
    '========================================================================================= ======
    function RevokeRights(Folder, Users, FileMask)
    Dim fso
    Set fso = CreateObject("Scripting.FileSystemObject")
    RevokeFromFolder fso.GetFolder(Folder), Users, FileMask
    end function
    '========================================================================================= ======
    'RevokeFromFolder
    ' Auxillairy function.denied specified users access to files
    specified by file mask in ' folder specified by "Folder" parameter
    and its folders.
    'Parameters:
    ' Folder - "Folder" object. specify target folder
    ' Users - string array. Each string specified user or group
    ' FileMask - string. specified processing files: example
    "C:\.htaccess"
    '========================================================================================= ======
    function RevokeFromFolder(byref Folder, Users, FileMask)
    Dim Subfolders, sf1
    Set Subfolders = Folder.SubFolders
    Revoke Users, Folder.Path & "\" & FileMask
    for each sf1 in Subfolders
    RevokeFromFolder sf1, users, FileMask
    Next
    end function
    '========================================================================================= ======
    'Revoke
    ' denied specified users access to files specified by file
    mask.
    'Parameters:
    ' Users - string array. Each string specified user or group
    ' FileMask - string. specified processing files: example
    "C:\*.txt"
    '========================================================================================= ======
    function Revoke( Users, FileMask)
    Dim ws, cmd, i
    Set ws = Createobject("WScript.Shell")
    cmd = "%comspec% /c cacls " & FileMask & " /C /E /P
    for i = 0 to UBound(Users)
    cmd = cmd & Users(i) & ":n" & " "
    Next
    ws.Run cmd, 0
    Set ws = Nothing
    end function

  • W3wp.exe using 100% user time and 0 % priviledge time

    Hi all
    We deployed application (enhancements) which is developed with ASP.NET with C# code behind.
    After deploying in Application server we are getting problem
    Like "w3wp.exe using 100% user time and 0 % priviledge time"
    Please help me regarding what may be the problem.

    How to trace web URL ?
    Refer:
    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/c56d19af-b3d1-4be9-8a6f-4aa86bacac3f.mspx?mfr=true
    http://forums.iis.net/t/1146821.aspx
    Regards, RSingh

  • Files "SmartViewerHTMLFrame.asp" and "SmartViewerHTMLPage.asp"

    Have installed Crystal Reports 9 on PC (WIN XP), and 2 files: "SmartViewerHTMLFrame.asp" and "SmartViewerHTMLPage.asp" are missing.  Anyone can tell when I can find them!  Thanks!

    Thanks Ludek!
    No, we are not upgrading.  We purchased V 9 simply because the application from which we want to produce reports is an old (classical) ASP app.  We are looking at producing reports using CR and HTML Reports and let the user choose.
    I forwarded your posting to the developer, and here is what he is saying:
    "I actually used the HTML Viewer about 10 years ago when the CR version was 6.   The converted HTML version was really ugly. Therefore, the vendor just removed the two files from their package for the newer version of CR application because nobody uses the HTML viewer today.  Anyway, I guess we have no choice and have to write the HTML report from scratch.  It is almost ready."
    So, it looks like he is doing it from scratch, and is almost done.
    Thanks very much for your assistance.
    Andy

Maybe you are looking for