Error '800a0411'  Name redefined (ASP VBScript)

Hello, I am new in trying to program and I have this problem when I am trying to test my Login page built in Dreamweaver CS4 and my database is in Microsoft Access.
The error message is the following:
Microsoft VBScript compilation error '800a0411'
Name redefined
/Login.asp, line 10
Dim MM_NBconnect1_STRING
----^
I have checked the code view , its not repeated towice , so the problem should be something else.

thank you

Similar Messages

  • Error '800a0411'  Name redefined

    Hello, I am new in trying to program and I have this problem
    when I am trying to use the insert record wizard in dreamweaver mx
    2004.
    the error mesage is the following:
    Microsoft VBScript compilation error '800a0411'
    Name redefined
    /web/aspclassic/Connections/connblog.asp, line 8
    Dim MM_connblog_STRING
    ----^
    the code is attached, please help me I am stuck and
    frustrated
    THank you!!

    I Love Doing Websites wrote:
    > Hello, I am new in trying to program and I have this
    problem when I am trying
    > to use the insert record wizard in dreamweaver mx 2004.
    >
    > the error mesage is the following:
    > Microsoft VBScript compilation error '800a0411'
    >
    > Name redefined
    The following code is the cause of this error:
    > <!--#include file="../Connections/connblog.asp"
    -->
    > <!--#include file="../Connections/connblog.asp"
    -->
    Somehow either you or Dreamweaver added an extra link to your
    connection file, delete one of those lines and you should be fine.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Name Redefined Error?

    I'm using CS 3. When I define a second Repeat Region, say
    working off =
    of Recordset2, I always seem to get a "name redefined" error
    on a Dim =
    statement. After spending countless hours trying to track
    down the bug, =
    I seem to have found a workaround: when you receive that
    error, find the =
    first Repeat Region in the ASP document, remove it, then put
    it back =
    (making sure it works of the same Recordset as it did
    originally) -- I =
    have to experiment some more but this seems to have killed to
    the bug.
    Has this bug been killed in CS 4?
    Ross

    I'm using CS 3. When I define a second Repeat Region, say
    working off =
    of Recordset2, I always seem to get a "name redefined" error
    on a Dim =
    statement. After spending countless hours trying to track
    down the bug, =
    I seem to have found a workaround: when you receive that
    error, find the =
    first Repeat Region in the ASP document, remove it, then put
    it back =
    (making sure it works of the same Recordset as it did
    originally) -- I =
    have to experiment some more but this seems to have killed to
    the bug.
    Has this bug been killed in CS 4?
    Ross

  • ASP VBScript producing Dreamweaver Javascript Error Messages

    Do almost anything in Dreamweaver CS4 with ASP VBScript seems to produce javascript error messages.  can be a blank page, and you try to create a recordset... error box, error box, and then the code gets inserted but is not in the server behaviors panel.  i'm usually working in php and have never had this problem, but it's quite annoying to work that way... being forced to hand code a lot simple because dreamweaver isn't working correctly.
    warning one:
    the following javascript error(s) occurred:
    warning two:
    while executing findServerbehaviors in Recordset.htm, a JavaScript error occurred
    deleted .dat file and restarted dreamweaver, per some discussions via google... did nothing.

    anyone know how to fix this issue with dreamweaver?

  • Update multiple records with Update Command Dreamweaver 8.0.2 - ASP VBScript

    Dreamweaver 8.0.2 - Language ASP – VBScript
    I’m trying to update more than one record at a time
    using checkboxes. I’ve successfully done this numerous times
    prior to Dreamweaver 8.0.2.
    Before Dreamweaver 8.0.2, I would create a page with a
    recordset, form, checkbox and repeat region and pass the ID to
    another page containing an ‘Update Command’. The code
    on the Update page looked similar to the following:
    <%
    if(Request.QueryString("MemberID") <> "") then
    spMemberApproving__MMColParam = Request.QueryString("MemberID")
    %>
    <%
    set spMemberApproving = Server.CreateObject("ADODB.Command")
    spMemberApproving.ActiveConnection =
    MM_connIssuesManager_STRING
    spMemberApproving.CommandText = "UPDATE tblMembers SET
    MemberApproved = 1 WHERE MemberID IN (" +
    Replace(spMemberApproving__MMColParam, "'", "''") + ")"
    spMemberApproving.CommandType = 1
    spMemberApproving.CommandTimeout = 0
    spMemberApproving.Prepared = true
    spMemberApproving.Execute()
    Response.Redirect("default.asp")
    %>
    However, in Dreamweaver 8.0.2 when you fill out the Update
    Command dialog box, Dreamweaver asks you to provide the
    ‘Type’ and ‘Size’ for the variables (see:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4e6b330a
    That being said and done, the code on the Update page looks
    like the following:
    <%
    ' IIf implementation
    Function MM_IIf(condition, ifTrue, ifFalse)
    If condition = "" Then
    MM_IIf = ifFalse
    Else
    MM_IIf = ifTrue
    End If
    End Function
    %>
    <%
    if(Request.QueryString("MemberID") <> "") then
    spMemberApproving__MMColParam = Request.QueryString("MemberID")
    %>
    <%
    Set spMemberApproving = Server.CreateObject ("ADODB.Command")
    spMemberApproving.ActiveConnection =
    MM_connIssuesManager_STRING
    spMemberApproving.CommandText = "UPDATE tblMembers SET
    MemberApproved = 1 WHERE MemberID IN (?) "
    spMemberApproving.Parameters.Append
    spMemberApproving.CreateParameter("MMColParam", 202, 1, 10,
    MM_IIF(Request.QueryString("MemberID"),
    Request.QueryString("MemberID"), spMemberApproving__MMColParam
    spMemberApproving.CommandType = 1
    spMemberApproving.CommandTimeout = 0
    spMemberApproving.Prepared = true
    spMemberApproving.Execute()
    Response.Redirect("default.asp")
    %>
    The Update Command works perfectly when only 1 record is
    being updated. However, when I try to update more than one record I
    get the following error:
    Error Type:
    ADODB.Command (0x800A0D5D)
    Application uses a value of the wrong type for the current
    operation.
    /issues_manager/admin/members_approving.asp, line 27
    Can anyone help me out?

    Yes, this is a bug in Dreamweaver 8.0.2. The only workaround
    is to stay with
    8.0.1 or to hand-code the query. Adobe removed most of the
    useful ways to
    use Commands and Recordsets in 8.0.2 and limited it to basic
    queries.
    Tom Muck
    co-author Dreamweaver MX 2004: The Complete Reference
    http://www.tom-muck.com/
    Cartweaver Development Team
    http://www.cartweaver.com
    Extending Knowledge Daily
    http://www.communitymx.com/
    "Button1" <[email protected]> wrote in message
    news:[email protected]...
    > Dreamweaver 8.0.2 - Language ASP ? VBScript
    >
    > I?m trying to update more than one record at a time
    using checkboxes.
    > I?ve
    > successfully done this numerous times prior to
    Dreamweaver 8.0.2.
    >
    > Before Dreamweaver 8.0.2, I would create a page with a
    recordset, form,
    > checkbox and repeat region and pass the ID to another
    page containing an
    > ?Update Command?. The code on the Update page looked
    similar to the
    > following:
    >
    > <%
    > if(Request.QueryString("MemberID") <> "") then
    > spMemberApproving__MMColParam =
    > Request.QueryString("MemberID")
    > %>
    >
    > <%
    >
    > set spMemberApproving =
    Server.CreateObject("ADODB.Command")
    > spMemberApproving.ActiveConnection =
    MM_connIssuesManager_STRING
    > spMemberApproving.CommandText = "UPDATE tblMembers SET
    MemberApproved = 1
    > WHERE MemberID IN (" +
    Replace(spMemberApproving__MMColParam, "'", "''") +
    > ")"
    > spMemberApproving.CommandType = 1
    > spMemberApproving.CommandTimeout = 0
    > spMemberApproving.Prepared = true
    > spMemberApproving.Execute()
    >
    > Response.Redirect("default.asp")
    > %>
    >
    > However, in Dreamweaver 8.0.2 when you fill out the
    Update Command dialog
    > box,
    > Dreamweaver asks you to provide the ?Type? and ?Size?
    for the variables
    > (see:
    >
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4e6b330a
    >
    >
    >
    > That being said and done, the code on the Update page
    looks like the
    > following:
    >
    > <%
    > ' IIf implementation
    > Function MM_IIf(condition, ifTrue, ifFalse)
    > If condition = "" Then
    > MM_IIf = ifFalse
    > Else
    > MM_IIf = ifTrue
    > End If
    > End Function
    > %>
    >
    > <%
    > if(Request.QueryString("MemberID") <> "") then
    > spMemberApproving__MMColParam =
    > Request.QueryString("MemberID")
    > %>
    > <%
    >
    > Set spMemberApproving = Server.CreateObject
    ("ADODB.Command")
    > spMemberApproving.ActiveConnection =
    MM_connIssuesManager_STRING
    > spMemberApproving.CommandText = "UPDATE tblMembers SET
    MemberApproved = 1
    > WHERE MemberID IN (?) "
    > spMemberApproving.Parameters.Append
    > spMemberApproving.CreateParameter("MMColParam", 202, 1,
    10,
    > MM_IIF(Request.QueryString("MemberID"),
    Request.QueryString("MemberID"),
    > spMemberApproving__MMColParam & ""))
    > spMemberApproving.CommandType = 1
    > spMemberApproving.CommandTimeout = 0
    > spMemberApproving.Prepared = true
    > spMemberApproving.Execute()
    >
    > Response.Redirect("default.asp")
    > %>
    >
    >
    > The Update Command works perfectly when only 1 record is
    being updated.
    > However, when I try to update more than one record I get
    the following
    > error:
    >
    > Error Type:
    > ADODB.Command (0x800A0D5D)
    > Application uses a value of the wrong type for the
    current operation.
    > /issues_manager/admin/members_approving.asp, line 27
    >
    >
    > Can anyone help me out?
    >
    >

  • Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal

    Hello,
    While exporting Export reporting from BI4 getting exception
    Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal
    In Trace Log I am getting
    com.crystaldecisions.xml.serialization.XMLWriter||Failed to create an object instance for CrystalReports.TextObjectFormat
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key CrystalReports.TextObjectFormat
      at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
      at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    I tried following solution according to the all forums but still issue exist.
    Done changes mention in KB article In <Installation-dir-of-BO>\Common\4.0\java\CRConfig.XML we have to increase the JAVA heap MIN and Max size
              <JVMMaxHeap>64000000</JVMMaxHeap>          <JVMMinHeap>32000000</JVMMinHeap>
    Increase the value in the ReportApplicationServer Services in the CMC for "Number of database records to read when previewing or refreshing a report". The value -1 is for unlimited records but not recommended for performance.
    Check for temporary read write permission on server
    Using SDK library from C:\Program Files (x86)\SAP Business Objects\SAP BusinessObjects Enterprise XI 4.0\java\lib
    Can you please let me know is there anything missing.

    Hi,
    We face the same problem with some BI4 reports.
    The same report works well with the "Crystal Reports Viewers API", as used in Infoview, but not with the "Report Application Server (RAS) API".
    This error appears after some time working on a report. If we reproduce the same report, but from zero, no problem.
    Hope it can help.
    Ludovic.

  • Error building project using kXML2 - "Class loading error: Wrong name"

    Hi,
    I'm testing the XML-Parser KXML2 and downloaded the latest package, but the minimal version (kxml2-min.zip). I put this file into the directory "%j2mewtk%\apps\KxmlTest\lib" and wrote the lines
    import org.kxml2.io.*;
    import org.xmlpull.v1.*;
    When I try to build the project with the Wireless Toolkit (v1.04) it spits out the following error:
    Error preverifying class kxml2.io.KXmlParser
    Class loading error: Wrong name
    com.sun.kvem.ktools.ExecutionException: Preverifier returned 1
    Build failed
    I also tried the full package "kxml2.zip" but the same error occurs.
    How can I get rid of this? Thanks in advance!

    Okay, finally worked it out (hopefully). I unpacked the archive to a directory (say "%J2MEWTK%\apps\KxmlTest\tmpclasses") and then preverified them "manually":
    %J2SDK%\bin\preverify.exe -classpath "%J2MEWTK%\apps\KxmlTest\tmpclasses";"%J2MEWTK%\lib\midpapi.zip" org.kxml2.io.KXmlParser
    %J2SDK%\bin\preverify.exe -classpath "%J2MEWTK%\apps\KxmlTest\tmpclasses";"%J2MEWTK%\lib\midpapi.zip" org.xmlpull.v1.XmlPullParser
    %J2SDK%\bin\preverify.exe -classpath "%J2MEWTK%\apps\KxmlTest\tmpclasses";"%J2MEWTK%\lib\midpapi.zip" org.xmlpull.v1.XmlPullParserException
    Then I packed them again to a jar-file:
    %J2SDK%\bin\jar.exe -cvf kxml2-min.jar %J2MEWTK%\apps\KxmlTest\tmpclasses\output\.
    That was all!

  • Tutorial - Create a blog reader Store app (C++) - Error:The name does not exist in the namespace!

    I'm trying to create my first store app based on msdn's sample.
    Link to the sample:
    https://msdn.microsoft.com/pl-PL/library/windows/apps/hh465045.aspx
    I have problem doing last step (number 3) of part 3.
    In code below in file App.xaml the compiler get the error "The name 'FeedDataSource' does not exist in the namespace 'using:SimpleBlogReader'"
    <Application
    x:Class="SimpleBlogReader.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SimpleBlogReader">
    <Application.Resources>
    <local:FeedDataSource x:Key="feedDataSource"/>
    </Application.Resources>
    </Application>
    In the file App.xaml.h I added line #include "FeedData.h", and FeedData.h  looks like:
    //feeddata.h
    #pragma once
    #include "pch.h"
    namespace SimpleBlogReader
    namespace WFC = Windows::Foundation::Collections;
    namespace WF = Windows::Foundation;
    namespace WUIXD = Windows::UI::Xaml::Documents;
    namespace WWS = Windows::Web::Syndication;
    /// <summary>
    /// A FeedDataSource represents a collection of FeedData objects
    /// and provides the methods to retrieve the stores URLs and download
    /// the source data from which FeedData and FeedItem objects are constructed.
    /// This class is instantiated at startup by this declaration in the
    /// ResourceDictionary in app.xaml: <local:FeedDataSource x:Key="feedDataSource" />
    /// </summary>
    [Windows::UI::Xaml::Data::Bindable]
    public ref class FeedDataSource sealed
    private:
    Platform::Collections::Vector<FeedData^>^ m_feeds;
    FeedData^ GetFeedData(Platform::String^ feedUri, WWS::SyndicationFeed^ feed);
    void DeleteBadFeedHandler(Windows::UI::Popups::UICommand^ command);
    public:
    FeedDataSource();
    property Windows::Foundation::Collections::IObservableVector<FeedData^>^ Feeds
    Windows::Foundation::Collections::IObservableVector<FeedData^>^ get()
    return this->m_feeds;
    property Platform::String^ CurrentFeedUri;
    void InitDataSource();
    void RetrieveFeedAndInitData(Platform::String^ url, WWS::SyndicationClient^ client);
    How to solve this problem?

    You're testing this too early. You haven't yet finished writing code that your current code depends on. Feeddata.cpp won't build, so you can't use the data object that hasn't yet been created.
    In particular, feeddata.cpp doesn't build since it has many references to items which get added in later steps.
    For example, TextHelper is added in part 5 and App::RemoveFeed is added in part 10.
    You'll need to either wait until you've implemented those before you test or comment out the calls to the unimplemented features until they're done. TextHelper looks like it adds quite a bit and you're almost there, but you can probably get away with commenting
    out the calls to RemoveFeed and GetTitlesFromUri for now.

  • Build Error : The name "LocalizedStrings" does not exist in the namespace

    I have localised my app to 5 languages, it builds and runs perfectly in Silverlight, but when i open the project in Blend to make changes 
    it shows the following error 
    The name "LocalizedStrings" does not exist in the namespace "clr-namespace:appname".
    Since it is bound, i need to build it, only then the text is visible :(
    Any suggestions?
    Alfah
    Alfahisham

    This is the declaration for the LocalizedStrings.cs
    namespace LoveCycles_Free
    public class LocalizedStrings
    public LocalizedStrings()
    private static LoveCycles_Free.AppResources localizedResources = new LoveCycles_Free.AppResources();
    public LoveCycles_Free.AppResources LocalizedResources
    get
    return localizedResources;
    And this is my App.xaml
    <Application
    x:Class="LoveCycles_Free.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" >
    <!--Application Resources-->
    <Application.Resources>
    <local:LocalizedStrings xmlns:local="clr-namespace:LoveCycles_Free" x:Key="LocalizedStrings" />
    <FontFamily x:Key="CicleSemi">C:/Users/PT3560003/AppData/Local/Microsoft/Expression/Blend/Font Cache/pj1jeoqe.v1v/Cicle Semi.ttf#Cicle Semi</FontFamily>
    <FontFamily x:Key="PeaSnow">CustomFonts/peasnow.ttf#Pea Snow</FontFamily>
    <FontFamily x:Key="CicleFina">CustomFonts/CicleFina.ttf#Cicle</FontFamily>
    <Style x:Key="AnimatedButtons" TargetType="Button">
    <Setter Property="Background" Value="Transparent"/>
    <Setter Property="BorderBrush" Value="{StaticResource PhoneForegroundBrush}"/>
    <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
    <Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
    <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
    <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
    <Setter Property="Padding" Value="10,3,10,5"/>
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="Button">
    <Border Background="Transparent">
    <VisualStateManager.VisualStateGroups>
    <VisualStateGroup x:Name="CommonStates">
    <VisualStateGroup.Transitions>
    <VisualTransition GeneratedDuration="0:0:0.2"/>
    </VisualStateGroup.Transitions>
    <VisualState x:Name="Normal"/>
    <VisualState x:Name="MouseOver"/>
    <VisualState x:Name="Pressed">
    <Storyboard>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneBackgroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneForegroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimation Duration="0" To="0.812" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="ButtonBackground" />
    <DoubleAnimation Duration="0" To="0.694" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="ButtonBackground" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="Disabled">
    <Storyboard>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneBackgroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimation Duration="0" To="0.245" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ButtonBackground" />
    </Storyboard>
    </VisualState>
    </VisualStateGroup>
    </VisualStateManager.VisualStateGroups>
    <Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0" RenderTransformOrigin="0.5,0.5">
    <Border.RenderTransform>
    <CompositeTransform/>
    </Border.RenderTransform>
    <Border.Background>
    <ImageBrush Stretch="Fill" ImageSource="Images/02/but_bg_settings.png"/>
    </Border.Background>
    <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" FontSize="20"/>
    </Border>
    </Border>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>
    <Style x:Key="AddButton" TargetType="Button">
    <Setter Property="Background" Value="Transparent"/>
    <Setter Property="BorderBrush" Value="{StaticResource PhoneForegroundBrush}"/>
    <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
    <Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
    <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
    <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
    <Setter Property="Padding" Value="10,3,10,5"/>
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="Button">
    <Border Background="Transparent">
    <VisualStateManager.VisualStateGroups>
    <VisualStateGroup x:Name="CommonStates">
    <VisualStateGroup.Transitions>
    <VisualTransition GeneratedDuration="0:0:0.2"/>
    </VisualStateGroup.Transitions>
    <VisualState x:Name="Normal"/>
    <VisualState x:Name="MouseOver"/>
    <VisualState x:Name="Pressed">
    <Storyboard>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneBackgroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneForegroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimation Duration="0" To="0.812" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="ButtonBackground" />
    <DoubleAnimation Duration="0" To="0.694" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="ButtonBackground" />
    </Storyboard>
    </VisualState>
    <VisualState x:Name="Disabled">
    <Storyboard>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneBackgroundBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
    <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimation Duration="0" To="0.245" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ButtonBackground" />
    </Storyboard>
    </VisualState>
    </VisualStateGroup>
    </VisualStateManager.VisualStateGroups>
    <Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0" RenderTransformOrigin="0.5,0.5">
    <Border.RenderTransform>
    <CompositeTransform/>
    </Border.RenderTransform>
    <Border.Background>
    <ImageBrush Stretch="Fill" ImageSource="Images/02/but_bg_password.png"/>
    </Border.Background>
    <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" FontSize="20"/>
    </Border>
    </Border>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>
    </Application.Resources>
    <Application.ApplicationLifetimeObjects>
    <!--Required object that handles lifetime events for the application-->
    <shell:PhoneApplicationService
    Launching="Application_Launching" Closing="Application_Closing"
    Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>
    </Application>
    Alfahisham

  • While creating Projects Using the API, get two errors: 'Customer name must be passed' and 'class category is invalid'

    Hi
    While trying to Create Projects using the API, I'm getting two types of errors -
    The first is : 'API failed in one stage 1 Customer Name is a mandatory Quick Entry field. Value must be passed'
    The second is : '
    'API failed in one stage 1 Project: '<Project_Number>'
    The class category is invalid.'
    Both the messages are produced by our custom program. .. however I am not able to understand why the underlying errors occur.
    The first error ( Customer Name is a mandatory quick entry field), is caused by Projects that are to be created from Project templates where it is configured with Quick Entry Customer Name required. We are passing Customer Site number ( Party Bill to site number and Party Ship to side number). The site numbers being passed are also set as 'Primary'. Yet they are failing.
    For the second Error ( The Class Category is invalid), I rechecked multiple times, the Class categories for the Projects I am trying to create, with the Config in R12 and they are fine. Can't understand the reason for these two issues. Has anyone encountered such an issue ? If so how was it resolved?
    Regards
    Vivek

    HI All
    I resolved both the issues. In case there are others facing similar issues, following was the cause and resolution of my errors
    1. Error 1: Customer Name is a Mandatory Quick Entry field. Value must be passed.
    The cause was that the data loaded into our custom staging table was not in the right fields. This was because the data file values and the CTL were not in sync.
    Resolution:
    Corrected the data file to be in Sync with the structure defined in the CTL and  this loaded it successfully
    2. Error 2: The class category is invalid.
    The cause of this error was that  in the  Projects Template (used to create the project from), the Quick Entry setup had a Class Category set as required and I was not passing a value ( a class code value) for that Class Category.
    Hope this helps somebody else
    Cheers
    Turnbill

  • I am getting error Field name RT_CUSTPL of segment 1 exists multiple times

    Hi,
    While i was try to activate Datasource where i am getting the error     Field name RT_CUSTPL of segment 1 exists multiple times
    BIC/ZCSTCRTDT ( Position 23 ): External length specification will be ignored     
    Regards
    Krish

    One more error "Error when activating DataSource ZSTORE_TXT                    WEBSERVICE"

  • Report App Server;Error code:-2147215349 Error code name:docNotReady.......

    Hi Experts,
    In our application we are trying to connect to the RAS server  for the ad hoc reporting capabilities that allow users to modify reports over the Web.
    In order to do this what are servers need to run on the server side( I am looking for settings on server side like, what are the servers and services to be run on).
    When we try to open the document  we are getting the error. The code and error msg are as follows.
    private void GetReportClientDocument()
              try {
                   sessionManager = CrystalEnterprise.getSessionMgr();
                   enterpriseSession = sessionManager.logon(username,password, servername, "SecEnterprise");
                   iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
                   String sampleReportName = "Test_Open";
                   IInfoObjects infolist = iStore.query("Select SI_CUID From CI_INFOOBJECTS Where  SI_NAME='" + sampleReportName + "' and SI_INSTANCE=0");
                   int lookUpId = 0;
                   for (int i = 0; i < infolist.size(); i++) {
                        IInfoObject siId = (IInfoObject) infolist.get(i);
                        lookUpId = siId.getID();
                   System.out.println("The CUID is: "+lookUpId);
                   IInfoObjects list = iStore.query("select * From CI_INFOOBJECTS Where SI_ID="+lookUpId);
                   IInfoObject report = (IInfoObject) list.get(0);
                   ReportClientDocument rcd = new ReportClientDocument();
                   IReportAppFactory appFactory = (IReportAppFactory) enterpriseSession.getService("RASReportFactory");
                   try {
                        System.out.println("Name of Document: "+rcd.getReportDocument().getName());
                        rcd = appFactory.openDocument(report, OpenReportOptions._openAsReadOnly,null);
                   } catch (ReportSDKException e) {
                        e.printStackTrace();
              } catch (SDKException e) {
                   e.printStackTrace();
    Error:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException: The document has not been opened.---- Error code:-2147215349 Error code name:docNotReady
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException.throwReportSDKClientDocException(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.getDatabaseController(Unknown Source)
         at Viewer.GetReportClientDocument(Viewer.java:98)
         at Viewer.main(Viewer.java:27)
    Thanks in advance for your help.

    Hi Qiang,
    Please check http://metalink.oracle.com/metalink/plsql/ml2_documents.showFrameDocument?p_database_id=NOT&p_id=1047650.6 for possible solutions for this error.
    Thanks,
    Erik

  • The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed

    Friends,
                I'm facing below issue while accessing a crystal report. I heard it might be an access issue. But i'm able to access a report within a same folder.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException : The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    Any suggestions would be very helpful.
    Thanks in Advance,
    Bharath

    Apply trace on RAS and look for errors in the RAS logs at the same timestamp.
    These errors come for various errors and tracing RAS would give us a better idea.
    It might hapen that you observe these errors for reports which takes more than the RAS timeout to export the reports.
    Post getting the RAS logs you can try below steps if we see timeout errors in RAS logs.
    Copy clientSDKOptions.xml file from <BO install path>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib to the machine where your app is running Open clientSDKOptions.xml and change CORBARequestTimeOut from 600000 to a value large enough to allow the report to render, for instance 1200000. Default value is 600000 (10 minutes)
    Specify the location of the clientSDKOptions.xml file at run-time. In your JSP or Java files, use the Java method setProperty from the System class. Set the system property indicated by the ras.config key to the specified directory as: system.setProperty("ras.config","c:\temp"). This function call specifies that the clientSDKOptions.xml file in c:\temp is to be used for locating RAS servers.
    Thanks,
    Prithvi

  • Output error:the name of the package "greet" does not reflect the location of this file...

    output error: The name of package 'greet' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:\Documents and Settings\Igal\My Documents\meiran\greet\Greeter.as
    I keep on recieving this output error although my source path is set to C:\Documents and Settings\Igal\My Documents\meiran\greet.
    any suggestions why this happens?

    The classpaths you define in your Flash software tell the compiler where to look when it needs to find a class.  According to your as file, the very top line indicates the Greeter.as file should be at a location specified by the path...
    one-of-your-classpaths\com\example\quickstart\
    So if one of your classpaths is:  C:\Documents and Settings\Igal\My Documents\meiran\greet\
    and you placed the file in the greet folder, then in your AS document you should not have the "com\example\quickstart" and your import statement in the fla should not be using that (should just be... import Greeter;)

  • Need to update a record on page load. How? (ASP/VBScript)

    The standard Update Record behavior requires a form on the page, plus a recordset to identify the value to be updated. In my scenario, the value for the record to be updated is already in the URL as the ID. I just don't know how to write it myself and Dreamweaver won't do this.
    The page I want to do this on is a record detail page, so there is already a record ID already present in the querystring. The record is new until a user views it, and what I need is something that just writes a simple value to one field in the table for the record being viewed. This is it in a nutshell:
    Using the value from the ID in the URL querystring, update the "viewed" field in a specific table with the value of "y".
    This would be the first operation as the page loads and then the page would load and show the data that it already does.
    I'd be happy with raw code is someone is generous enough to provide that, or perhaps some instructional help on reverse engineering the standard update record code generated by Dreamweaver. Or, if you know of any extensions designed to do this - I'd be interested in that too!
    My app I'm working on is in ASP/vbscript.
    Subject line edited by moderator to indicate server model

    Good point! I wasn't thinking about how that would make the app vulnerable to sql injection.
    The function I want to perform is similar to how an email changes from unread to read when you view it. I simple want the records being viewed to take on the status of being read or "viewed". Perhaps I'm going about this in the wrong way, but I've been planning to use a database field as the indicator of whether a record has a viewed status or not. Null value is new, and a value of "y" (yes) meaning the value is viewed/read.
    If you have a better recommendation, I'm all ears.

Maybe you are looking for