Difficult to do data binding


Author
Message
Chan
Chan
Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I am facing difficulty to do data binding. Sometime, VS just couldn't find the businessobjects declared in ApplicationBasePage. Sometime, VS prompted error "OutOfRangeException" when I try to specify WebBBS.BusinessObjectName or during opening the web project.



I ever tried to recompile, reopen the project in order to overcome this problem. Sometime it helps but sometime it doesn't.



May I know what could it cause? I need 30 mins in order to specify a single WEBBBS which is very frustrated.



Please advice



Thank you
Replies
Chan
Chan
Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

It happened to all of the machines we are using (eval).



What we did is just created BO which stored in Business library project, then in applicatiobbasepage we have the following





private _myBO = new MyBO();

public MyBO MyBO

{

get { return _myBO; }

set { _myBO = value; }

}



private _myXBO= new MyXBO();

public MyXBO MyXBO

{

get { return _myXBO; }

set { _myXBO= value; }

}





After that we compile webapplication and also Business Library project. Drop webBBS on aspx, try to specify webBBS.BusinessObjectName. Sometime BOs are listed sometime not. Sometime I would hit error outofRangeException.



After many tries of recompile, problem might be gone.

Tried to restart VS, open the solution then will hit error nullexception.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Can't reproduce.  You are welcome to post a sample that fails in your environment and I will see if it happens on my side and try to reproduce, but the steps that you are providing did not work.  Also, we have fixed the WBBS issue that you were fighting.  So be sure to download that update through the Posted Releases section of the forum.
Chan
Chan
Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I have attached screenshot of the error.

While open project, I hit error_NullReference.jpg. It was working fine when I try to change BusinessObjectName or datasource for aspxgridview. Then I recompile the solutions then I hit error_Indexoutofrange when try to select businessobjectname. I restarted VS, I hit error_nullreference again, but error_indexoutofrange gone.







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