Cannot find template 'resourceerror'
in CCC, Cisco Conference Connection, when trying to add a conf. or modify one. I'm getting this error. ( Cannot find template 'resourceerror' )
Please advise if you found a solution for this error. I didn't yet found anything...
yanic
Cisco Conference Connection
Version - 1.2(2), 1.2(2) SR2
Conference Scheduling Failed
Your attempt to schedule this conference has been cancelled.
- If you were scheduling a repeated conference then there is no resource available
for any instance of this conference.
- If you were scheduling a single conference then there is no resource available
for this conference.
Please try the following
- Reschedule the conference for a different time.
- Reduce the number of participants allowed into the Conference.
- The info button may provide a link to alternate Cisco Conference Connection
server(s)
However this is not the Case and we get the following error message which does not
make any sense ..
cannot find template " resourceerror "
I am not sure if the template is not being copied over if it exists and we are able
to execute it. I searched for resourceerror and the template I found was
helpresourceerror.tem. I am not sure if this is the correct template it looks for.
We need to figure out why the system is not able to find this template.
To workaround this follow step 5 as per this link below
http://www.cisco.com/en/US/partner/products/sw/voicesw/ps752/products_admini
stration_guide_chapter09186a00800e0f13.html#1025589
which says -
Step 5 Check the Cisco Conference Connection license keys and update them if
necessary.
This is what happens during the install ...
1. Upgrade from 1.2(1) to 1.2(2).
2. The upgrade to 1.2(2) reverts the licensed ports back to the default 6.
3. Now schedule a conference for more than 6 or any for the fact and this error
message above is displayed.
Update on 2/5/04
If you have this problem, you can download and install
CCC1.2(2) SR1 to fix it.
Go to this URL to download it:
http://www.cisco.com/cgi-bin/tablebuild.pl/ccc
Thanks,
Similar Messages
-
Error: process-uri-objects reports: HTTP2020: cannot find template default
Error
process-uri-objects reports: HTTP2020: cannot find template default
Migrated from v4 to 6 but getting this error.Here is the obj.conf from migrated SSL server 6.0 sp5
$ more obj.conf
# Netscape Communications Corporation - obj.conf
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.
<Object name="weblogic" ppath="*/ts/*">
Service fn="wl-proxy" WebLogicCluster="xxx.xxx.x.xx:yyyy,xxx.xxx.x.xx:yyyy" PathTrim="/ts" ErrorPage="htt
p://ips.chase.com/Xcelerate/wlNotUp.html"
</Object>
<Object name="weblogic" ppath="*/jbs/*">
Service fn="wl-proxy" WebLogicCluster="xxx.xxx.x.xx:yyyy,xxx.xxx.x.xx:yyyy" PathTrim=""
</Object>
<Object name="si" ppath="*/servletimages/*">
Service fn="wl-proxy" WebLogicCluster="xxx.xxx.x.xx:yyyy,xxx.xxx.x.xx:yyyy"
NameTrans fn="NSServletNameTrans" name="servlet"
NameTrans fn="pfx2dir" from="/servlet" dir="/opt/netscape/servers/docs/servlet" name="ServletByExt"
NameTrans fn="pfx2dir" from="/manual" dir="/opt/netscape/servers/manual/https" name="es-internal"
NameTrans fn="pfx2dir" from="/ns-icons" dir="/opt/netscape/servers/ns-icons" name="es-internal"
NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/netscape/servers/ns-icons" name="es-internal"
NameTrans fn="pfx2dir" from="/help" dir="/opt/netscape/servers/manual/https/ug" name="es-internal"
NameTrans fn="pfx2dir" from="/ns-icons" dir="/opt/netscape/servers/ns-icons" name="es-internal"
NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/netscape/servers/ns-icons" name="es-internal"
NameTrans fn="pfx2dir" from="/help" dir="/opt/netscape/servers/manual/https/ug" name="es-internal"
NameTrans fn="pfx2dir" from="/cgi-bin" dir="/opt/netscape/suitespot/docs/cgi-bin" name="cgi"
NameTrans fn=document-root root="$docroot"
PathCheck fn="unix-uri-clean"
PathCheck fn="check-acl" acl="default"
PathCheck fn="find-pathinfo"
PathCheck fn="find-index" index-names="index.html,home.html"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy" WebLogicCluster="xxx.xxx.x.xx:yyyy,xxx.xxx.x.xx:yyyy"
Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="send-error"
Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
AddLog fn="flex-log" name="access"
</Object>
<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn=send-cgi user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
</Object>
</Object>
<Object name="maintpwreset" ppath="*/maintpwreset/*">
Service fn="wl-proxy" WebLogicHost="xxx.xxx.x.xx" WebLogicPort="yyyy"
</Object>
<Object name="pwreset" ppath="*/pwreset/*">
Service fn="wl-proxy" WebLogicHost="xxx.xxx.x.xx" WebLogicPort="yyyy"
</Object>
<Object name="servlet">
ObjectType fn=force-type type=text/html
Service fn="NSServletService"
</Object>
<Object name="jsp092">
ObjectType fn="type-by-extension"
ObjectType fn="change-type" type="magnus-internal/jsp092" if-type="magnus-internal/jsp"
Service fn="NSServletService" type="magnus-internal/jsp092"
</Object>
<Object name="ServletByExt">
ObjectType fn=force-type type=magnus-internal/servlet
Service type="magnus-internal/servlet" fn="NSServletService"
</Object>
<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>
$
Back end is a weblogic cluster, I have used xxx at place of IP and yy for port.
Here is last few config lines from magnus.conf
Init fn="load-modules" shlib="/opt/netscape/servers/bin/https/lib/libNSServletPlugin.so" funcs="NSServlet
EarlyInit,NSServletLateInit,NSServletNameTrans,NSServletService" shlib_flags="(global|now)"
Init fn="NSServletEarlyInit" EarlyInit=yes
Init fn="NSServletLateInit" LateInit=yes
Init fn="flex-init" access="/opt/netscape/servers/https-secure-xxxxxxx/logs/access" format.access="%Ses
->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %
Req->srvhdrs.content-length%"
Init fn="load-types" mime-types="mime.types"
Init fn="load-modules" funcs="wl-proxy,wl-init" shlib="/weblogic/lib/solaris/libproxy.so"
Init fn="wl-init"
Thanks -
[Exchange 2013] Cannot find Template User object error
Hello,
I've faced with really strange issue. When I try to execute cmdlet Get-Recipient for user from @hotmail.com, @outlook.com and @live.com domains I get error "Cannot find Template User", even SilentlyContinue is used.
Let me show an example. Open PowerShell and load exchange snapin:
[PS] C:/>Add-PSSnapin Microsoft.Exchange.Management.Powershell.E2010
[PS] C:/>$existingContact = Get-Recipient [email protected] -ErrorAction SilentlyContinue
Cannot find Template User object.
At line:1 char:1
+ Get-Recipient [email protected] -ErrorAction SilentlyContinue
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], ADTransientException
+ FullyQualifiedErrorId : [Server=CAS15-CA-1,RequestId=5cfa31f1-96d5-43c2-8c98-ea50d108276f,TimeStamp=10/24/2014 1
:38:08 PM] [FailureCategory=Cmdlet-ADTransientException] EC4D1948
It works well for others domains (e.g. gmail.com), besides it works well for Exchange 2010. And finally it works well in Exchange Management shell.
What does the error mean? Why Get-Recipient doesn't work only for Microsoft's domains?
Thanks in advance!I have seen a lot of weird errors and sometimes incomplete results when manually adding the Exchange Snappin into powershell. Exchange 2010+ is setup for remote powershell, so if your on the server then use the exchange shell which will do all the remoting
for you, or you can setup the remote session your self.
http://blogs.technet.com/b/heyscriptingguy/archive/2012/01/23/learn-how-to-use-powershell-to-run-exchange-server-commands-remotely.aspx
DJ Grijalva | MCITP: EMA 2007/2010 SPA 2010 | www.persistentcerebro.com -
Process-uri-objects reports: cannot find template perf
Hi
In my Iplanet webserver we are trying to access one of our app related info., and i am encountering this weird errors.
Does any one have any solutions for this kind of problems? or any recommedations for this
Thanks
HariHi
In my Iplanet webserver we are trying to access one
of our app related info., and i am encountering this
weird errors.
Does any one have any solutions for this kind of
problems? or any recommedations for this
Thanks
Hari2 years later I ran into this same problem with no answers (in fact only 2 hits)on the web. For the next person.... In my case the admin had added the name-trans functions correctly but had forgotten to add the object names AFTER the default object. -
Preview Template - windows cannot find file
Hi
While previewing the template from MS Word, it pops up with the following error --
Windows cannot find
D:\..\tmp\271234562718103out.pdf718103out.pdf
When i try to preview it as a PDF, the pdf is located in the temp folder by the name 271234562718103out.pdf but somehow windows is trying to find out 271234562718103out.pdf718103out.pdf and pops up with the error.
How is this file name getting generated? Everytime it appends some of the last characters to the file name.
Any help would be greatly appreciated.
Thanks in Advance
CJ
Edited by: user10511095 on Apr 20, 2009 11:41 PM
Edited by: user10511095 on Apr 20, 2009 11:42 PM
Edited by: user10511095 on Apr 20, 2009 11:42 PMOpen the following registry and set the work directory which does not include any spaces:
HKEY_CURRENT_USER\Software\Oracle\XML Publisher\Template Builder for Word\TB_WORK_DIR
In my case the above Registry Key has the value:
C:\Documents and Settings\p.jain\Local Settings\Application Data\Oracle\BIPublisher\TemplateBuilderforWord
and I changed it to:
C:\DOCUME~1\PAAAB~1.JAI\LOCALS~1\APPLIC~1\ORACLE\BIPUBL~1\TEMPLA~1
and it worked.
I suggest you copy the path from the error which you receive. -
Cannot find any template in premiere nor encore etc (CS6)
Hello,
cannot find any template in premiere nor encore etc (CS6), I had them with cs5.5 can someone help me in trying to isntall those?
Thanks
Regards
FeliceSee if the information at the following link helps solve the problem:
http://helpx.adobe.com/x-productkb/multi/library-functional-content-missing.html -
Quick little pointer to anyone who comes across this issue like I did. I went from using the 10.4.2 version of OPM to the Cloud edition and during the process moved the installation directory. After this time I started receiving the following message every time Excel opened:
Cannot find add-in 'path to OPA\templates\Oracle Policy Modeling Excel 2010.xlam'
To fix this you have delete the existing Add-In from Excel and add the new one:
Open Excel and go File > Options > Add-Ins
In the Active Application Add-ins list I could see the Oracle Policy Modeling one at the top with the incorrect path
At the Manage dropdown at the bottom, choose Excel Add-ins and then click Go...
In the dialog, click Oracle Policy Modeling Excel 2010 and then Browse...
Locate the new installation of OPA and go to the templates directory
Select the Oracle Policy Modeling Excel 2010.xlam file and click OK. Click OK again on the Add-Ins dialog.Thanks Ross - I have logged this for internal investigation.
-
I cannot find the command/template to force rebuild of users Spotlight
I give up, I have searched these forums, but cannot find it.
I need the command line to recreate the template, I know I found it online but cannot find it now.
What's worse I had a template for it, but re imaged the Mac on which I run ARD, and cannot find a copy or remember how to do it.
So does anyone have it or can they point me in the right direction to find.
Thanks
PhilAh well,
Working on something else and remembered most of it, hacked it together and got it to work.
Here it is if anyone wants it, it will turn off, delete, then turn on Spotlight on a users Mac
#!/bin/bash
sudo mdutil -i off / /Volumes/*
sudo mdutil -E / /Volumes/*
sudo mdutil -i on / /Volumes/*
Cheers
Phil -
Cannot find CFML template for custom tag
Why am I getting this error when my code looks like this?
Cannot find CFML template for custom tag UPSPrice.
ColdFusion attempted looking in the tree of installed custom tags but did not find a custom tag with this name. If you are using per-applica
<Cfif NOT form.shipzip IS "">
<CF_UPSPrice SERVICE="#form.upsshiptype#" FROM="#shopshipzip#" TO="#FORM.shipzip#" WEIGHT="#getshipweight.totwei#">
<cfelse>
<CF_UPSPrice SERVICE="#form.upsshiptype#" FROM="#shopshipzip#" TO="#FORM.zip#" WEIGHT="#getshipweight.totwei#">
</cfif>UPSPrice.cfm file:
<!---
NAME:
CF_UPSPrice
DESCRIPTION:
Cold Fusion custom tag obtain UPS shipping costs from ups.com.
ATTRIBUTES:
CALLTAG - (optional) Electronic or basic call tag issued, valid options
are NONE BASIC or ELECTRONIC, defaults to NONE.
COD - (optional) Package is being sent C.O.D., valid options are YES
and NO, defaults to NO.
FROM - (required) Source (ship from) postal code.
HANDLING - (optional) Requires special handling (eg. - any article that
is not fully encased in an outside shipping container,
or any package that exceeds 60 inches in length).
HAZARD - (optional) Package contains hazardous material, valid options are YES
and NO, defaults to NO.
HEIGHT - (optional) Height (in inches) of oversized package.
LENGTH - (optional) Length (in inches) of oversized package.
OVERSIZED - (optional) Package is oversized, valid options are YES and NO,
defaults to NO.
RESPONSE - (optional) Delivery confirmation service, valid options are
NONE BASIC SIGNATURE ALTERNATE or ALL, defaults to
NONE.
SATDELIV - (optional) Saturday delivery, valid options are YES and NO,
defaults to NO.
SATPICKUP - (optional) Saturday pickup, valid options are YES and NO,
defaults to NO.
SERVICE - (required) UPS Service ID, valid service IDs are:
1DM - Next Day Air Early AM
1DML - Next Day Air Early AM Letter
1DA - Next Day Air
1DAL - Next Day Air Letter
1DP - Next Day Air Saver
1DPL - Next Day Air Saver Letter
2DM - 2nd Day Air A.M.
2DA - 2nd Day Air
2DML - 2nd Day Air A.M. Letter
2DAL - 2nd Day Air Letter
3DS - 3 Day Select
GNDCOM - Ground Commercial
GNDRES - Ground Residential
SHIPNOT1 - (optional) First ship notification, valid options are NONE
DOMESTIC or INTERNATIONAL, defaults to NONE.
SHIPNOT2 - (optional) Second ship notification, valid options are NONE
DOMESTIC or INTERNATIONAL, defaults to NONE.
TOCOUNTRY - (optional) Destination country code, defaults to US if not
specified. Visit the UPS site for a complete list of
valid two letter country codes.
TO - (required) Destination (ship to) postal code.
VALUE - (optional) Declared value for carrier liability, carrier assumes
$100 by default.
VERBCONF - (optional) Verbal confirmation of delivery, valid options are YES
and NO, defaults to NO.
WEIGHT - (required) Weight (in pounds) of package, fractions may be used.
WIDTH - (optional) Width (in inches) of oversized package.
NOTES:
This tag submits a shipping cost request to UPS for processing, and returns
price and shipping information. CF_UPSPrice sets the following variables that
you may use within your template after the call to CF_UPSPrice:
UPS_BaseCharge - Base shipping charge.
UPS_Charge - Total charge.
UPS_Error - Error message, if there was one.
UPS_ErrorCode - Error code, if there was one.
UPS_FromCountry - Source country code.
UPS_FromPostal - Source postal code.
UPS_GuaranteedBy - Guranteed delivery time.
UPS_OptionalCharge - Total of optional charges.
UPS_Service - UPS service ID.
UPS_Success - YES if request was successful, NO if not.
UPS_ToCountry - Destination country code.
UPS_ToPostal - Destination postal code.
UPS_ToZone - Destination zone.
UPS_Weight - Billed weight.
USAGE:
To use just call <CF_UPSPrice> from within your Cold Fusion template,
passing at least the required attributes TO FROM SERVICE and WEIGHT.
EXAMPLES:
Obtain price for next day package from NY to CA:
<CF_UPSPrice SERVICE="1DA" FROM="11213" TO="90046" WEIGHT="1.5">
<CFOUTPUT>Cost is #DollarFormat(UPS_Charge)#</CFOUTPUT>
Sending a oversized package C.O.D. via second day air:
<CF_UPSPrice SERVICE="2DA" FROM="11213" TO="90046"
WEIGHT="1.5" HEIGHT="13" WIDTH="12" LENGTH="20" COD="Yes">
Using form fields:
<CF_UPSPrice SERVICE="#service#" FROM="#from#" TO="#to#" WEIGHT="#weight#">
AUTHOR:
Ben Forta ([email protected]) 10/14/97
With help from Dave Beckstrom ([email protected])
--->
<!--- Initialize variables --->
<CFSET proceed = "Yes">
<CFSET error_message = "">
<!--- Get UPS service --->
<CFIF proceed>
<CFIF IsDefined("ATTRIBUTES.service")>
<CFSET product = ATTRIBUTES.service>
<CFELSE>
<CFSET proceed = "No">
<CFSET error_message = "SERVICE must be specified!">
</CFIF>
</CFIF>
<!--- Get destination postal code --->
<CFIF proceed>
<CFIF IsDefined("ATTRIBUTES.to")>
<CFSET destPostal = ATTRIBUTES.to>
<CFELSE>
<CFSET proceed = "No">
<CFSET error_message = "TO postal code must be specified!">
</CFIF>
</CFIF>
<!--- Get source postal code --->
<CFIF proceed>
<CFIF IsDefined("ATTRIBUTES.from")>
<CFSET origPostal = ATTRIBUTES.from>
<CFELSE>
<CFSET proceed = "No">
<CFSET error_message = "FROM postal code must be specified!">
</CFIF>
</CFIF>
<!--- Get weight --->
<CFIF proceed>
<CFIF IsDefined("ATTRIBUTES.weight")>
<CFSET weight = ATTRIBUTES.weight>
<CFELSE>
<CFSET proceed = "No">
<CFSET error_message = "WEIGHT postal code must be specified!">
</CFIF>
</CFIF>
<!--- If all okay, process other options --->
<CFIF proceed>
<!--- Get destination country --->
<CFSET destCountry = "US">
<CFIF IsDefined("ATTRIBUTES.tocountry")>
<CFSET destCountry = ATTRIBUTES.tocountry>
</CFIF>
<!--- Get oversized --->
<CFSET oversized = "0">
<CFIF IsDefined("ATTRIBUTES.oversized")>
<CFIF ATTRIBUTES.oversized>
<CFSET oversized = "1">
</CFIF>
</CFIF>
<!--- Get COD --->
<CFSET cod = "0">
<CFIF IsDefined("ATTRIBUTES.cod")>
<CFIF ATTRIBUTES.cod>
<CFSET cod = "1">
</CFIF>
</CFIF>
<!--- Get hazard --->
<CFSET hazard = "0">
<CFIF IsDefined("ATTRIBUTES.hazard")>
<CFIF ATTRIBUTES.hazard>
<CFSET hazard = "1">
</CFIF>
</CFIF>
<!--- Get handling --->
<CFSET handling = "0">
<CFIF IsDefined("ATTRIBUTES.handling")>
<CFIF ATTRIBUTES.handling>
<CFSET handling = "1">
</CFIF>
</CFIF>
<!--- Get calltag --->
<CFSET calltag = "0">
<CFIF IsDefined("ATTRIBUTES.calltag")>
<CFIF ATTRIBUTES.calltag IS "BASIC">
<CFSET calltag = "1">
<CFELSEIF ATTRIBUTES.calltag IS "ELECTRONIC">
<CFSET calltag = "2">
</CFIF>
</CFIF>
<!--- Get Saturday delivery --->
<CFSET saturdaydelivery = "0">
<CFIF IsDefined("ATTRIBUTES.satdeliv")>
<CFIF ATTRIBUTES.satdeliv>
<CFSET saturdaydelivery = "1">
</CFIF>
</CFIF>
<!--- Get Saturday pickup --->
<CFSET saturdaypickup = "0">
<CFIF IsDefined("ATTRIBUTES.satpickup")>
<CFIF ATTRIBUTES.satpickup>
<CFSET saturdaypickup = "1">
</CFIF>
</CFIF>
<!--- Get response --->
<CFSET response = "0">
<CFIF IsDefined("ATTRIBUTES.response")>
<CFIF ATTRIBUTES.response IS "BASIC">
<CFSET response = "1">
<CFELSEIF ATTRIBUTES.response IS "SIGNATURE">
<CFSET response = "2">
<CFELSEIF ATTRIBUTES.response IS "ALTERNATE">
<CFSET response = "3">
<CFELSEIF ATTRIBUTES.response IS "ALL">
<CFSET response = "4">
</CFIF>
</CFIF>
<!--- Get vcd --->
<CFSET vcd = "0">
<CFIF IsDefined("ATTRIBUTES.verbconf")>
<CFIF ATTRIBUTES.verbconf>
<CFSET vcd = "1">
</CFIF>
</CFIF>
<!--- Get first ship notify --->
<CFSET firstshipnotify = "0">
<CFIF IsDefined("ATTRIBUTES.shipnot1")>
<CFIF ATTRIBUTES.shipnot1 IS "DOMESTIC">
<CFSET firstshipnotify = "1">
<CFELSEIF ATTRIBUTES.shipnot1 IS "INTERNATIONAL">
<CFSET firstshipnotify = "2">
</CFIF>
</CFIF>
<!--- Get second ship notify --->
<CFSET secondshipnotify = "0">
<CFIF IsDefined("ATTRIBUTES.shipnot2")>
<CFIF ATTRIBUTES.shipnot2 IS "DOMESTIC">
<CFSET secondshipnotify = "1">
<CFELSEIF ATTRIBUTES.shipnot2 IS "INTERNATIONAL">
<CFSET secondshipnotify = "2">
</CFIF>
</CFIF>
</CFIF> <!--- End process params --->
<!--- If have all params, process request --->
<CFIF proceed>
<CFHTTP
URL="http://www.ups.com/using/services/rave/qcostcgi.cgi"
METHOD="POST"
>
<CFHTTPPARAM TYPE="FORMFIELD" NAME="accept_UPS_license_agreement" VALUE="yes">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="10_action" VALUE="3">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="13_product" VALUE="#product#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="15_origPostal" VALUE="#origPostal#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="19_destPostal" VALUE="#destPostal#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="22_destCountry" VALUE="#destCountry#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="23_weight" VALUE="#weight#">
<CFIF IsDefined("ATTRIBUTES.value")><CFHTTPPARAM TYPE="FORMFIELD" NAME="24_value" VALUE="#ATTRIBUTES.value#"></CFIF>
<CFIF IsDefined("ATTRIBUTES.length")><CFHTTPPARAM TYPE="FORMFIELD" NAME="25_length" VALUE="#ATTRIBUTES.length#"></CFIF>
<CFIF IsDefined("ATTRIBUTES.width")><CFHTTPPARAM TYPE="FORMFIELD" NAME="26_width" VALUE="#ATTRIBUTES.width#"></CFIF>
<CFIF IsDefined("ATTRIBUTES.height")><CFHTTPPARAM TYPE="FORMFIELD" NAME="27_height" VALUE="#ATTRIBUTES.height#"></CFIF>
<CFHTTPPARAM TYPE="FORMFIELD" NAME="29_oversized" VALUE="#oversized#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="30_cod" VALUE="#cod#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="33_hazard" VALUE="#hazard#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="34_handling" VALUE="#handling#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="35_calltag" VALUE="#calltag#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="37_saturdaydelivery" VALUE="#saturdaydelivery#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="38_saturdaypickup" VALUE="#saturdaypickup#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="39_response" VALUE="#response#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="43_vcd" VALUE="#vcd#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="44_firstshipnotify" VALUE="#firstshipnotify#">
<CFHTTPPARAM TYPE="FORMFIELD" NAME="45_secondshipnotify" VALUE="#firstshipnotify#">
</CFHTTP>
<!--- Check if succeeded --->
<CFIF ListFirst(CFHTTP.FileContent, "%") IS "UPSOnLine3">
<!--- Success, set variables --->
<CFSET CALLER.UPS_Success = "Yes">
<CFSET CALLER.UPS_Service = ListGetAt(CFHTTP.FileContent, 2, "%")>
<CFSET CALLER.UPS_FromPostal = ListGetAt(CFHTTP.FileContent, 3, "%")>
<CFSET CALLER.UPS_FromCountry = ListGetAt(CFHTTP.FileContent, 4, "%")>
<CFSET CALLER.UPS_ToPostal = ListGetAt(CFHTTP.FileContent, 5, "%")>
<CFSET CALLER.UPS_ToCountry = ListGetAt(CFHTTP.FileContent, 6, "%")>
<CFSET CALLER.UPS_ToZone = ListGetAt(CFHTTP.FileContent, 7, "%")>
<CFSET CALLER.UPS_Weight = ListGetAt(CFHTTP.FileContent, 8, "%")>
<CFSET CALLER.UPS_BaseCharge = ListGetAt(CFHTTP.FileContent, 9, "%")>
<CFSET CALLER.UPS_OptionalCharge = ListGetAt(CFHTTP.FileContent, 10, "%")>
<CFSET CALLER.UPS_Charge = ListGetAt(CFHTTP.FileContent, 11, "%")>
<CFSET CALLER.UPS_GuaranteedBy = ListGetAt(CFHTTP.FileContent, 12, "%")>
<CFSET CALLER.UPS_Error = "">
<CFSET CALLER.UPS_ErrorCode = "">
<CFELSE>
<!--- Failed, set variables and error message --->
<CFSET CALLER.UPS_Success = "No">
<CFSET CALLER.UPS_Service = "">
<CFSET CALLER.UPS_FromPostal = "">
<CFSET CALLER.UPS_FromCountry = "">
<CFSET CALLER.UPS_ToPostal = "">
<CFSET CALLER.UPS_ToCountry = "">
<CFSET CALLER.UPS_ToZone = "">
<CFSET CALLER.UPS_Weight = "">
<CFSET CALLER.UPS_BaseCharge = "">
<CFSET CALLER.UPS_OptionalCharge = "">
<CFSET CALLER.UPS_Charge = "">
<CFSET CALLER.UPS_GuaranteedBy = "">
<CFSET CALLER.UPS_Error = ListGetAt(CFHTTP.FileContent, 2, "%")>
<CFSET CALLER.UPS_ErrorCode = ListGetAt(CFHTTP.FileContent, 3, "%")>
</CFIF>
<CFELSE>
<!--- Failed, display error message, and abort --->
<CFOUTPUT><H1>Error: #error_message#</H1></CFOUTPUT>
<CFABORT>
</CFIF> -
Cannot find CFML template for custom tag SELECTDATE
Hi,
I am not a ColdFusion developer and just moved a site from one server to another. That site is developed by someone else not me and I just moved the site to ColdFusion server. Site is working fine except a few pages where I am getting this error:
Cannot find CFML template for custom tag SELECTDATE
I read a little bit about custom tags. These are files that needs to be placed in a certain folder from where ColdFusion reads them.
So that means I will need to ask the developer who developed this site to provide me with this custom tag file, which when I will place in appropriate folder, this page will start working? And without that file I cannot do anything about it?
ThanksAs Dan says, they're just CFM files. Usually one can identify them as follows:
* they're in the same directory as a file calling <cf_somefilename[...]>, wherein there is a somefilename.cfm is the name of the file
* they're in one of the directories set as custom tag directories (in CFAdmin, or Application.cfc)
* they have references to "thistag" or the attributes scope in them (although the latter can produce false positives on Fusebox sites)
By the sounds of it, your issue is - like I said before - you haven't got your custom tag dirs set up in CFAdmin (or in Application.cfc, which I didn't mention before). Investigate that.
Adam -
RoboHelp 10 Compile Error: Cannot find xml definition file Template Error
Does anyone know how to resolve this error? I'm exhausted googling.
I generated Webhelp and got the error below. When I View the Help, nothing displays; IE browser does not open the Help.
Initializing compiler...
Generating WebHelp 5.50 (10.0.0.287)...
Error: Cannot find xml definition file C:\Program Files (x86)\Adobe\Adobe RoboHelp 10\RoboHTML\webhelp5Ext\template_skin\webhelp5skin.xml.
Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.navpane.dhtml
Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.navpane.list
Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.toolbar
Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.minibar
Template Error: can not resolve macro: WT_DS_TOC_ICON_PAGE_REMOTE
Template Error: can not resolve macro: WEBHELP_TEMPLATE.topic
Template Error: can not resolve macro: WEBHELP_TEMPLATE.frame
Processing TOC data...
Processing Glossary data...
Processing Context-sensitive-Help data...
Updating HTML topics...
Finished updating HTML topics in 5 sec(s) : total 431 topic(s).
Processing Full-text-search data...
Finished processing Full-Text-Search data in 41 sec(s)
Applying WebHelp 5.50 Template...
..........................Template Error: can not resolve macro: WT_DS_SEARCHFORM_GO in C:\FuelsManager Primus\Web Application\Projects\FMHelp\Cirrus\whfform.htm
Error: Fail to update Template file whskin_frmset010.htm
Error: Fail to update Template file whskin_frmset01.htm
Error: Fail to update Template file whskin_frmset0.htm
Finished applying Template in 10 sec(s)
Finished compiling WebHelp in 107 sec(s)
Compilation complete.Why Robo 8 would remove RH10 files is beyond me.
A reinstall of RH is sure to fix it. But if you PM me your email
address, I can send you a copy of the file (might save you a reinstall).
Kind regards,
Willam -
I cannot find any support for using templates to send to multiple addressees
I used this system last year, but cannot find how I did it; I want to send to all people in the special address book that I have set up, but without revealing the email address of all the members to each individual. I am using Thunderbird 24.6.0
Create a mailing list and use BCC.
http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Create_Mailing_List -
Hello,
we were planning to Upgrade from AGPM 4.0 to AGPM 4.0 SP2. The new AGPM should be placed on a new server. Additionally we created a new service account as the password of the old service account has been lost. We granted the new service account Full Rights
in "Domain Delegeation" and "Product Delegation", then stopped the AGPM Service on the old server.
On the new server AGPM was installed using the new service account, then the service was stopped and the archive was copied rom the old to the new server. The customer could edit policies, but not deploy them. Because of this, we changed back to the old
server, but copied the folders that were changed on the new server to keep them up to date.
Now creating a controlled Group Policy from a template causes the error
„The system cannot find the file specified. (Exception from HRESULT: 0x80070002). We tried several templates and even created new ones but the problem persists.
The following things do work:
- editing a controlled policy
- renaming a controlled policy
- check in/check out of a policy
- set a uncontrolled policy to controlled (needs to grant the serviceaccount Full rights to the policy before)
- deletion of a controlled policy
- creating a template from a policy
Thank you in advance for your help.0x80070002 usually means that the source could not be found or located. Make sue that the FQDN path to your templates is the correct one as well as your DNS is
properly configured.
sharing some manuals @: http://1drv.ms/1kk6u6j -
Cannot find file specified!!!
To anyone that can help.
Server 2012 R2
Trying to run a .wsf file and the system tells me that it cannot find the file specified.
Opened command prompt as admin and running cscript.exe shoreware_backup.wsf
I am losing my mind
Jared' Backup Script for ShoreWare Server
<job id="ShorewareBackup">
<script language="VBScript" src="common.vbs" />
<script language="VBScript">
writeToLog "********** Starting Shoreware Backup Process **********"
'----- load ini file, this should always be the first thing to do -----
loadINI
Dim backupDrive : backupDrive = BACKUP_DRIVE
Dim backupRootDir : backupRootDir = BACKUP_ROOT_DIR
Dim scriptsRootDir : scriptsRootDir = SCRIPTS_ROOT_DIR
Dim scriptsDVMRootDir : scriptsDVMRootDir = SCRIPTS_DVM_ROOT_DIR
Dim backupVMBRootDir : backupVMBRootDir = BACKUP_VMB_ROOT_DIR
Dim backupUCBRootDir : backupUCBRootDir = BACKUP_UCB_ROOT_DIR
Dim backupDVSRootDir : backupDVSRootDir = BACKUP_DVS_ROOT_DIR
Dim ShoretelRootDir : ShoretelRootDir = SERVER_DIR
Dim ShoretelDVMRootDir : ShoretelDVMRootDir = DVM_SERVER_DIR
writeToLog "Backup Directory: " & backupDrive & backupRootDir
If(serverType = SERVER_TYPE_HQ) Then
writeToLog "Scripts Directory: " & scriptsRootDir
ElseIf(serverType = SERVER_TYPE_DVM) Then
writeToLog "Scripts Directory: " & scriptsDVMRootDir
End If
Dim objShell, serverType, action, cmd_error
Set objShell = WScript.createObject("wscript.shell")
cmd_error = 0
Dim inIBMLF
inIBMLF = False
On Error Resume Next
Dim lfMode : lfMode = objShell.RegRead(REG_LF_MODE)
Select Case Err
Case 0:
writeToLog "Registry key RunningOnLFMode exist"
if(lfMode) Then
writeToLog "RunningOnLFMode is not 0, we are in LF mode"
inIBMLF = True
End If
Case Else
writeToLog "Registry key RunningOnLFMode does not exist"
End Select
On Error Goto 0
'----- Check for errors in the command line -----
If (WScript.Arguments.Length > 0) Then
serverType = LCase(WScript.Arguments.Item(0))
if(serverType = SERVER_TYPE_HQ or serverType = SERVER_TYPE_DVM or serverType = SERVER_TYPE_VMB or serverType = SERVER_TYPE_UCB or serverType = SERVER_TYPE_DVS) Then
writeToLog "Server Type: " & serverType
Else
writeToLog "ERROR! Invalid server type: " & serverType
cmd_error = 1
End If
Else
writeToLog "ERROR! Syntax error, check the command line."
cmd_error = 1
End If
If (cmd_error = 1) Then
WScript.Echo "Usage Error: shoreware_backup.wsf [" &_
SERVER_TYPE_HQ & "," &_
SERVER_TYPE_DVM & "," &_
SERVER_TYPE_VMB & "," &_
SERVER_TYPE_UCB & "," &_
SERVER_TYPE_DVS & "] [" &_
OPTION_ALL & " | " &_
OPTION_DB & " | " &_
OPTION_VM & " | " &_
OPTION_LOG & "]"
WScript.Quit -1
End If
'----- Verify this server is the server the user is expecting -----
If ((serverType = SERVER_TYPE_HQ) and isRemoteServer) Then
WScript.Echo TEXT_ERROR_NOT_HQ
WScript.Quit -1
ElseIf ((serverType = SERVER_TYPE_DVM) and Not isRemoteServer) Then
WScript.Echo TEXT_ERROR_NOT_DVM'
WScript.Quit -1
Else
End If
'----- Parse the command line -----
Dim index, doConfig, doVM, doCDR, doLogs
index = 0
doConfig = False
doVM = False
doCDR = False
doLogs = False
For Each action in WScript.Arguments
If (index = 0) Then
'Do nothing, this is the server type
Else
select case LCase(action)
case OPTION_ALL
doConfig = True
doVM = True
doCDR = True
doLogs = True
case OPTION_CONFIG
doConfig = True
case OPTION_VM
doVM = True
case OPTION_CDR
doCDR = True
case OPTION_LOG
doLogs = True
case OPTION_DB
doConfig = True
doCDR = True
case ARG_SWITCH_VERBOSE
VERBOSE_MODE = True
case Else
writeToLog "ERROR! Invalid option: " & action
WScript.Echo "Warning: Unrecognized type " & action
end select
End If
index = index + 1
Next
Dim dataRootDir : dataRootDir = objShell.RegRead(REG_SWDATA_DIR)
writeToLog "SW Data Directory: " & dataRootDir
'----- Stop services and perform backup -----
If(serverType = SERVER_TYPE_HQ) Then
writeToLog "---> cleaning current backup folder"
rotateBackupFolder backupDrive, backupRootDir
writeToLog "---> stopping hq services"
stopHQ scriptsRootDir
writeToLog "---> backing up hq data"
backUpHQ dataRootDir, backupDrive, backupRootDir, doConfig, doVM, doCDR, doLogs
ElseIf(serverType = SERVER_TYPE_DVM) Then
writeToLog "---> cleaning current backup folder"
rotateBackupFolder backupDrive, backupRootDir
writeToLog "---> stopping dvm services"
stopDVM scriptsDVMRootDir
writeToLog "---> backing up dvm data"
backUpDVM dataRootDir, backupDrive, backupRootDir, doConfig, doVM, doCDR, doLogs
ElseIf(serverType = SERVER_TYPE_VMB) Then
Dim vmbIp
writeToLog "---> cleaning current backup folder"
rotateBackupFolder backupDrive, backupVMBRootDir
For Each vmbIp In VMB_LIST
writeToLog "---> stopping vmb (" & vmbIp & ") services"
stopVMB vmbIp
writeToLog "---> backing up vmb data"
backupVMB backupDrive, backupVMBRootDir, vmbIp
Next
ElseIf(serverType = SERVER_TYPE_UCB) Then
Dim ucbIp
writeToLog "---> cleaning current backup folder"
rotateBackupFolder backupDrive, backupUCBRootDir
For Each ucbIp In UCB_LIST
writeToLog "---> stopping ucb (" & ucbIp & ") services"
stopUCB ucbIp
writeToLog "---> backing up ucb data"
backupUCB backupDrive, backupUCBRootDir, ucbIp
Next
ElseIf(serverType = SERVER_TYPE_DVS) Then
Dim dvsIp
writeToLog "---> cleaning current backup folder"
rotateBackupFolder backupDrive, backupDVSRootDir
For Each dvsIp In DVS_LIST
' writeToLog "---> stopping dvs (" & dvsIp & ") services"
' stopDVS dvsIp
writeToLog "---> backing up dvs data"
backupDVS backupDrive, backupDVSRootDir, dvsIp
Next
End If
'----- Save off current version of shoreware -----
setDataVersion backupDrive, backupRootDir, serverType
'----- Backup complete, so re-start services -----
If(serverType = SERVER_TYPE_HQ) Then
writeToLog "---> starting hq services"
startHQ scriptsRootDir
ElseIf(serverType = SERVER_TYPE_DVM) Then
writeToLog "---> starting dvm services"
startDVM scriptsDVMRootDir
ElseIf(serverType = SERVER_TYPE_VMB) Then
For Each vmbIp In VMB_LIST
writeToLog "---> starting vmb (" & vmbIp & ") services"
startVMB vmbIp
Next
ElseIf(serverType = SERVER_TYPE_UCB) Then
For Each ucbIp In UCB_LIST
writeToLog "---> starting ucb (" & ucbIp & ") services"
startUCB ucbIp
Next
'ElseIf(serverType = SERVER_TYPE_DVS) Then
' For Each dvsIp In DVS_LIST
' writeToLog "---> starting dvs (" & dvsIp & ") services"
' startDVS dvsIp
' Next
End If
writeToLog "********** Completed Shoreware Backup Process **********"
If(Not inIBMLF) Then
WScript.Echo TEXT_BACKUP_COMPLETE
End If
'----- Script Done -----
' SubProcedure to backup the data on the HQ server
' Backs up the following:
' 1. \Inetpub\mailroot
' 2. \Inetpub\ftproot
' 3. \Windows\my.ini
' 4. \Shoreline Data\MessageFiles
' 5. \Shoreline Data\Prompts
' 6. \Shoreline Data\Scripts
' 7. \Shoreline Data\SoftSwitch
' 8. \Shoreline Data\Templates
' 9. (optional) \Shoreline Data\Database
' 10. (optional) \Shoreline Data\Vms
' 11. (optional) \Shoreline Data\Call Records 2
' 12. (optional) \Shoreline Data\Logs
' Input
' rootDir - (String) path of root directory containing Shoreline Data
' backupDrive - (String) disk drive of backup destination
' backupDir - (String) path of backup destination
' doConfig - (Boolean) if to backup "\Database"
' doVM - (Boolean) if to backup "\Vms"
' doCDR - (Boolean) if to backup "\Call Records 2"
' doLogs - (Boolean) if to backup "\Logs"
sub backUpHQ (rootDir, backupDrive, backupDir, doConfig, doVM, doCDR, doLogs)
'WScript.Echo "Backing up HQ..."
'back-up mailroot
folderCopy WINDOWS_DRIVE & MAILROOT_ROOT_DIR, backupDrive, backupDir & MAILROOT_ROOT_DIR, True
ftpRootDirAsInRegistry = objShell.RegRead(REG_FTPROOT_DIR)
writeToLog "ftp root Directory: " & ftpRootDirAsInRegistry
'lngPos = Instr(ftpRootDirAsInRegistry, ",")
'ftpRootDir = Left(ftpRootDirAsInRegistry, lngPos-1)
ftpRootDir = ftpRootDirAsInRegistry
lngPos1 = Instr(ftpRootDir, ":")
ftpdirlength =Len(ftpRootDir)
ftpRootDirWithoutDriveName = Right(ftpRootDir, ftpdirlength-lngPos1)
backupDirWithSlash = backupDir & "\"
'back-up ftproot
'folderCopy WINDOWS_DRIVE & FTPROOT_ROOT_DIR, backupDrive, backupDir & FTPROOT_ROOT_DIR, True
'back-up ftproot directory
folderCopy ftpRootDir, backupDrive, backupDirWithSlash & ftpRootDirWithoutDriveName, True
writeToLog "ftproot directory backup done: " & backupDirWithSlash & ftpRootDirWithoutDriveName
'back-up mysql configuration
fileCopy SHOREWARE_DRIVE & ShoretelRootDir & "\MySQLCDR\MySQL Server\" & MYSQL_CONFIG_FILE, backupDrive, backupDir & ShoretelRootDir & "\MySQLCDR\MySQL Server\", True
fileCopy SHOREWARE_DRIVE & ShoretelRootDir & "\MySQLConfig\MySQL Server\" & MYSQL_CONFIG_FILE, backupDrive, backupDir & ShoretelRootDir & "\MySQLConfig\MySQL Server\", True
'back-up HQ data
Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
If objFSO.FolderExists(rootDir) Then
Dim objFolder, objSubfolders, doCopy
Set objFolder = objFSO.GetFolder(rootDir)
Set objSubfolders = objFolder.SubFolders
For Each objFolder in objSubfolders
doCopy = False
select case objFolder.Name
case FOLDER_NAME_CONFIG
if(doConfig) Then
doCopy = True
End If
case FOLDER_NAME_VM
if(doVM) Then
doCopy = True
End If
case FOLDER_NAME_CDR
if(doCDR) Then
doCopy = True
End If
case FOLDER_NAME_LOGS
if(doLogs) Then
doCopy = True
End If
case Else
doCopy = True
end select
if(doCopy) Then
folderCopy objFolder.Path, backupDrive, backupDir & "\" & BACKUP_SW_DIR & objFolder.Name, True
End If
Next
End If
end sub
' SubProcedure to backup the data on the DVM server
' Backs up the following:
' 1. \Inetpub\mailroot
' 2. \Inetpub\ftproot
' 3. \Windows\my.ini
' 4. \Shoreline Data\MessageFiles
' 5. \Shoreline Data\Prompts
' 6. \Shoreline Data\Scripts
' 7. \Shoreline Data\SoftSwitch
' 8. \Shoreline Data\Templates
' 9. (optional) \Shoreline Data\Database
' 10. (optional) \Shoreline Data\Vms
' 11. (optional) \Shoreline Data\Call Records 2
' 12. (optional) \Shoreline Data\Logs
' Input
' rootDir - (String) path of root directory containing Shoreline Data
' backupDrive - (String) disk drive of backup destination
' backupDir - (String) path of backup destination
' doConfig - (Boolean) if to backup "\Database"
' doVM - (Boolean) if to backup "\Vms"
' doCDR - (Boolean) if to backup "\Call Records 2"
' doLogs - (Boolean) if to backup "\Logs"
sub backUpDVM (rootDir, backupDrive, backupDir, doConfig, doVM, doCDR, doLogs)
'WScript.Echo "Backing up DVM..."
'back-up mailroot
folderCopy WINDOWS_DRIVE & MAILROOT_ROOT_DIR, backupDrive, backupDir & MAILROOT_ROOT_DIR, True
ftpRootDirAsInRegistry = objShell.RegRead(REG_FTPROOT_DIR)
writeToLog "ftp root Directory: " & ftpRootDirAsInRegistry
ftpRootDir = ftpRootDirAsInRegistry
lngPos1 = Instr(ftpRootDir, ":")
ftpdirlength =Len(ftpRootDir)
ftpRootDirWithoutDriveName = Right(ftpRootDir, ftpdirlength-lngPos1)
backupDirWithSlash = backupDir & "\"
'back-up ftproot directory
folderCopy ftpRootDir, backupDrive, backupDirWithSlash & ftpRootDirWithoutDriveName, True
writeToLog "ftproot directory backup done: " & backupDirWithSlash & ftpRootDirWithoutDriveName
'back-up mysql configuration
fileCopy SHOREWARE_DRIVE & ShoretelDVMRootDir & "\MySQLConfig\MySQL Server\" & MYSQL_CONFIG_FILE, backupDrive, backupDir & ShoretelDVMRootDir & "\MySQLConfig\MySQL Server\", True
'back-up DVM data
Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
If objFSO.FolderExists(rootDir) Then
Dim objFolder, objSubfolders, doCopy
Set objFolder = objFSO.GetFolder(rootDir)
Set objSubfolders = objFolder.SubFolders
For Each objFolder in objSubfolders
doCopy = False
select case objFolder.Name
case FOLDER_NAME_CONFIG
if(doConfig) Then
doCopy = True
End If
case FOLDER_NAME_VM
if(doVM) Then
doCopy = True
End If
case FOLDER_NAME_CDR
if(doCDR) Then
doCopy = True
End If
case FOLDER_NAME_LOGS
if(doLogs) Then
doCopy = True
End If
case Else
doCopy = True
end select
if(doCopy) Then
folderCopy objFolder.Path, backupDrive, backupDir & "\" & BACKUP_SW_DIR & objFolder.Name, True
End If
Next
End If
end sub
' SubProcedure to backup the data on the VMB switch
' Backs up the following:
' 1. \etc\ShoreTel.cfg
' 2. \etc\cfg.dat
' 3. \cf
' Input
' backupDrive - (String) disk drive of backup destination
' backupDir - (String) path of backup destination
' vmbIP - (String) ip address of vmb switch
sub backupVMB(backupDrive, backupDir, vmbIP)
Dim tarCF, copyCF, copyShorCFG, copyCfgDat, cleanUp
Dim backUpPath : backUpPath = backupDrive & backupDir & "\" & BACKUP_VMB_DIR & "_" & vmbIP
'create folder if doesn't exist
Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
If Not objFSO.FolderExists(backUpPath) Then
buildPath backUpPath
End If
tarCF = """" & PLINK_CMD & """" & " -pw " & VMB_PASSWD & " " &_
VMB_USER & "@" & vmbIP &_
" ""tar -czf " & VMB_CF_TAR_FOLDER & VMB_CF_TAR_FILE & " " & VMB_CF_SHORELINEDATA_DIR & """"
copyCF = """" & PSCP_CMD & """" & " -pw " & VMB_PASSWD & " " &_
VMB_USER & "@" & vmbIP & ":" & VMB_CF_TAR_FOLDER & VMB_CF_TAR_FILE &_
" """ & backUpPath & """"
copyShorCFG = """" & PSCP_CMD & """" & " -pw " & VMB_PASSWD & " " &_
VMB_USER & "@" & vmbIP & ":" & VMB_SHORE_CFG_FOLDER & VMB_SHORE_CFG_FILE &_
" """ & backUpPath & """"
copyCfgDat = """" & PSCP_CMD & """" & " -pw " & VMB_PASSWD & " " &_
VMB_USER & "@" & vmbIP & ":" & VMB_CGF_DAT_FOLDER & VMB_CGF_DAT_FILE &_
" """ & backUpPath & """"
cleanUp = """" & PLINK_CMD & """" & " -pw " & VMB_PASSWD & " " &_
VMB_USER & "@" & vmbIP &_
" ""rm -f " & VMB_CF_TAR_FOLDER & VMB_CF_TAR_FILE & """"
runCmd tarCF
runCmd copyCF
runCmd copyShorCFG
runCmd copyCfgDat
runCmd cleanUp
end sub
' SubProcedure to backup the data on the UCB switch
' Backs up the following:
' 1. \etc\ShoreTel.cfg
' 2. \etc\cfg.dat
' 3. \cf
' Input
' backupDrive - (String) disk drive of backup destination
' backupDir - (String) path of backup destination
' ucbIP - (String) ip address of ucb switch
sub backupUCB(backupDrive, backupDir, ucbIP)
Dim tarCF, copyCF, copyShorCFG, copyCfgDat, cleanUp
Dim backUpPath : backUpPath = backupDrive & backupDir & "\" & BACKUP_UCB_DIR & "_" & ucbIP
'create folder if doesn't exist
Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
If Not objFSO.FolderExists(backUpPath) Then
buildPath backUpPath
End If
tarCF = """" & PLINK_CMD & """" & " -pw " & UCB_PASSWD & " " &_
UCB_USER & "@" & ucbIP &_
" ""tar -czf " & UCB_CF_TAR_FOLDER & UCB_CF_TAR_FILE & " " & UCB_CF_SHORELINEDATA_DIR & """"
copyCF = """" & PSCP_CMD & """" & " -pw " & UCB_PASSWD & " " &_
UCB_USER & "@" & ucbIP & ":" & UCB_CF_TAR_FOLDER & UCB_CF_TAR_FILE &_
" """ & backUpPath & """"
copyShorCFG = """" & PSCP_CMD & """" & " -pw " & UCB_PASSWD & " " &_
UCB_USER & "@" & ucbIP & ":" & UCB_SHORE_CFG_FOLDER & UCB_SHORE_CFG_FILE &_
" """ & backUpPath & """"
copyCfgDat = """" & PSCP_CMD & """" & " -pw " & UCB_PASSWD & " " &_
UCB_USER & "@" & ucbIP & ":" & UCB_CGF_DAT_FOLDER & UCB_CGF_DAT_FILE &_
" """ & backUpPath & """"
cleanUp = """" & PLINK_CMD & """" & " -pw " & UCB_PASSWD & " " &_
UCB_USER & "@" & ucbIP &_
" ""rm -f " & UCB_CF_TAR_FOLDER & UCB_CF_TAR_FILE & """"
runCmd tarCF
runCmd copyCF
runCmd copyShorCFG
runCmd copyCfgDat
runCmd cleanUp
end sub
' SubProcedure to backup the data on the DVS switch
' Backs up the following:
' 1. \etc\ShoreTel.cfg
' 2. \etc\cfg.dat
' 3. \cf
' Input
' backupDrive - (String) disk drive of backup destination
' backupDir - (String) path of backup destination
' dvsIP - (String) ip address of dvs switch
sub backupDVS(backupDrive, backupDir, dvsIP)
' Dim tarCF, copyCF, copyShorCFG, copyCfgDat, cleanUp
Dim backUpPath : backUpPath = backupDrive & backupDir & "\" & BACKUP_DVS_DIR & "_" & dvsIP
Dim backupcascmd
'create folder if doesn't exist
Dim objFSO : Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
If Not objFSO.FolderExists(backUpPath) Then
buildPath backUpPath
End If
' tarCF = """" & PLINK_CMD & """" & " -pw " & DVS_PASSWD & " " &_
' DVS_USER & "@" & dvsIP &_
' " ""tar -czf " & DVS_CF_TAR_FOLDER & DVS_CF_TAR_FILE & " " & DVS_CF_SHORELINEDATA_DIR & """"
' copyCF = """" & PSCP_CMD & """" & " -pw " & DVS_PASSWD & " " &_
' DVS_USER & "@" & dvsIP & ":" & DVS_CF_TAR_FOLDER & DVS_CF_TAR_FILE &_
' " """ & backUpPath & """"
' copyShorCFG = """" & PSCP_CMD & """" & " -pw " & DVS_PASSWD & " " &_
' DVS_USER & "@" & dvsIP & ":" & DVS_SHORE_CFG_FOLDER & DVS_SHORE_CFG_FILE &_
' " """ & backUpPath & """"
' copyCfgDat = """" & PSCP_CMD & """" & " -pw " & DVS_PASSWD & " " &_
' DVS_USER & "@" & dvsIP & ":" & DVS_CGF_DAT_FOLDER & DVS_CGF_DAT_FILE &_
' " """ & backUpPath & """"
' cleanUp = """" & PLINK_CMD & """" & " -pw " & DVS_PASSWD & " " &_
' DVS_USER & "@" & dvsIP &_
' " ""rm -f " & DVS_CF_TAR_FOLDER & DVS_CF_TAR_FILE & """"
' backupcascmd = "rdiff-backup.exe -v7 --force --no-eas --remote-schema "plink -pw ShoreTel %%s rdiff-backup --server"
[email protected]::/rdiff/back1 c:\mywindowsdata > c:\out.txt 2>&1"
backupcascmd = "rdiff-backup.exe -v7 --force --no-eas --remote-schema " &_
"""" & PLINK_CMD & " -pw " & DVS_PASSWD & " %%s rdiff-backup --server" & """" &_
DVS_USER & "@" & dvsIP & "::" & DVS_CF_DIR & " " & """" & backUpPath & """"
runCmd backupcascmd
' runCmd tarCF
' runCmd copyCF
' runCmd copyShorCFG
' runCmd copyCfgDat
' runCmd cleanUp
end sub
' SubProcedure to rotate the backup folder. It will archive the
' current backup folder based on the BACKUP_ARCHIVE_SIZE value.
' Input
' backupDrive - (String) disk drive of backup destination
' backupDir - (String) path of backup destination
sub rotateBackupFolder (backupDrive, backupDir)
Dim objFSO, objFolder, newBackupFolderName
Dim backupFolder : backupFolder = backupDrive & backupDir
Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
For i=BACKUP_ARCHIVE_SIZE to 0 Step -1
If(i = 0) Then
newBackupFolderName = backupFolder
Else
newBackupFolderName = backupFolder & i
End If
If objFSO.FolderExists(newBackupFolderName) Then
Set objFolder = objFSO.GetFolder(newBackupFolderName)
If(i = BACKUP_ARCHIVE_SIZE) Then
objFolder.Delete True
Else
newBackupFolderName = backupFolder & i+1
objFolder.Move newBackupFolderName
End If
End If
Next
end sub
' SubProcedure to perform a folder copy. Utilizes the Windows xcopy
' command. The xcopy switches used:
' /E Copies directories and subdirectories, including empty ones.
' /I If destination does not exist and copying more than one file,
' assumes that destination must be a directory.
' /K Copies attributes. Normal Xcopy will reset read-only
' attributes.
' /C Continues copying even if errors occur.
' /Y Suppresses prompting to confirm you want to overwrite an
' existing destination file.
' Input
' src - (String) path of source folder
' dstDrive - (String) disk drive of destination
' dstFolder - (String) path of destination
' force - (Boolean) if false, will prompt before overwriting
' existing files
sub folderCopy (src, dstDrive, dstFolder, force)
Dim objFSO
Dim dst : dst = dstDrive & dstFolder
Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
If objFSO.FolderExists(src) Then
Dim objFolder, objDrive
'Check for available disk space first
Set objFolder = objFSO.GetFolder(src)
Set objDrive = objFSO.GetDrive(dstDrive)
If isThereAvailableSpace(objDrive, objFolder.Size) Then
Dim command : command = "xcopy """ & src & """ """ & dst & """ /E /I /K /C"
If (force) Then
command = command & " /Y"
End If
runCmd command
Else
writeToLog "ERROR! Insufficient Disk Space to copy folder: " & src
WScript.Echo "Error! Insufficient Disk Space!"
End If
Else
writeToLog "ERROR! Folder not found: " & src
WScript.Echo "ERROR: Folder doesn't exist (" & src & ")"
End If
end sub
' SubProcedure to perform a file copy. Utilizes the Windows xcopy
' command. The xcopy switches used:
' /I If destination does not exist and copying more than one file,
' assumes that destination must be a directory.
' /K Copies attributes.
' /C Continues copying even if errors occur.
' /Y Suppresses prompting to confirm you want to overwrite an
' existing destination file.
' Input
' src - (String) path of source file
' dstDrive - (String) disk drive of destination
' dstFile - (String) path of destination
' force - (Boolean) if false, will prompt before overwriting
' existing files
sub fileCopy (src, dstDrive, dstFile, force)
Dim objFSO
Dim dst : dst = dstDrive & dstFile
Set objFSO = Wscript.CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists(src) Then
Dim objFile, objDrive
'Check for available disk space first
Set objFile = objFSO.GetFile(src)
Set objDrive = objFSO.GetDrive(dstDrive)
If isThereAvailableSpace(objDrive, objFile.Size) Then
Dim command : command = "xcopy """ & src & """ """ & dst & """ /I /K /C"
If (force) Then
command = command & " /Y"
End If
runCmd command
Else
writeToLog "ERROR! Insufficient Disk Space to copy file: " & src
WScript.Echo "Error! Insufficient Disk Space!"
End If
Else
writeToLog "ERROR! File not found: " & src
WScript.Echo "ERROR: File doesn't exist (" & src & ")"
End If
end sub
' Function to check if there's sufficient disk space for the
' requested size
' Input
' objDrive - (Object) the disk drive to check for space
' spaceNeeded - (Integer) number of bytes being requested
' Return
' (Boolean) if the requested space is available
function isThereAvailableSpace(objDrive, spaceNeeded)
If (objDrive.AvailableSpace > spaceNeeded) Then
isThereAvailableSpace = True
Else
isThereAvailableSpace = False
End If
end function
' SubProcedure to write current version of Shoreware to a file
' Input
' backupDrive - (String) disk drive of backup destination
' backupDir - (String) path of backup destination
sub setDataVersion (backupDrive, backupDir, serverType)
Dim version
Dim fileName : fileName = backupDrive & backupDir & "\" & SW_VERSION_FILE
If(serverType = SERVER_TYPE_HQ) Then
version = objShell.RegRead(REG_HQ_VERSION)
ElseIf(serverType = SERVER_TYPE_DVM) Then
version = objShell.RegRead(REG_DVM_VERSION)
ElseIf(serverType = SERVER_TYPE_VMB) Then
'For now, VMB doesn't do any version checking
Exit sub
ElseIf(serverType = SERVER_TYPE_UCB) Then
'For now, UCB doesn't do any version checking
Exit sub
ElseIf(serverType = SERVER_TYPE_DVS) Then
'For now, DVS doesn't do any version checking
Exit sub
End If
writeToLog "SW Data Version: " & version
writeToFile fileName, 2, version
end sub
</script>
</job>
Jared -
Can't get flash buttons to work...'Cannot find path' Flash MX 2004
I am trying to get the flash buttons for my website to work, but every time I do the getURL thing it keeps saying 'Cannot find (directory)'. The website is offline and I'm using Macromedia Flash MX 2004, I also might be able to use Flash 8 but these are the only two versions I have access to.
The action script for the button is:
on(release){
getURL("..\****\****\(Website directory)\(sub directory)\(Website page).html")
I am making the website in Dreamweaver 8 and this is really holding me back as it's nearly finished but the buttons still don't work.
Thanks in advance.Hi,
Sorry I should have mentioned tha. The structure is as follows:
Website name\
\Animations
\Audio
\Buttons
\Images
\Scripts
\Templates
\Videos
The buttons are contained in the buttons folder and the page I want to link it to is in the templates folder. I have tried putting the button flash file in the website root directory and trying that but it didn't work.
Hope this helps.
Thanks in advance.
Maybe you are looking for
-
I want to update my contacts on my IPad and transfer it to my IPhone4. I tried backing up to ICloud (plugged in) but it didn't work. Anyone have any suggestions?
-
Itunes 8 downloads ok but won't install (not updating)
Hi everyone. Got an ipod for xmas, downloaded itunes 8 for 1st time (not updating), downloads ok, but when opening install program, "open file - security warning" dialog box opens, i click on run, the "unidentified program wants access to your comput
-
Problem with Switch Step in BPM
Hi, I am using Switch Step in BPM, to check a condition. I created following condition (App_Resp./p1:App_Resp_MT/Response = true). The mentioned is correct and it should succeed but it is failing. Its going thru OTHERWISE branch. Can anybody help me
-
How do I put a bookmark in a folder I created on the toolbar. Dragging does not work.
I have created a folder on my toolbar but I can't drag bookmarks into it. Whenever I drag the bookmark and it looks like it will be placed in the folder the bookmark is simply repositioned. I've tried right clicking but there is nothing that shows up
-
I found a bug In LabView 2009!!!!!
When i am using String to Spreadsheet function i observed that there is not effect of "format string" if i declare it as "%.1f", "%.2f","%.3f" and so on. whatever is the input format (Precision) the output will also be of same type. My input data an