InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


InsertAttachments.aspx Error on PM... Expand / Collapse
Author
Message
Posted 24/08/2006 12:56:07
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 30/08/2006 13:30:49
Posts: 2, Visits: 13
Getting a null reference exception on the initialize method of InsertAttachemnts.vb. It happens on the following method call...

InstantASP.InstantForum.Security.Handler.HasPermission(CurrentContext.CurrentRequest.Task, _

CurrentContext.CurrentPermissions, CurrentContext.CurrentForum.Moderators.SelectModerator( _

CurrentContext.CurrentUser.UserID), CurrentContext.CurrentForum)

It happens because in a pm there isn't a currentforum object. Therefore I modified the code to the following which resolved the issue:

If CurrentContext.CurrentForum Is Nothing Then

  InstantASP.InstantForum.Security.Handler.HasPermission(CurrentContext.CurrentRequest.Task, _

  CurrentContext.CurrentPermissions, Nothing , Nothing )

Else

  InstantASP.InstantForum.Security.Handler.HasPermission(CurrentContext.CurrentRequest.Task, _

  CurrentContext.CurrentPermissions, CurrentContext.CurrentForum.Moderators.SelectModerator( _

  CurrentContext.CurrentUser.UserID), CurrentContext.CurrentForum)

End If

Post #11611
Posted 07/09/2006 10:36:02
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 09/10/2008 17:43:00
Posts: 72, Visits: 96
This is a huge bug:

Myself and none of my forum users can use the Edit Attachments

Get the following error:

The application encountered an unexpected problem.
--------------------------------------------------------------------------------

Unexpected Problem Occurred!
This error has been logged. If this problem persists please contact the web master.
More Information...
Detailed error information follows:

Date and Time:         9/7/2006 9:19:29 AM
Machine Name:          AYANOVAFORUM
Process User:          NT AUTHORITY\NETWORK SERVICE
Remote User:           xxxxxxx
Remote Address:        192.168.1.1
Remote Host:           192.168.1.1
URL:                   http://forum.ayanova.com/InstantForum412/Skins/Classic/Dialogs/InsertAttachments.aspx?Hash=9d0b45d9-7d70-412f-b31a-2c0612d877c9&EditID=0&Task=20&MaximumLength=104857600

NET Runtime version:   1.1.4322.2300
Application Domain:    /LM/W3SVC/1/Root/InstantForum412-1-128020905942137500
Assembly Codebase:     c:/inetpub/wwwroot/InstantForum412/bin/InstantASP.InstantForum.UI.DLL
Assembly Full Name:    InstantASP.InstantForum.UI, Version=4.1.4.0, Culture=neutral, PublicKeyToken=null
Assembly Version:      4.1.4.0
Assembly Build Date:   8/30/2006 9:32:40 AM

Exception Type:        System.NullReferenceException
Exception Message:     Object reference not set to an instance of an object.
Exception Source:      InstantASP.InstantForum.UI
Exception Target Site: Initialize

---- Stack Trace ----
   InstantASP.InstantForum.UI.WebControls.Dialogs.InsertAttachments.Initialize()
       (unknown file): N 00115
   InstantASP.InstantForum.UI.WebControls.Dialogs.InsertAttachments.Page_Load(sender As Object, e As EventArgs)
       (unknown file): N 00012
   System.Web.UI.Control.OnLoad(e As EventArgs)
       (unknown file): N 00067
   System.Web.UI.Control.LoadRecursive()
       (unknown file): N 00035
   System.Web.UI.Page.ProcessRequestMain()
       (unknown file): N 00750


---- Collections ----

QueryString

    Hash                          9d0b45d9-7d70-412f-b31a-2c0612d877c9
    EditID                        0
    Task                          20
    MaximumLength                 104857600

Cookies

    IF_LastVisit                  9%2f7%2f2006+9%3a18%3a45+AM
    IF_ForumsRead90               90%7c9%2f6%2f2006+8%3a48%3a04+AM
    IF_ForumsRead65               65%7c9%2f7%2f2006+9%3a09%3a29+AM
    IF_ForumsRead100              100%7c9%2f6%2f2006+8%3a26%3a11+AM
    IF_ForumsRead96               96%7c9%2f7%2f2006+8%3a01%3a32+AM
    IF_ForumsRead86               86%7c9%2f6%2f2006+9%3a11%3a57+AM
    IF_TopicsRead1237             1237%7c9%2f5%2f2006+4%3a22%3a35+PM
    IF_ForumsRead91               91%7c9%2f6%2f2006+7%3a58%3a32+AM
    IF_TopicsRead1990             1990%7c9%2f6%2f2006+7%3a58%3a32+AM
    IF_TopicsRead1298             1298%7c9%2f6%2f2006+8%3a26%3a11+AM
    IF_TopicsRead917              917%7c9%2f6%2f2006+8%3a48%3a04+AM
    IF_ForumsRead101              101%7c9%2f6%2f2006+9%3a37%3a31+AM
    IF_ForumsRead31               31%7c9%2f6%2f2006+4%3a05%3a31+PM
    IF_TopicsRead1947             1947%7c9%2f6%2f2006+4%3a05%3a31+PM
    ASP.NET_SessionId             kuvuxj45yaxut055xbvdnj45
    IF_TopicsRead230              230%7c9%2f7%2f2006+9%3a07%3a39+AM
    IF_TopicsRead204              204%7c9%2f7%2f2006+9%3a07%3a51+AM
    IF_TopicsRead322              322%7c9%2f7%2f2006+9%3a09%3a29+AM
    InstantASP                    5EAA857D33035DB16D28BCE91A4827B67721865E319D6684AF2A4FE735AC0751A7670EAB646242E7641941ADE1A4984CD34044E99B508A6DD9F2F7ED7054DFA68EC45D59E89F396B52E9BDB7F6E56EE02BB4EBBD249FA3B42F167FA3739DE8F988E90AD81F1125826232AB9C44B272FDA6474B71C0D73964E03AA8256E623DACE9AE0AAA35F6A90CAE02396A7C421EFCD6B72D1FA9761532E9CE624314D92B7DE646DC307273BCAADA6FFE04F1BFE752
    IASP_IsActive                 True

ServerVariables

    APPL_MD_PATH                  /LM/W3SVC/1/Root/InstantForum412
    APPL_PHYSICAL_PATH            c:\inetpub\wwwroot\InstantForum412\
    AUTH_TYPE                     InstantASP
    AUTH_USER                     xxxx
    REMOTE_USER                   xxxx
    CONTENT_LENGTH                0
    GATEWAY_INTERFACE             CGI/1.1
    HTTPS                         off
    INSTANCE_ID                   1
    INSTANCE_META_PATH            /LM/W3SVC/1
    LOCAL_ADDR                    xx.xx.xx.xx    PATH_INFO                     /InstantForum412/Skins/Classic/Dialogs/InsertAttachments.aspx
    PATH_TRANSLATED               c:\inetpub\wwwroot\InstantForum412\Skins\Classic\Dialogs\InsertAttachments.aspx
    QUERY_STRING                  Hash=9d0b45d9-7d70-412f-b31a-2c0612d877c9&EditID=0&Task=20&MaximumLength=104857600
    REMOTE_ADDR                   192.168.1.1
    REMOTE_HOST                   192.168.1.1
    REMOTE_PORT                   4049
    REQUEST_METHOD                GET
    SCRIPT_NAME                   /InstantForum412/Skins/Classic/Dialogs/InsertAttachments.aspx
    SERVER_NAME                   forum.ayanova.com
    SERVER_PORT                   80
    SERVER_PORT_SECURE            0
    SERVER_PROTOCOL               HTTP/1.1
    SERVER_SOFTWARE               Microsoft-IIS/6.0
    URL                           /InstantForum412/Skins/Classic/Dialogs/InsertAttachments.aspx
    HTTP_CONNECTION               Keep-Alive
    HTTP_ACCEPT                   */*
    HTTP_ACCEPT_ENCODING          gzip, deflate
    HTTP_ACCEPT_LANGUAGE          en-us
    HTTP_COOKIE                   IF_LastVisit=9%2f7%2f2006+9%3a18%3a45+AM; IF_ForumsRead90=90%7c9%2f6%2f2006+8%3a48%3a04+AM; IF_ForumsRead65=65%7c9%2f7%2f2006+9%3a09%3a29+AM; IF_ForumsRead100=100%7c9%2f6%2f2006+8%3a26%3a11+AM; IF_ForumsRead96=96%7c9%2f7%2f2006+8%3a01%3a32+AM; IF_ForumsRead86=86%7c9%2f6%2f2006+9%3a11%3a57+AM; IF_TopicsRead1237=1237%7c9%2f5%2f2006+4%3a22%3a35+PM; IF_ForumsRead91=91%7c9%2f6%2f2006+7%3a58%3a32+AM; IF_TopicsRead1990=1990%7c9%2f6%2f2006+7%3a58%3a32+AM; IF_TopicsRead1298=1298%7c9%2f6%2f2006+8%3a26%3a11+AM; IF_TopicsRead917=917%7c9%2f6%2f2006+8%3a48%3a04+AM; IF_ForumsRead101=101%7c9%2f6%2f2006+9%3a37%3a31+AM; IF_ForumsRead31=31%7c9%2f6%2f2006+4%3a05%3a31+PM; IF_TopicsRead1947=1947%7c9%2f6%2f2006+4%3a05%3a31+PM; ASP.NET_SessionId=kuvuxj45yaxut055xbvdnj45; IF_TopicsRead230=230%7c9%2f7%2f2006+9%3a07%3a39+AM; IF_TopicsRead204=204%7c9%2f7%2f2006+9%3a07%3a51+AM; IF_TopicsRead322=322%7c9%2f7%2f2006+9%3a09%3a29+AM; InstantASP=5EAA857D33035DB16D28BCE91A4827B67721865E319D6684AF2A4FE735AC0751A7670EAB646242E7641941ADE1A4984CD34044E99B508A6DD9F2F7ED7054DFA68EC45D59E89F396B52E9BDB7F6E56EE02BB4EBBD249FA3B42F167FA3739DE8F988E90AD81F1125826232AB9C44B272FDA6474B71C0D73964E03AA8256E623DACE9AE0AAA35F6A90CAE02396A7C421EFCD6B72D1FA9761532E9CE624314D92B7DE646DC307273BCAADA6FFE04F1BFE752; IASP_IsActive=True
    HTTP_HOST                     forum.ayanova.com
    HTTP_USER_AGENT               Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)


 
 


Post #11702
Posted 07/09/2006 16:23:55
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 09/10/2008 17:43:00
Posts: 72, Visits: 96
Received a reply from Carlos Muniz regarding this issue.

They will be providing a new 4.1.4 installation file (to replace that posted September 5th 2006), as well as a specific file fix for this issue as it would be affecting everyone's Edit Attachment when attempting to add attachments via Private Messages.

Post #11706
Posted 27/09/2006 06:21:57
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Customers
Last Login: 06/12/2007 09:33:43
Posts: 45, Visits: 127
Any update on this - I now have found the same issue - I think ...

zed-cars.EU
Post #11787
Posted 19/01/2007 02:06:10


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 05/01/2009 03:52:27
Posts: 106, Visits: 341
was this resolved? I have the problem. help

----------------------------------------------
Scott Rupp

GreatTalents.com - Creative People. Together. (TM)
Entertainment Industry and Talent Community.


 

Post #12270
Posted 21/01/2007 13:06:13


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 05/01/2009 03:52:27
Posts: 106, Visits: 341
k, I downlaoded the latest 414 to make sure and resolved the error.

It now sends the attachement.  But when the pm is received, opened, clicked on the attachement...a new browser opens and redirect to the forum homepage. Tried attaching both gif and zip at two different PMs.    Help.

----------------------------------------------
Scott Rupp

GreatTalents.com - Creative People. Together. (TM)
Entertainment Industry and Talent Community.


 

Post #12277
« Prev Topic | Next Topic »

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 8:32am

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.203. 13 queries. Compression Disabled.
Home | Products | Purchase | Services | Support | Company | Contact Us
Privacy Statement | © 1999-2009 InstantASP Limited. All Rights Reserved.