Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Web Part (VBScript)

  Asked By: Sophie    Date: Sep 27    Category: Sharepoint    Views: 2713

First of I'm not a developer and I need help running ASP code within a
web part. I have an ASP that has codes within <% ....... %> tags. But
when I put this code in the web part under the Embedded content box and
specify VBScript for the type of content, I get a Script Execution
Error: Expected statement. Can somebody please tell me what I need to do
to make this web part works?



1 Answer Found

Answer #1    Answered By: Dante Parsons     Answered On: Sep 27

If I understand you correctly, you are placing asp  code in the embedded
content text box. You can not "put" an asp page in this box. You can
only put  in HTML, VBScript, JavaScript or XML. If you wish to host an
asp page, you must check Get content  from this Link and place the url to
the asp page. Asp uses VBScript, but Asp is not VBScript and the engine
that creates the web  part from the definition will not recognize asp
objects natively.

Didn't find what you were looking for? Find more on Web Part (VBScript) Or get search suggestion and latest updates.