Quick Nav:  Online Store   |   Login | Register

Compression Error

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Frozen DNN
<20 Posts
Posts:16


04/30/2008 9:05 PM  

First of all, this error is not caused by PB. However, I hope you still help me out.  My website (4.8.2) was running fine until I went to the host performance settings. I expanded the tree for compression and white filter. The compression was set to zip compression when I accidently clicked on update button, but the update button was for white filter. I tried to "unclick" it by clicking the update website settings button. Now I get this error. Is there a way to reset the compression and white filter things? Please help.

Server Error in '/' Application.

Object reference not set to an instance of an object.

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:

An unhandled exception was generated during the execution of the 
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:

 
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.HttpModules.Compression.Settings.GetSettings() +550
DotNetNuke.HttpModules.Compression.CompressionModule.CompressContent(Object sender, EventArgs e) +428
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

[Exception: Unhandled Exception while processing NeatUpload child request]
Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e) +894
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

John Mitchell
Posts:2755


04/30/2008 9:30 PM  
In the root of your website there should be a Compression.config file.
You can rename that file and your site should come back without the compression settings.
Frozen DNN
<20 Posts
Posts:16


05/01/2008 2:09 AM  
Thanks. Now I have a different issue. I cannot login, and only 2 pages of my website are visible to all users. I have tried opensesame and ?ctl=login and all I get is this message:
A critical error has occurred.
Object reference not set to an instance of an object.

Any help? Please.
Frozen DNN
<20 Posts
Posts:16


05/01/2008 2:33 AM  
This is what firefox says:

The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to accept
cookies

I have disabled the cookies but nothing helps
John Mitchell
Posts:2755


05/01/2008 7:01 AM  

Maybe that file is needed.  Try putting the attached file back in it's place (renamed to Compression.config).


Attachment: 15111156271.txt

Frozen DNN
<20 Posts
Posts:16


05/01/2008 10:32 AM  
I get this error now:

Server Error in '/' Application.
Data at the root level is invalid. Line 2, position 1.
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.Xml.XmlException: Data at the root level is invalid. Line 2, position 1.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[XmlException: Data at the root level is invalid. Line 2, position 1.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +90
System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +127
System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() +1953906
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +503
System.Xml.XmlTextReaderImpl.Read() +41
System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space) +841
System.Xml.XPath.XPathDocument..ctor(Stream stream) +126
DotNetNuke.HttpModules.Compression.Settings.GetSettings() +510
DotNetNuke.HttpModules.Compression.CompressionModule.CompressContent(Object sender, EventArgs e) +428
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

[Exception: Unhandled Exception while processing NeatUpload child request]
Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e) +894
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
John Mitchell
Posts:2755


05/01/2008 10:46 AM  
That is really strange. There isn't any error in the config file that is attached. Maybe it is getting corrupted when you upload it.

Try copy and paste of the text after clicking on the attachment above.

I also see that NeatUpload is listed as part of that error. That module has given others problems. I recommend commenting NeatUpload out of your web.config.
Frozen DNN
<20 Posts
Posts:16


05/01/2008 10:59 AM  

I still get the error. I guess I will have to restore my one month old backup. One mistake and I wasted my one months of work. Thanks for your help. I really appreciate it. I will come back when I am downloading the new PB. I am sure I will have some questions as I won;t be able to install it right on my first try.

Again, thanks for your time.

John Mitchell
Posts:2755


05/01/2008 11:02 AM  
I think it is just that one file. I just remembered that there is a default one in the /config folder under your root folder, so you may be able to just copy that one over.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software