SF and VS2008


Author
Message
Hugo R. Figueroa
Hugo R. Figueroa
StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)
Group: StrataFrame Users
Posts: 81, Visits: 3.1K
I have a web page with a WebBusinessBindingSource  and an Infragistics UltraWebGrid. (2007.3)

When I try to set the grid's Datamember property i get the following message:

Nullreference Exception

Object reference not set to an instance of an object

Source: Microfour Strataframe Extensibility

Stack Trace:

at Microfour.Strataframe.Extensibility.WebBusinnessBindingSource.GetView(String viewName)

After that, everytime I click on the grid I get the same message  and have to click on the OK button several times to get rid of it.

Hugo R. Figueroa
Hugo R. Figueroa
StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)
Group: StrataFrame Users
Posts: 81, Visits: 3.1K
(the grid's DatasourceID is set to the WebBusinessBindindSource)
Hugo R. Figueroa
Hugo R. Figueroa
StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)
Group: StrataFrame Users
Posts: 81, Visits: 3.1K
Forget it.

I installed in a clean machine and it works Ok.

Sorry.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
No problem...glad you got it working Smile
Hugo R. Figueroa
Hugo R. Figueroa
StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)
Group: StrataFrame Users
Posts: 81, Visits: 3.1K
After upgrading a solution from VS2005 to VS2008 I get the same error.

Where should I look to try to fix this?

Hugo R. Figueroa
Hugo R. Figueroa
StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)StrataFrame User (177 reputation)
Group: StrataFrame Users
Posts: 81, Visits: 3.1K
I get this error whenever I click on the  Infragistics grid
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
More than likely when you upgraded, a bunch of "junk" was added to your web.config file.  Restore just the web.config file to the previous version to see if your error goes away.  They added a lot of tags that can cause issues.  If you use source control then this shouldn't be too hard...just restore the web.config file and keep the previous version and it should make things more smooth.  But whether it will resolve this particular issue I am not sure, it is just the first place I would look.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search