Index Refers Beyond End Of List

M

Matthew

Hello:

When I open up my Infopath solution (Visual Studio 2003/InfoPath 2003)
and try to preview the form, an InfoPath error is displayed that says
the following:

"InfoPath cannot open the selected form because of an error in the
form's code.
Index refers beyond end of list."

Some suggestions that I have found through googling and I have tried,
but with no success, are:
-Comment out Form Code and preview the form
-Reinstall .NET support for Office 2003

I have also found this might be an XML parsing error. Where could I
begin to look to troubleshoot and what would I be looking for?

This works fine in the production environment. I have tried to pull
down the xsn template file but it says that I have Insufficient
Privileges. I'm not sure what that means or how I could get around
it. Is it possible to get around this and "unpack" the xsn file into
a Visual Studio Project?

Does anyone have any suggestions on where I could begine to
troubleshoot?

Thanks for any help or points in the right direction.
 
M

Matthew

Solution to this issue:

My current environment was that I had uninstalled Office 2003 and
installed Office 2007 and was receiving this error. I could not even
open up the same form in the production environment, I would receive
the same error.

Solution:
-Make sure, when you install Office 2007 and you need to keep Infopath
2003 for dev purposes, do a "Customize" install of Office 2007.
Select the box where you can keep previous versions of Office and
continue to install Office 2007. Your end result will be a side by
side installation of Office 2007 and your previous version of Office.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top