Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29266 Discussions

Beginner Question: "Field Does not exist" error message when compiling

Rafi_M_1
Beginner
5,052 Views

Hi,

I am a beginner level programmer in Visual Fortran. I am currently learning Fortran on Visual Studio Professional 2012 with Intel Visual Fortran XE 2013. 

For the very first time, debugging works assuming the codes don't have any errors. However, I am getting an error showing "Field does not exist" when debugging the same code for a second time. The code works only for the first time again if I close the program and reopen it. I don't know what is the problem as I have no prior experience. 

Any help would be appreciated. Thank you.

0 Kudos
27 Replies
Steven_L_Intel1
Employee
4,037 Views

I'm not familiar with that message. Would you please attach a screenshot of the VS window and the message?

0 Kudos
Rafi_M_1
Beginner
4,037 Views

I added couple of screen shots. One showing the Quickwin Apllication running successfully and the other one showing the error dialogue box.

0 Kudos
Steven_L_Intel1
Employee
4,037 Views

Very strange. The first screenshot is not showing that you have started the debugger yet. Does this message appear only when you click the Start button to start debugging?

0 Kudos
Rafi_M_1
Beginner
4,037 Views

Strange indeed! No, this message appears regardless if I clicked the start button or the debugger. You are correct on the observation that the debugger hasn't started yet. Again, this happens only when I try to run the code second time after one successful debugging. 

0 Kudos
jimdempseyatthecove
Honored Contributor III
4,037 Views

Did your Aitivirus delete or sandbox the executable?

Jim Dempsey

0 Kudos
Rafi_M_1
Beginner
4,037 Views

No. I can see the executable in the debug file. It shows the successful debug result when clicked.

0 Kudos
jimdempseyatthecove
Honored Contributor III
4,037 Views

This is a VS error. You might try Googling for this error.

Did you happen to copy the Solution and/or Project file from one system to another (possibly containing a newer or different version of VS or Operating System)?

This message (my hypothesis) is originating from one of the VS IDE XML or VB scripts requesting a member data field by name to a field that does not exist... on the current platform (that which you are running on).

Try creating a new solution (on the system exhibiting the error), and copy/paste the text content of your program.

Jim Dempsey

0 Kudos
Steven_L_Intel1
Employee
4,037 Views

I tried Googling for the error and came up empty.

0 Kudos
jimdempseyatthecove
Honored Contributor III
4,037 Views

visual studio "field does not exist"

The above line, typed as-is, yields 26,500 hits for me.

Jim Dempsey

0 Kudos
Steven_L_Intel1
Employee
4,037 Views

Yes, but the only one that seems relevant links to this thread. Most of them are about Excel.

0 Kudos
Steven_L_Intel1
Employee
4,037 Views

Rafi, do you click a button or select a menu item to make this error appear? This was not clear to me. What are the steps you follow to get this error?

Does it happen if you create a new project of type Console Application > Main Program Code?

0 Kudos
Rafi_M_1
Beginner
4,037 Views

It appears when I want to run the program second time, as in if I click the debug (F5) button. So steps are following:

Open new project> write code>debug>runs successfully (assuming no syntax errors) first time> click debug again> "field does not exist"

Now, if I save this project> close the program >open again>debug> runs first time> click debug second time>"field does not exist"

It happens for the Console Application>main program code as well.

0 Kudos
Steven_L_Intel1
Employee
4,037 Views

Thanks. Please do this and let me know if it fixes the problem (or not):

  • Uninstall Intel Parallel Studio XE
  • Delete the folder C:\Program Files (x86)\Microsoft Visual Studio 11.0\Intel Fortran (it may already be gone)
  • Reinstall Intel Parallel Studio XE

If this doesn't solve the problem I will escalate this to the developers.

0 Kudos
Rafi_M_1
Beginner
4,037 Views

Thanks Steve. I did uninstall and reinstall as you asked me to. It did not solve the problem.

When I tried running a new project in visual basic, just to check whether it is a visual studio problem, it showed the same error. So Jim Dempsey was right. This error might not be associated with Visual Fortran XE at all. However, I haven't found the solution yet.

0 Kudos
Steven_L_Intel1
Employee
4,037 Views

Do you have any plugins added to Visual Studio? Try this. In VS, select Tools > Options > Environment > Add-In Security. Uncheck the box "Allow Add-In components to load" and click OK. Close and reopen VS. Does the problem persist?

0 Kudos
Rafi_M_1
Beginner
4,037 Views

Yes, it still shows the same error

0 Kudos
Steven_L_Intel1
Employee
4,037 Views

Truly weird. And I have done more web searching and can't find any reference to this message as worded. 

In Visual Studio, click Help > About. Then click Copy Info. Paste the result into a reply here.

0 Kudos
Rafi_M_1
Beginner
4,037 Views

Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.50938

Installed Version: Professional

LightSwitch for Visual Studio 2012   04938-088-0011822-02551
Microsoft LightSwitch for Visual Studio 2012

Office Developer Tools   04938-088-0011822-02551
Microsoft Office Developer Tools

Team Explorer for Visual Studio 2012   04938-088-0011822-02551
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012   04938-088-0011822-02551
Microsoft Visual Basic 2012

Visual C# 2012   04938-088-0011822-02551
Microsoft Visual C# 2012

Visual C++ 2012   04938-088-0011822-02551
Microsoft Visual C++ 2012

Visual F# 2012   04938-088-0011822-02551
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker   04938-088-0011822-02551
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Visual Studio 2012 SharePoint Developer Tools   04938-088-0011822-02551
Microsoft Visual Studio 2012 SharePoint Developer Tools

ASP.NET and Web Tools   2012.3.41009
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

Intel(R) Visual Fortran     Package ID: w_fcompxe_2013.1.119
Intel(R) Visual Fortran Composer XE 2013 Update 1 Integration for Microsoft Visual Studio* 2012, 13.0.3600.11, Copyright (C) 2002-2012 Intel Corporation
* Other names and brands may be claimed as the property of others.

NuGet Package Manager   2.8.50313.31
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   11.1.20627.00
Microsoft SQL Server Data Tools

0 Kudos
Steven_L_Intel1
Employee
4,037 Views

Thanks. One thing you have that I don't is the Visual Studio Spell Checker Extension. I wonder if that's the issue. Go to Tools > Options > Extensions and remove the spell checker (I think that's where it would be.)

0 Kudos
jimdempseyatthecove
Honored Contributor III
3,890 Views

It would be nice (MS VS feature) if the error message, presumably issued running a tool, or attempting to launch a tool, would indicate where (which component) the error occurred. e.g. "Visual Studio Spell Checker Extension reports: Field 'someName' does not exist". This would certainly aid in problem diagnosis (and resolution).

Jim Dempsey 

0 Kudos
Reply