Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterUnable to loginUnable to login
Previous
 
Next
New Post
2/12/2010 4:17 AM
 

It should be possible to get both working together.  I've downloaded a trial copy of uvg 3.11 and will see what I find.  In the past any problems have been solved by ensuring that the neatupload httpmodule entry was above the urlmaster httpmodule entry in the web.config file.  Perhaps something has changed in a newer version that means this fix no longer works.

 
New Post
2/12/2010 5:46 AM
 

Ok, I have successfully replicated your problem (either creating a 404 error - neatupload at top of modules list) or getting 'object reference not set' error if NeatUpload is below UrlRewrite in the list.

Here's the scenarios:

- if you put NeatUpload above the Url Rewrite entry in the list (as previous advice has been) then you'll get a 404 on every postback from your site (including login links, video uploads, etc)

- if you move NeatUpload below the Url Rewrite entry in the modules list, then you get a 'object reference not set to instance of object' exception, like this (it may or may not show up in the browser, depending on your web.config error settings)

Event message: An unhandled exception has occurred. 
Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object. 
 
Thread information:
    Thread ID: 20
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at Brettle.Web.NeatUpload.Internal.Module.FilteringWorkerRequest.ParseMultipart()
   at Brettle.Web.NeatUpload.Internal.Module.FilteringWorkerRequest.GetKnownRequestHeader(Int32 index)
   at System.Web.HttpRequest.FillInHeadersCollection()
   at System.Web.HttpRequest.get_Headers()
   at System.Web.Configuration.BrowserCapabilitiesFactoryBase.GetHttpBrowserCapabilities(HttpRequest request)
   at System.Web.Configuration.HttpCapabilitiesEvaluator.EvaluateFinal(HttpRequest request, Boolean onlyEvaluateUserAgent)
   at System.Web.Configuration.HttpCapabilitiesEvaluator.Evaluate(HttpRequest request)
   at System.Web.Configuration.HttpCapabilitiesBase.GetBrowserCapabilities(HttpRequest request)
   at System.Web.HttpRequest.get_Browser()
   at System.Web.HttpCookie.SupportsHttpOnly(HttpContext context)
   at System.Web.HttpCookie.GetSetCookieHeader(HttpContext context)
   at System.Web.HttpResponse.GenerateResponseHeadersForCookies()
   at System.Web.HttpResponse.UpdateNativeResponse(Boolean sendHeaders)
   at System.Web.HttpRuntime.FinishRequestNotification(IIS7WorkerRequest wr, HttpContext context, RequestNotificationStatus& status)
 
- If you comment out the 'NeatUpload' entry (only in the <modules> list, not elsewhere in the config file) then you can upload videos successfully.  I'm not sure where the NeatUpload component works in this case : perhaps I need to upload a larger video to get it to show.

- if you add 'showDebugCode="true" attribute to the <add name="iFinity.UrlMaster" type="iFinity.DNN.Modules.UrlMaster.DNNFriendlyUrlProvider, (etc).. /> you can leave in the NeatUpload component (as long as it appears under the UrlRewrite entry in the web.config list).  Note I gave incorrect advice earlier in this thread - advising 'showDebug' instead of 'showDebugCode' - my own documentation was incorrect on this, which I have now fixed.

I will contact the author of the NeatUpload component and see what has changed and if it's possible to get a fix in place, or any other advice.

My advice currently is to add the 'showDebugCode="true"' into the Url Master config entry.  This should result in everything working as expected.

 
New Post
2/12/2010 12:28 PM
 

no joy still not working.

I've added the attribute to the ifinity.urlamaster line, I've moved the Neatupload below the UrlMaster entries in the httpmodules and module and evey other combination but still no joy and I cant login

 
New Post
2/13/2010 2:41 AM
 

What is the error on login?  Do you get a 404 error, or is it something else? Is the error different for each position of the entries in the modules list?  In my testing, I get a 404 error on posbacks (such as clicking on the login link) if the NeatUpload component precedes the UrlRewrite entry.  If the NeatUpload component is after the UrlRewrite entry, then I would see a 'object not set' exception logged.  Is that what you are seeing?

 
New Post
2/13/2010 10:58 AM
 

Hi,

I'm the NeatUpload developer - not associated with iFinity. 

Are you running IIS7 or IIS7.5?

FWIW, you should be able to get a working site (but without multi-file uploads and progress bars) by disabling NeatUpload.  To do that, modify any <neatUpload> element(s) to have useHttpModule="false" or remove the UploadHttpModule from both the <modules> section and the <httpModules> section.  Note that without progress bars, it might seem like uploads aren't happening when they are just taking a long time. 

Note: I haven't tested with UVG specifically, but NeatUpload is designed so that it can be disabled in that way.

--Dean

 

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterUnable to loginUnable to login


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

Please note : If you are posting a new thread for the Url Master module, please include the following information where applicable:

- Url Master version

- DotNetNuke version

- Example Url where possible

- If there is an error, please post the full error text and/or stack trace (from the DotNetNuke event log).