<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Macro parse failed. Functionality was lost in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185711#M50097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I don't have a clue really but that doesn't stop me from guessing &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can it be something in your server environment?&lt;BR /&gt;Try creating an external vbs-file with the first part of your macro:&lt;BR /&gt;dim sConn, oRS, sSQL&lt;BR /&gt; set sConn=CreateObject("ADODB.Connection")&lt;BR /&gt; sConn.Open "ODBC_1", "read_only", "read_only"&lt;BR /&gt; set oRS =CreateObject("ADODB.Recordset")&lt;BR /&gt; sSQL="SELECT LOCATIONID, LOCATIONNAME FROM LOCATIONS"&lt;BR /&gt; oRS.Open sSQL, sConn&lt;/P&gt;&lt;P&gt;Save it as test.vbs on your server and then run the following command from the commandline:&lt;BR /&gt;cscript test.vbx //x&lt;/P&gt;&lt;P&gt;That should bring up the debugger and you can check and make sure that this part of the macro is working.&lt;BR /&gt;My hunch is that something will crash...&lt;BR /&gt;Either way, you should be one step closer to a solution.&lt;/P&gt;&lt;P&gt;/Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Mar 2010 16:14:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-18T16:14:59Z</dc:date>
    <item>
      <title>Macro parse failed. Functionality was lost</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185710#M50096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have made a macro that get's data when pushing a button and puts the data into fields(Using an ODBC connection). This works fine when I run it locally, but when i try to run it with a connection to the server, ajax plugin, java plugin og IE plugin i get the error message in the topic.&lt;/P&gt;&lt;P&gt;In the load script I have:&lt;/P&gt;&lt;P&gt;LOCATION:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;LOCATIONID, LOCATIONNAME&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;The macro is connected to a button, the macro is:&lt;/P&gt;&lt;P&gt;sub GetLocations&lt;BR /&gt; dim sConn, oRS, sSQL&lt;BR /&gt; set sConn=CreateObject("ADODB.Connection")&lt;BR /&gt; sConn.Open "ODBC_1", "read_only", "read_only"&lt;BR /&gt; set oRS =CreateObject("ADODB.Recordset")&lt;BR /&gt; sSQL="SELECT LOCATIONID, LOCATIONNAME FROM LOCATIONS"&lt;BR /&gt; oRS.Open sSQL, sConn&lt;BR /&gt; set Result = oRS&lt;BR /&gt; While (Not Result.EOF)&lt;BR /&gt; query="INSERT INTO LOCATION (LOCATIONID, LOCATIONNAME) VALUES (" &amp;amp; Result.Fields(0).Value &amp;amp; "," &amp;amp; Result.Fields(1).Value &amp;amp; ")"&lt;BR /&gt; SET Inputting = ActiveDocument.DynamicUpdateCommand (query)&lt;BR /&gt; Result.MoveNext&lt;BR /&gt; Wend&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;Why is this only working locally? I've searched this forum and read what I can find about this, tried security settings back and forth, but no way if it wants to work from the server.&lt;/P&gt;&lt;P&gt;Running Version 9 on server and locally.&lt;/P&gt;&lt;P&gt;Any clues? Tips? Tricks? Would really appreciate it!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Kjetil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Mar 2010 14:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185710#M50096</guid>
      <dc:creator />
      <dc:date>2010-03-18T14:37:13Z</dc:date>
    </item>
    <item>
      <title>Macro parse failed. Functionality was lost</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185711#M50097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I don't have a clue really but that doesn't stop me from guessing &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can it be something in your server environment?&lt;BR /&gt;Try creating an external vbs-file with the first part of your macro:&lt;BR /&gt;dim sConn, oRS, sSQL&lt;BR /&gt; set sConn=CreateObject("ADODB.Connection")&lt;BR /&gt; sConn.Open "ODBC_1", "read_only", "read_only"&lt;BR /&gt; set oRS =CreateObject("ADODB.Recordset")&lt;BR /&gt; sSQL="SELECT LOCATIONID, LOCATIONNAME FROM LOCATIONS"&lt;BR /&gt; oRS.Open sSQL, sConn&lt;/P&gt;&lt;P&gt;Save it as test.vbs on your server and then run the following command from the commandline:&lt;BR /&gt;cscript test.vbx //x&lt;/P&gt;&lt;P&gt;That should bring up the debugger and you can check and make sure that this part of the macro is working.&lt;BR /&gt;My hunch is that something will crash...&lt;BR /&gt;Either way, you should be one step closer to a solution.&lt;/P&gt;&lt;P&gt;/Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Mar 2010 16:14:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185711#M50097</guid>
      <dc:creator />
      <dc:date>2010-03-18T16:14:59Z</dc:date>
    </item>
    <item>
      <title>Macro parse failed. Functionality was lost</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185712#M50098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fredrik,&lt;/P&gt;&lt;P&gt;I tried that, and got the following error:&lt;/P&gt;&lt;P&gt;C:\Documents and Settings\User1\Desktop\test.vbs(3, 2) ADODB.Connection: Provi&lt;BR /&gt;der is not specified and there is no designated default provider.&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Kjetil Tveit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 07:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185712#M50098</guid>
      <dc:creator />
      <dc:date>2010-03-19T07:32:20Z</dc:date>
    </item>
    <item>
      <title>Macro parse failed. Functionality was lost</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185713#M50099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again&lt;/P&gt;&lt;P&gt;Are you running a 64bit server?&lt;BR /&gt;There are others experiencing the same kind of issues that you are, here for instance:&lt;BR /&gt;&lt;A href="http://www.calcaria.net/ASP/2006/04/provider-not-specified-and-there-is-no.html"&gt;http://www.calcaria.net/ASP/2006/04/provider-not-specified-and-there-is-no.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think Google is your best friend right now, I'm not the technical guy myself..&lt;BR /&gt;Please post any answers that you find, I bet there are other people that are interested.&lt;/P&gt;&lt;P&gt;/Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 08:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185713#M50099</guid>
      <dc:creator />
      <dc:date>2010-03-19T08:38:52Z</dc:date>
    </item>
    <item>
      <title>Macro parse failed. Functionality was lost</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185714#M50100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fredik,&lt;/P&gt;&lt;P&gt;I've been trying back and forth from all over the place. Still have not found a working solution...&lt;BR /&gt;&lt;BR /&gt;I will post back if I find anything that can solve this problem.&lt;/P&gt;&lt;P&gt;BTW; It's a 64 bit machine...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 13:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185714#M50100</guid>
      <dc:creator />
      <dc:date>2010-03-22T13:08:56Z</dc:date>
    </item>
    <item>
      <title>Macro parse failed. Functionality was lost</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185715#M50101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, did you get an answer to this problem yet? I get the same thing error as in your subject line, after that all my code references to all macros (small left box on the left) are gone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 14:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185715#M50101</guid>
      <dc:creator>burgersurfer</dc:creator>
      <dc:date>2010-06-15T14:59:39Z</dc:date>
    </item>
    <item>
      <title>Macro parse failed. Functionality was lost</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185716#M50102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm only guessing, but I think it's caused by licensing issues. Real Time updates on the Server require additional license for a Real-Time Server. If you don't have this license, you solution might be working fine on a Desktop but failing on the server. Once again, it's only a guess...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 16:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185716#M50102</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-06-15T16:55:33Z</dc:date>
    </item>
    <item>
      <title>Macro parse failed. Functionality was lost</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185717#M50103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oleg, I do not run on server, only local PC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 09:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185717#M50103</guid>
      <dc:creator>burgersurfer</dc:creator>
      <dc:date>2010-07-23T09:51:23Z</dc:date>
    </item>
    <item>
      <title>Macro parse failed. Functionality was lost</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185718#M50104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me try a guess here too.&lt;/P&gt;&lt;P&gt;If I am not mistaken, a macro run in the IE plugin runs on the local user's machine, not the server. Could it be the login &amp;amp; drivers from the local users' machines? Just a thought.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 20:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185718#M50104</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-07-23T20:23:36Z</dc:date>
    </item>
    <item>
      <title>Macro parse failed. Functionality was lost</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185719#M50105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan - I'm not totally confident on this one, but I don't think the macro runs on the client side - I always thought it's running on the server, and that's why most of the client-side APIs are not supported in a server environment...&lt;/P&gt;&lt;P&gt;BurgerSurfer - the initial question was about running it on the server, and my guess applied to that situtation. I don't know what's happening in your case.&lt;/P&gt;&lt;P&gt;Actually, I do have one "long shot" suggestion... If you are trying to use dynamic updates, even locally, you need to check a checkbox "Enable Dynamic Data Update" - it's located in Document Properties, under "Server". Ironically, you need to do it even if you don't run the document on the server.&lt;/P&gt;&lt;P&gt;see if this solves the problem...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 22:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185719#M50105</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-07-26T22:57:47Z</dc:date>
    </item>
    <item>
      <title>Macro parse failed. Functionality was lost</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185720#M50106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm beginning to believe the contrary about macros running server-side. I have an application making a connection to an Oracle server to make an update, and it works through the access point on developer machines which have Oracle installed.&lt;/P&gt;&lt;P&gt;Our users for this application, however, recieve an error when running the macro stating the provider cannot be found. This makes me think the db connection is being made client-side, which is a huge inconvenience. Does anyone know if this is the case?&lt;/P&gt;&lt;P&gt;I have checked the "allow dynamic updates", and the macros have been given the most liberal of permissions.&lt;/P&gt;&lt;P&gt;The code is your standard db connection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;' Make the connection&lt;BR /&gt;Set oConn = CreateObject("ADODB.Connection")&lt;BR /&gt;sConn = "Provider=OraOLEDB.Oracle.1;Persist Security Info=False;User ID=user;Password=password;Data Source=datawhs;"&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;*Edit: Used the&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;tags like a good boy. &amp;lt;/body&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 14:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-Functionality-was-lost/m-p/185720#M50106</guid>
      <dc:creator>richardpayne</dc:creator>
      <dc:date>2010-10-27T14:25:13Z</dc:date>
    </item>
  </channel>
</rss>

