Unable to execute QuickStarts_VSTS_VB project

8 posts, 1 answers
  1. ravi
    ravi avatar
    15 posts
    Member since:
    Jul 2010

    Posted 21 Jul 2010 Link to this post

    Hi,

    I am unable to run the scripts in QuickStarts_VSTs_VB project. when i am running any method it is throwing error. below is the error in result file

    Initialization method QuickStarts_VSTS_VB.BrowserActions.MyTestInitialize threw exception. System.Configuration.ConfigurationErrorsException:  System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for WebAii.Settings: Could not load file or assembly 'ArtOfTest.WebAii, Version=2.1.0.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c' or one of its dependencies. The system cannot find the file specified

    Pls suggest me what is wrong

    thanks

    Ravi
  2. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 21 Jul 2010 Link to this post

    Hi ravi,

    Can you show the Assembly References in that Project and set the SpecificVersion to 'false' from the reference properties? This should get rid of the error.

    Best wishes,
    Konstantin Petkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. ravi
    ravi avatar
    15 posts
    Member since:
    Jul 2010

    Posted 21 Jul 2010 Link to this post

    Hi,

    thanks for the reply,  below is the Assembly file. where i need the change

    Imports

     

    System

     

    Imports

     

    System.Reflection

     

    Imports

     

    System.Runtime.InteropServices

     

    ' General Information about an assembly is controlled through the following

    ' set of attributes. Change these attribute values to modify the information

    ' associated with an assembly.

    ' Review the values of the assembly attributes

    <Assembly: AssemblyTitle(

    "QuickStarts_VSTS_VB")>

     

    <Assembly: AssemblyDescription(

    "")>

     

    <Assembly: AssemblyCompany(

    "")>

     

    <Assembly: AssemblyProduct(

    "QuickStarts_VSTS_VB")>

     

    <Assembly: AssemblyCopyright(

    "Copyright © 2009 ArtOfTest Inc.")>

     

    <Assembly: AssemblyTrademark(

    "")>

     

    <Assembly: CLSCompliant(

    True)>

     

    <Assembly: ComVisible(

    False)>

     

    'The following GUID is for the ID of the typelib if this project is exposed to COM

    <Assembly: Guid(

    "f9e5f260-7f3d-45de-a3e7-a1c7a6c20d63")>

     

    ' Version information for an assembly consists of the following four values:

    '

    ' Major Version

    ' Minor Version

    ' Build Number

    ' Revision

    '

    ' You can specify all the values or you can default the Build and Revision Numbers

    ' by using the '*' as shown below:2.0.0.0

    ' <Assembly: AssemblyVersion("1.0.*")>

    <Assembly: AssemblyVersion(

    "2.0.0.0")>

     

    <Assembly: AssemblyFileVersion(

    "2.0.0.0")>

     

  4. ravi
    ravi avatar
    15 posts
    Member since:
    Jul 2010

    Posted 21 Jul 2010 Link to this post

    Hi,

    I have changed SpecificVersion to 'false' for all Assembly References and ran again. still getting the same error

    thanks

    Ravi
  5. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 21 Jul 2010 Link to this post

    Hello ravi,

    Please check the attached images. In VB the References are not visible unless you click the Show All Files button in the Solution Explorer toolbar.

    Kind regards,
    Konstantin Petkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. ravi
    ravi avatar
    15 posts
    Member since:
    Jul 2010

    Posted 21 Jul 2010 Link to this post

    Hi,

    I am able to see them and changed the property as "False" for ArtofText.Comman and ArtofTest.WebAii. still getting same error

    thanks

    Ravi
  7. Answer
    Nikolai
    Admin
    Nikolai avatar
    111 posts

    Posted 21 Jul 2010 Link to this post

    Hi ravi,

    Can you please try to exclude the app.config(see attachment) file from the project, It seem it contains invalid reference. Then rebuild and try to run a test.

    Hope this helps.

    Kind regards,
    Nikolai
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. ravi
    ravi avatar
    15 posts
    Member since:
    Jul 2010

    Posted 22 Jul 2010 Link to this post

    Hi Nikolai,

    thanks for reply. Now I am able run the test after excluding app.config file.

    Once again thanks for the help.

    Thanks

    Ravi
Back to Top