Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / September 2005

Tip: Looking for answers? Try searching our database.

User Interface App Block and File Upload

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bryan - 08 Sep 2005 20:03 GMT
I'm using UIPAB (2.0) and I can navigate from view to view within my
UIP, except for the aspx page that uploads a file. Whenever I try to
navigate to that page, I get an Error 500.

Any ideas?

Thanks,
Bryan
aparna - 20 Sep 2005 12:02 GMT
hi,
this is not a reply for ur question.
actually i want to ask u another question.
i am working on asp .net web application. whenever i try to use uipab on it
i get an error
like

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.

Source Error:

Line 113:        private SessionMoniker GetSessionMoniker()
Line 114:        {           
Line 115:            SessionMoniker sessionMoniker = SessionMoniker.GetFromSession(
new Guid( Session[CurrentTaskKey].ToString()));
Line 116:            return sessionMoniker;
Line 117:        }


Source File: C:\Program Files\Microsoft Application Blocks for .NET\User
Interface Process 2.0\Code\Microsoft.ApplicationBlocks.
UIProcess\Views\WebFormView.cs    Line: 115

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an
object.]
  Microsoft.ApplicationBlocks.UIProcess.WebFormView.GetSessionMoniker() in
C:\Program Files\Microsoft Application Blocks for .NET\User Interface
Process 2.0\Code\Microsoft.ApplicationBlocks.UIProcess\Views\WebFormView.
cs:115
  Microsoft.ApplicationBlocks.UIProcess.WebFormView.WebFormView_Load(Object
sender, EventArgs e) in C:\Program Files\Microsoft Application Blocks for .
NET\User Interface Process 2.0\Code\Microsoft.ApplicationBlocks.
UIProcess\Views\WebFormView.cs:108
  System.EventHandler.Invoke(Object sender, EventArgs e) +0
  System.Web.UI.Control.OnLoad(EventArgs e)
  System.Web.UI.Control.LoadRecursive()
  System.Web.UI.Page.ProcessRequestMain()


i think u may have an answer to this.
thank u so much
aparna
bryan@newsgroups.nospam - 20 Sep 2005 14:32 GMT
Hi -
   I'm no UIAPB expert, but I think you need to start a task before
you try to navigate. I was getting a similar error and it was because
I was trying to navigate before I called one of the static Startxxx
methods on the UIPManager class. I am using graph-based navigation in
my app, so I called UIPManager.StartNavigationTask("MainNavGraph") and
things started to work.

Cheers,
Bryan

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.