This is a migrated thread and some comments may be shown as answers.

Unable to execute QuickStarts_VSTS_VB project

7 Answers 126 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ravi
Top achievements
Rank 1
ravi asked on 21 Jul 2010, 08:37 AM
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

7 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 21 Jul 2010, 08:58 AM
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
0
ravi
Top achievements
Rank 1
answered on 21 Jul 2010, 09:30 AM
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")>

 

0
ravi
Top achievements
Rank 1
answered on 21 Jul 2010, 09:36 AM
Hi,

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

thanks

Ravi
0
Konstantin Petkov
Telerik team
answered on 21 Jul 2010, 09:37 AM
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
0
ravi
Top achievements
Rank 1
answered on 21 Jul 2010, 09:44 AM
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
0
Accepted
Nikolai
Telerik team
answered on 21 Jul 2010, 10:55 AM
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
0
ravi
Top achievements
Rank 1
answered on 22 Jul 2010, 08:29 AM
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
Tags
General Discussions
Asked by
ravi
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
ravi
Top achievements
Rank 1
Nikolai
Telerik team
Share this question
or